codecommit

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package codecommit provides the client and types for making API requests to AWS CodeCommit.

This is the CodeCommit API Reference. This reference provides descriptions of the operations and data types for CodeCommit API along with usage examples.

You can use the CodeCommit API to work with the following objects:

Repositories, by calling the following:

  • BatchGetRepositories, which returns information about one or more repositories associated with your Amazon Web Services account.

  • CreateRepository, which creates an CodeCommit repository.

  • DeleteRepository, which deletes an CodeCommit repository.

  • GetRepository, which returns information about a specified repository.

  • ListRepositories, which lists all CodeCommit repositories associated with your Amazon Web Services account.

  • UpdateRepositoryDescription, which sets or updates the description of the repository.

  • UpdateRepositoryName, which changes the name of the repository. If you change the name of a repository, no other users of that repository can access it until you send them the new HTTPS or SSH URL to use.

Branches, by calling the following:

  • CreateBranch, which creates a branch in a specified repository.

  • DeleteBranch, which deletes the specified branch in a repository unless it is the default branch.

  • GetBranch, which returns information about a specified branch.

  • ListBranches, which lists all branches for a specified repository.

  • UpdateDefaultBranch, which changes the default branch for a repository.

Files, by calling the following:

  • DeleteFile, which deletes the content of a specified file from a specified branch.

  • GetBlob, which returns the base-64 encoded content of an individual Git blob object in a repository.

  • GetFile, which returns the base-64 encoded content of a specified file.

  • GetFolder, which returns the contents of a specified folder or directory.

  • ListFileCommitHistory, which retrieves a list of commits and changes to a specified file.

  • PutFile, which adds or modifies a single file in a specified repository and branch.

Commits, by calling the following:

  • BatchGetCommits, which returns information about one or more commits in a repository.

  • CreateCommit, which creates a commit for changes to a repository.

  • GetCommit, which returns information about a commit, including commit messages and author and committer information.

  • GetDifferences, which returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference).

Merges, by calling the following:

  • BatchDescribeMergeConflicts, which returns information about conflicts in a merge between commits in a repository.

  • CreateUnreferencedMergeCommit, which creates an unreferenced commit between two branches or commits for the purpose of comparing them and identifying any potential conflicts.

  • DescribeMergeConflicts, which returns information about merge conflicts between the base, source, and destination versions of a file in a potential merge.

  • GetMergeCommit, which returns information about the merge between a source and destination commit.

  • GetMergeConflicts, which returns information about merge conflicts between the source and destination branch in a pull request.

  • GetMergeOptions, which returns information about the available merge options between two branches or commit specifiers.

  • MergeBranchesByFastForward, which merges two branches using the fast-forward merge option.

  • MergeBranchesBySquash, which merges two branches using the squash merge option.

  • MergeBranchesByThreeWay, which merges two branches using the three-way merge option.

Pull requests, by calling the following:

  • CreatePullRequest, which creates a pull request in a specified repository.

  • CreatePullRequestApprovalRule, which creates an approval rule for a specified pull request.

  • DeletePullRequestApprovalRule, which deletes an approval rule for a specified pull request.

  • DescribePullRequestEvents, which returns information about one or more pull request events.

  • EvaluatePullRequestApprovalRules, which evaluates whether a pull request has met all the conditions specified in its associated approval rules.

  • GetCommentsForPullRequest, which returns information about comments on a specified pull request.

  • GetPullRequest, which returns information about a specified pull request.

  • GetPullRequestApprovalStates, which returns information about the approval states for a specified pull request.

  • GetPullRequestOverrideState, which returns information about whether approval rules have been set aside (overriden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.

  • ListPullRequests, which lists all pull requests for a repository.

  • MergePullRequestByFastForward, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the fast-forward merge option.

  • MergePullRequestBySquash, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the squash merge option.

  • MergePullRequestByThreeWay, which merges the source destination branch of a pull request into the specified destination branch for that pull request using the three-way merge option.

  • OverridePullRequestApprovalRules, which sets aside all approval rule requirements for a pull request.

  • PostCommentForPullRequest, which posts a comment to a pull request at the specified line, file, or request.

  • UpdatePullRequestApprovalRuleContent, which updates the structure of an approval rule for a pull request.

  • UpdatePullRequestApprovalState, which updates the state of an approval on a pull request.

  • UpdatePullRequestDescription, which updates the description of a pull request.

  • UpdatePullRequestStatus, which updates the status of a pull request.

  • UpdatePullRequestTitle, which updates the title of a pull request.

Approval rule templates, by calling the following:

  • AssociateApprovalRuleTemplateWithRepository, which associates a template with a specified repository. After the template is associated with a repository, CodeCommit creates approval rules that match the template conditions on every pull request created in the specified repository.

  • BatchAssociateApprovalRuleTemplateWithRepositories, which associates a template with one or more specified repositories. After the template is associated with a repository, CodeCommit creates approval rules that match the template conditions on every pull request created in the specified repositories.

  • BatchDisassociateApprovalRuleTemplateFromRepositories, which removes the association between a template and specified repositories so that approval rules based on the template are not automatically created when pull requests are created in those repositories.

  • CreateApprovalRuleTemplate, which creates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account.

  • DeleteApprovalRuleTemplate, which deletes the specified template. It does not remove approval rules on pull requests already created with the template.

  • DisassociateApprovalRuleTemplateFromRepository, which removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository.

  • GetApprovalRuleTemplate, which returns information about an approval rule template.

  • ListApprovalRuleTemplates, which lists all approval rule templates in the Amazon Web Services Region in your Amazon Web Services account.

  • ListAssociatedApprovalRuleTemplatesForRepository, which lists all approval rule templates that are associated with a specified repository.

  • ListRepositoriesForApprovalRuleTemplate, which lists all repositories associated with the specified approval rule template.

  • UpdateApprovalRuleTemplateDescription, which updates the description of an approval rule template.

  • UpdateApprovalRuleTemplateName, which updates the name of an approval rule template.

  • UpdateApprovalRuleTemplateContent, which updates the content of an approval rule template.

Comments in a repository, by calling the following:

  • DeleteCommentContent, which deletes the content of a comment on a commit in a repository.

  • GetComment, which returns information about a comment on a commit.

  • GetCommentReactions, which returns information about emoji reactions to comments.

  • GetCommentsForComparedCommit, which returns information about comments on the comparison between two commit specifiers in a repository.

  • PostCommentForComparedCommit, which creates a comment on the comparison between two commit specifiers in a repository.

  • PostCommentReply, which creates a reply to a comment.

  • PutCommentReaction, which creates or updates an emoji reaction to a comment.

  • UpdateComment, which updates the content of a comment on a commit in a repository.

Tags used to tag resources in CodeCommit (not Git tags), by calling the following:

  • ListTagsForResource, which gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit.

  • TagResource, which adds or updates tags for a resource in CodeCommit.

  • UntagResource, which removes tags for a resource in CodeCommit.

Triggers, by calling the following:

  • GetRepositoryTriggers, which returns information about triggers configured for a repository.

  • PutRepositoryTriggers, which replaces all triggers for a repository and can be used to create or delete triggers.

  • TestRepositoryTriggers, which tests the functionality of a repository trigger by sending data to the trigger target.

For information about how to use CodeCommit, see the CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).

See https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13 for more information on this service.

See codecommit package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/

Using the Client

To contact AWS CodeCommit with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS CodeCommit client CodeCommit for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/#New

Index

Constants

View Source
const (
	// ApprovalStateApprove is a ApprovalState enum value
	ApprovalStateApprove = "APPROVE"

	// ApprovalStateRevoke is a ApprovalState enum value
	ApprovalStateRevoke = "REVOKE"
)
View Source
const (
	// ChangeTypeEnumA is a ChangeTypeEnum enum value
	ChangeTypeEnumA = "A"

	// ChangeTypeEnumM is a ChangeTypeEnum enum value
	ChangeTypeEnumM = "M"

	// ChangeTypeEnumD is a ChangeTypeEnum enum value
	ChangeTypeEnumD = "D"
)
View Source
const (
	// ConflictDetailLevelTypeEnumFileLevel is a ConflictDetailLevelTypeEnum enum value
	ConflictDetailLevelTypeEnumFileLevel = "FILE_LEVEL"

	// ConflictDetailLevelTypeEnumLineLevel is a ConflictDetailLevelTypeEnum enum value
	ConflictDetailLevelTypeEnumLineLevel = "LINE_LEVEL"
)
View Source
const (
	// ConflictResolutionStrategyTypeEnumNone is a ConflictResolutionStrategyTypeEnum enum value
	ConflictResolutionStrategyTypeEnumNone = "NONE"

	// ConflictResolutionStrategyTypeEnumAcceptSource is a ConflictResolutionStrategyTypeEnum enum value
	ConflictResolutionStrategyTypeEnumAcceptSource = "ACCEPT_SOURCE"

	// ConflictResolutionStrategyTypeEnumAcceptDestination is a ConflictResolutionStrategyTypeEnum enum value
	ConflictResolutionStrategyTypeEnumAcceptDestination = "ACCEPT_DESTINATION"

	// ConflictResolutionStrategyTypeEnumAutomerge is a ConflictResolutionStrategyTypeEnum enum value
	ConflictResolutionStrategyTypeEnumAutomerge = "AUTOMERGE"
)
View Source
const (
	// FileModeTypeEnumExecutable is a FileModeTypeEnum enum value
	FileModeTypeEnumExecutable = "EXECUTABLE"

	// FileModeTypeEnumNormal is a FileModeTypeEnum enum value
	FileModeTypeEnumNormal = "NORMAL"

	// FileModeTypeEnumSymlink is a FileModeTypeEnum enum value
	FileModeTypeEnumSymlink = "SYMLINK"
)
View Source
const (
	// MergeOptionTypeEnumFastForwardMerge is a MergeOptionTypeEnum enum value
	MergeOptionTypeEnumFastForwardMerge = "FAST_FORWARD_MERGE"

	// MergeOptionTypeEnumSquashMerge is a MergeOptionTypeEnum enum value
	MergeOptionTypeEnumSquashMerge = "SQUASH_MERGE"

	// MergeOptionTypeEnumThreeWayMerge is a MergeOptionTypeEnum enum value
	MergeOptionTypeEnumThreeWayMerge = "THREE_WAY_MERGE"
)
View Source
const (
	// ObjectTypeEnumFile is a ObjectTypeEnum enum value
	ObjectTypeEnumFile = "FILE"

	// ObjectTypeEnumDirectory is a ObjectTypeEnum enum value
	ObjectTypeEnumDirectory = "DIRECTORY"

	// ObjectTypeEnumGitLink is a ObjectTypeEnum enum value
	ObjectTypeEnumGitLink = "GIT_LINK"

	// ObjectTypeEnumSymbolicLink is a ObjectTypeEnum enum value
	ObjectTypeEnumSymbolicLink = "SYMBOLIC_LINK"
)
View Source
const (
	// OrderEnumAscending is a OrderEnum enum value
	OrderEnumAscending = "ascending"

	// OrderEnumDescending is a OrderEnum enum value
	OrderEnumDescending = "descending"
)
View Source
const (
	// OverrideStatusOverride is a OverrideStatus enum value
	OverrideStatusOverride = "OVERRIDE"

	// OverrideStatusRevoke is a OverrideStatus enum value
	OverrideStatusRevoke = "REVOKE"
)
View Source
const (
	// PullRequestEventTypePullRequestCreated is a PullRequestEventType enum value
	PullRequestEventTypePullRequestCreated = "PULL_REQUEST_CREATED"

	// PullRequestEventTypePullRequestStatusChanged is a PullRequestEventType enum value
	PullRequestEventTypePullRequestStatusChanged = "PULL_REQUEST_STATUS_CHANGED"

	// PullRequestEventTypePullRequestSourceReferenceUpdated is a PullRequestEventType enum value
	PullRequestEventTypePullRequestSourceReferenceUpdated = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED"

	// PullRequestEventTypePullRequestMergeStateChanged is a PullRequestEventType enum value
	PullRequestEventTypePullRequestMergeStateChanged = "PULL_REQUEST_MERGE_STATE_CHANGED"

	// PullRequestEventTypePullRequestApprovalRuleCreated is a PullRequestEventType enum value
	PullRequestEventTypePullRequestApprovalRuleCreated = "PULL_REQUEST_APPROVAL_RULE_CREATED"

	// PullRequestEventTypePullRequestApprovalRuleUpdated is a PullRequestEventType enum value
	PullRequestEventTypePullRequestApprovalRuleUpdated = "PULL_REQUEST_APPROVAL_RULE_UPDATED"

	// PullRequestEventTypePullRequestApprovalRuleDeleted is a PullRequestEventType enum value
	PullRequestEventTypePullRequestApprovalRuleDeleted = "PULL_REQUEST_APPROVAL_RULE_DELETED"

	// PullRequestEventTypePullRequestApprovalRuleOverridden is a PullRequestEventType enum value
	PullRequestEventTypePullRequestApprovalRuleOverridden = "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN"

	// PullRequestEventTypePullRequestApprovalStateChanged is a PullRequestEventType enum value
	PullRequestEventTypePullRequestApprovalStateChanged = "PULL_REQUEST_APPROVAL_STATE_CHANGED"
)
View Source
const (
	// PullRequestStatusEnumOpen is a PullRequestStatusEnum enum value
	PullRequestStatusEnumOpen = "OPEN"

	// PullRequestStatusEnumClosed is a PullRequestStatusEnum enum value
	PullRequestStatusEnumClosed = "CLOSED"
)
View Source
const (
	// RelativeFileVersionEnumBefore is a RelativeFileVersionEnum enum value
	RelativeFileVersionEnumBefore = "BEFORE"

	// RelativeFileVersionEnumAfter is a RelativeFileVersionEnum enum value
	RelativeFileVersionEnumAfter = "AFTER"
)
View Source
const (
	// ReplacementTypeEnumKeepBase is a ReplacementTypeEnum enum value
	ReplacementTypeEnumKeepBase = "KEEP_BASE"

	// ReplacementTypeEnumKeepSource is a ReplacementTypeEnum enum value
	ReplacementTypeEnumKeepSource = "KEEP_SOURCE"

	// ReplacementTypeEnumKeepDestination is a ReplacementTypeEnum enum value
	ReplacementTypeEnumKeepDestination = "KEEP_DESTINATION"

	// ReplacementTypeEnumUseNewContent is a ReplacementTypeEnum enum value
	ReplacementTypeEnumUseNewContent = "USE_NEW_CONTENT"
)
View Source
const (
	// RepositoryTriggerEventEnumAll is a RepositoryTriggerEventEnum enum value
	RepositoryTriggerEventEnumAll = "all"

	// RepositoryTriggerEventEnumUpdateReference is a RepositoryTriggerEventEnum enum value
	RepositoryTriggerEventEnumUpdateReference = "updateReference"

	// RepositoryTriggerEventEnumCreateReference is a RepositoryTriggerEventEnum enum value
	RepositoryTriggerEventEnumCreateReference = "createReference"

	// RepositoryTriggerEventEnumDeleteReference is a RepositoryTriggerEventEnum enum value
	RepositoryTriggerEventEnumDeleteReference = "deleteReference"
)
View Source
const (
	// SortByEnumRepositoryName is a SortByEnum enum value
	SortByEnumRepositoryName = "repositoryName"

	// SortByEnumLastModifiedDate is a SortByEnum enum value
	SortByEnumLastModifiedDate = "lastModifiedDate"
)
View Source
const (

	// ErrCodeActorDoesNotExistException for service response error code
	// "ActorDoesNotExistException".
	//
	// The specified Amazon Resource Name (ARN) does not exist in the Amazon Web
	// Services account.
	ErrCodeActorDoesNotExistException = "ActorDoesNotExistException"

	// ErrCodeApprovalRuleContentRequiredException for service response error code
	// "ApprovalRuleContentRequiredException".
	//
	// The content for the approval rule is empty. You must provide some content
	// for an approval rule. The content cannot be null.
	ErrCodeApprovalRuleContentRequiredException = "ApprovalRuleContentRequiredException"

	// ErrCodeApprovalRuleDoesNotExistException for service response error code
	// "ApprovalRuleDoesNotExistException".
	//
	// The specified approval rule does not exist.
	ErrCodeApprovalRuleDoesNotExistException = "ApprovalRuleDoesNotExistException"

	// ErrCodeApprovalRuleNameAlreadyExistsException for service response error code
	// "ApprovalRuleNameAlreadyExistsException".
	//
	// An approval rule with that name already exists. Approval rule names must
	// be unique within the scope of a pull request.
	ErrCodeApprovalRuleNameAlreadyExistsException = "ApprovalRuleNameAlreadyExistsException"

	// ErrCodeApprovalRuleNameRequiredException for service response error code
	// "ApprovalRuleNameRequiredException".
	//
	// An approval rule name is required, but was not specified.
	ErrCodeApprovalRuleNameRequiredException = "ApprovalRuleNameRequiredException"

	// ErrCodeApprovalRuleTemplateContentRequiredException for service response error code
	// "ApprovalRuleTemplateContentRequiredException".
	//
	// The content for the approval rule template is empty. You must provide some
	// content for an approval rule template. The content cannot be null.
	ErrCodeApprovalRuleTemplateContentRequiredException = "ApprovalRuleTemplateContentRequiredException"

	// ErrCodeApprovalRuleTemplateDoesNotExistException for service response error code
	// "ApprovalRuleTemplateDoesNotExistException".
	//
	// The specified approval rule template does not exist. Verify that the name
	// is correct and that you are signed in to the Amazon Web Services Region where
	// the template was created, and then try again.
	ErrCodeApprovalRuleTemplateDoesNotExistException = "ApprovalRuleTemplateDoesNotExistException"

	// ErrCodeApprovalRuleTemplateInUseException for service response error code
	// "ApprovalRuleTemplateInUseException".
	//
	// 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.
	ErrCodeApprovalRuleTemplateInUseException = "ApprovalRuleTemplateInUseException"

	// ErrCodeApprovalRuleTemplateNameAlreadyExistsException for service response error code
	// "ApprovalRuleTemplateNameAlreadyExistsException".
	//
	// You cannot create an approval rule template with that name because a template
	// with that name already exists in this Amazon Web Services Region for your
	// Amazon Web Services account. Approval rule template names must be unique.
	ErrCodeApprovalRuleTemplateNameAlreadyExistsException = "ApprovalRuleTemplateNameAlreadyExistsException"

	// ErrCodeApprovalRuleTemplateNameRequiredException for service response error code
	// "ApprovalRuleTemplateNameRequiredException".
	//
	// An approval rule template name is required, but was not specified.
	ErrCodeApprovalRuleTemplateNameRequiredException = "ApprovalRuleTemplateNameRequiredException"

	// ErrCodeApprovalStateRequiredException for service response error code
	// "ApprovalStateRequiredException".
	//
	// An approval state is required, but was not specified.
	ErrCodeApprovalStateRequiredException = "ApprovalStateRequiredException"

	// ErrCodeAuthorDoesNotExistException for service response error code
	// "AuthorDoesNotExistException".
	//
	// The specified Amazon Resource Name (ARN) does not exist in the Amazon Web
	// Services account.
	ErrCodeAuthorDoesNotExistException = "AuthorDoesNotExistException"

	// ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException for service response error code
	// "BeforeCommitIdAndAfterCommitIdAreSameException".
	//
	// 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.
	ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException = "BeforeCommitIdAndAfterCommitIdAreSameException"

	// ErrCodeBlobIdDoesNotExistException for service response error code
	// "BlobIdDoesNotExistException".
	//
	// The specified blob does not exist.
	ErrCodeBlobIdDoesNotExistException = "BlobIdDoesNotExistException"

	// ErrCodeBlobIdRequiredException for service response error code
	// "BlobIdRequiredException".
	//
	// A blob ID is required, but was not specified.
	ErrCodeBlobIdRequiredException = "BlobIdRequiredException"

	// ErrCodeBranchDoesNotExistException for service response error code
	// "BranchDoesNotExistException".
	//
	// The specified branch does not exist.
	ErrCodeBranchDoesNotExistException = "BranchDoesNotExistException"

	// ErrCodeBranchNameExistsException for service response error code
	// "BranchNameExistsException".
	//
	// 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.
	ErrCodeBranchNameExistsException = "BranchNameExistsException"

	// ErrCodeBranchNameIsTagNameException for service response error code
	// "BranchNameIsTagNameException".
	//
	// 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.
	ErrCodeBranchNameIsTagNameException = "BranchNameIsTagNameException"

	// ErrCodeBranchNameRequiredException for service response error code
	// "BranchNameRequiredException".
	//
	// A branch name is required, but was not specified.
	ErrCodeBranchNameRequiredException = "BranchNameRequiredException"

	// ErrCodeCannotDeleteApprovalRuleFromTemplateException for service response error code
	// "CannotDeleteApprovalRuleFromTemplateException".
	//
	// 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.
	ErrCodeCannotDeleteApprovalRuleFromTemplateException = "CannotDeleteApprovalRuleFromTemplateException"

	// ErrCodeCannotModifyApprovalRuleFromTemplateException for service response error code
	// "CannotModifyApprovalRuleFromTemplateException".
	//
	// 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.
	ErrCodeCannotModifyApprovalRuleFromTemplateException = "CannotModifyApprovalRuleFromTemplateException"

	// ErrCodeClientRequestTokenRequiredException for service response error code
	// "ClientRequestTokenRequiredException".
	//
	// 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.
	ErrCodeClientRequestTokenRequiredException = "ClientRequestTokenRequiredException"

	// ErrCodeCommentContentRequiredException for service response error code
	// "CommentContentRequiredException".
	//
	// The comment is empty. You must provide some content for a comment. The content
	// cannot be null.
	ErrCodeCommentContentRequiredException = "CommentContentRequiredException"

	// ErrCodeCommentContentSizeLimitExceededException for service response error code
	// "CommentContentSizeLimitExceededException".
	//
	// The comment is too large. Comments are limited to 10,240 characters.
	ErrCodeCommentContentSizeLimitExceededException = "CommentContentSizeLimitExceededException"

	// ErrCodeCommentDeletedException for service response error code
	// "CommentDeletedException".
	//
	// This comment has already been deleted. You cannot edit or delete a deleted
	// comment.
	ErrCodeCommentDeletedException = "CommentDeletedException"

	// ErrCodeCommentDoesNotExistException for service response error code
	// "CommentDoesNotExistException".
	//
	// No comment exists with the provided ID. Verify that you have used the correct
	// ID, and then try again.
	ErrCodeCommentDoesNotExistException = "CommentDoesNotExistException"

	// ErrCodeCommentIdRequiredException for service response error code
	// "CommentIdRequiredException".
	//
	// The comment ID is missing or null. A comment ID is required.
	ErrCodeCommentIdRequiredException = "CommentIdRequiredException"

	// ErrCodeCommentNotCreatedByCallerException for service response error code
	// "CommentNotCreatedByCallerException".
	//
	// You cannot modify or delete this comment. Only comment authors can modify
	// or delete their comments.
	ErrCodeCommentNotCreatedByCallerException = "CommentNotCreatedByCallerException"

	// ErrCodeCommitDoesNotExistException for service response error code
	// "CommitDoesNotExistException".
	//
	// The specified commit does not exist or no commit was specified, and the specified
	// repository has no default branch.
	ErrCodeCommitDoesNotExistException = "CommitDoesNotExistException"

	// ErrCodeCommitIdDoesNotExistException for service response error code
	// "CommitIdDoesNotExistException".
	//
	// The specified commit ID does not exist.
	ErrCodeCommitIdDoesNotExistException = "CommitIdDoesNotExistException"

	// ErrCodeCommitIdRequiredException for service response error code
	// "CommitIdRequiredException".
	//
	// A commit ID was not specified.
	ErrCodeCommitIdRequiredException = "CommitIdRequiredException"

	// ErrCodeCommitIdsLimitExceededException for service response error code
	// "CommitIdsLimitExceededException".
	//
	// 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.
	ErrCodeCommitIdsLimitExceededException = "CommitIdsLimitExceededException"

	// ErrCodeCommitIdsListRequiredException for service response error code
	// "CommitIdsListRequiredException".
	//
	// A list of commit IDs is required, but was either not specified or the list
	// was empty.
	ErrCodeCommitIdsListRequiredException = "CommitIdsListRequiredException"

	// ErrCodeCommitMessageLengthExceededException for service response error code
	// "CommitMessageLengthExceededException".
	//
	// The commit message is too long. Provide a shorter string.
	ErrCodeCommitMessageLengthExceededException = "CommitMessageLengthExceededException"

	// ErrCodeCommitRequiredException for service response error code
	// "CommitRequiredException".
	//
	// A commit was not specified.
	ErrCodeCommitRequiredException = "CommitRequiredException"

	// ErrCodeConcurrentReferenceUpdateException for service response error code
	// "ConcurrentReferenceUpdateException".
	//
	// 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.
	ErrCodeConcurrentReferenceUpdateException = "ConcurrentReferenceUpdateException"

	// ErrCodeDefaultBranchCannotBeDeletedException for service response error code
	// "DefaultBranchCannotBeDeletedException".
	//
	// 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.
	ErrCodeDefaultBranchCannotBeDeletedException = "DefaultBranchCannotBeDeletedException"

	// ErrCodeDirectoryNameConflictsWithFileNameException for service response error code
	// "DirectoryNameConflictsWithFileNameException".
	//
	// 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.
	ErrCodeDirectoryNameConflictsWithFileNameException = "DirectoryNameConflictsWithFileNameException"

	// ErrCodeEncryptionIntegrityChecksFailedException for service response error code
	// "EncryptionIntegrityChecksFailedException".
	//
	// An encryption integrity check failed.
	ErrCodeEncryptionIntegrityChecksFailedException = "EncryptionIntegrityChecksFailedException"

	// ErrCodeEncryptionKeyAccessDeniedException for service response error code
	// "EncryptionKeyAccessDeniedException".
	//
	// An encryption key could not be accessed.
	ErrCodeEncryptionKeyAccessDeniedException = "EncryptionKeyAccessDeniedException"

	// ErrCodeEncryptionKeyDisabledException for service response error code
	// "EncryptionKeyDisabledException".
	//
	// The encryption key is disabled.
	ErrCodeEncryptionKeyDisabledException = "EncryptionKeyDisabledException"

	// ErrCodeEncryptionKeyNotFoundException for service response error code
	// "EncryptionKeyNotFoundException".
	//
	// No encryption key was found.
	ErrCodeEncryptionKeyNotFoundException = "EncryptionKeyNotFoundException"

	// ErrCodeEncryptionKeyUnavailableException for service response error code
	// "EncryptionKeyUnavailableException".
	//
	// The encryption key is not available.
	ErrCodeEncryptionKeyUnavailableException = "EncryptionKeyUnavailableException"

	// ErrCodeFileContentAndSourceFileSpecifiedException for service response error code
	// "FileContentAndSourceFileSpecifiedException".
	//
	// 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.
	ErrCodeFileContentAndSourceFileSpecifiedException = "FileContentAndSourceFileSpecifiedException"

	// ErrCodeFileContentRequiredException for service response error code
	// "FileContentRequiredException".
	//
	// The file cannot be added because it is empty. Empty files cannot be added
	// to the repository with this API.
	ErrCodeFileContentRequiredException = "FileContentRequiredException"

	// ErrCodeFileContentSizeLimitExceededException for service response error code
	// "FileContentSizeLimitExceededException".
	//
	// 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.
	ErrCodeFileContentSizeLimitExceededException = "FileContentSizeLimitExceededException"

	// ErrCodeFileDoesNotExistException for service response error code
	// "FileDoesNotExistException".
	//
	// The specified file does not exist. Verify that you have used the correct
	// file name, full path, and extension.
	ErrCodeFileDoesNotExistException = "FileDoesNotExistException"

	// ErrCodeFileEntryRequiredException for service response error code
	// "FileEntryRequiredException".
	//
	// The commit cannot be created because no files have been specified as added,
	// updated, or changed (PutFile or DeleteFile) for the commit.
	ErrCodeFileEntryRequiredException = "FileEntryRequiredException"

	// ErrCodeFileModeRequiredException for service response error code
	// "FileModeRequiredException".
	//
	// The commit cannot be created because no file mode has been specified. A file
	// mode is required to update mode permissions for a file.
	ErrCodeFileModeRequiredException = "FileModeRequiredException"

	// ErrCodeFileNameConflictsWithDirectoryNameException for service response error code
	// "FileNameConflictsWithDirectoryNameException".
	//
	// 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.
	ErrCodeFileNameConflictsWithDirectoryNameException = "FileNameConflictsWithDirectoryNameException"

	// ErrCodeFilePathConflictsWithSubmodulePathException for service response error code
	// "FilePathConflictsWithSubmodulePathException".
	//
	// 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.
	ErrCodeFilePathConflictsWithSubmodulePathException = "FilePathConflictsWithSubmodulePathException"

	// ErrCodeFileTooLargeException for service response error code
	// "FileTooLargeException".
	//
	// The specified file exceeds the file size limit for CodeCommit. For more information
	// about limits in CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html)
	// in the CodeCommit User Guide.
	ErrCodeFileTooLargeException = "FileTooLargeException"

	// ErrCodeFolderContentSizeLimitExceededException for service response error code
	// "FolderContentSizeLimitExceededException".
	//
	// 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.
	ErrCodeFolderContentSizeLimitExceededException = "FolderContentSizeLimitExceededException"

	// ErrCodeFolderDoesNotExistException for service response error code
	// "FolderDoesNotExistException".
	//
	// The specified folder does not exist. Either the folder name is not correct,
	// or you did not enter the full path to the folder.
	ErrCodeFolderDoesNotExistException = "FolderDoesNotExistException"

	// ErrCodeIdempotencyParameterMismatchException for service response error code
	// "IdempotencyParameterMismatchException".
	//
	// 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.
	ErrCodeIdempotencyParameterMismatchException = "IdempotencyParameterMismatchException"

	// ErrCodeInvalidActorArnException for service response error code
	// "InvalidActorArnException".
	//
	// 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.
	ErrCodeInvalidActorArnException = "InvalidActorArnException"

	// ErrCodeInvalidApprovalRuleContentException for service response error code
	// "InvalidApprovalRuleContentException".
	//
	// The content for the approval rule is not valid.
	ErrCodeInvalidApprovalRuleContentException = "InvalidApprovalRuleContentException"

	// ErrCodeInvalidApprovalRuleNameException for service response error code
	// "InvalidApprovalRuleNameException".
	//
	// The name for the approval rule is not valid.
	ErrCodeInvalidApprovalRuleNameException = "InvalidApprovalRuleNameException"

	// ErrCodeInvalidApprovalRuleTemplateContentException for service response error code
	// "InvalidApprovalRuleTemplateContentException".
	//
	// The content of the approval rule template is not valid.
	ErrCodeInvalidApprovalRuleTemplateContentException = "InvalidApprovalRuleTemplateContentException"

	// ErrCodeInvalidApprovalRuleTemplateDescriptionException for service response error code
	// "InvalidApprovalRuleTemplateDescriptionException".
	//
	// 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html)
	// in the CodeCommit User Guide.
	ErrCodeInvalidApprovalRuleTemplateDescriptionException = "InvalidApprovalRuleTemplateDescriptionException"

	// ErrCodeInvalidApprovalRuleTemplateNameException for service response error code
	// "InvalidApprovalRuleTemplateNameException".
	//
	// 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html)
	// in the CodeCommit User Guide.
	ErrCodeInvalidApprovalRuleTemplateNameException = "InvalidApprovalRuleTemplateNameException"

	// ErrCodeInvalidApprovalStateException for service response error code
	// "InvalidApprovalStateException".
	//
	// The state for the approval is not valid. Valid values include APPROVE and
	// REVOKE.
	ErrCodeInvalidApprovalStateException = "InvalidApprovalStateException"

	// ErrCodeInvalidAuthorArnException for service response error code
	// "InvalidAuthorArnException".
	//
	// 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.
	ErrCodeInvalidAuthorArnException = "InvalidAuthorArnException"

	// ErrCodeInvalidBlobIdException for service response error code
	// "InvalidBlobIdException".
	//
	// The specified blob is not valid.
	ErrCodeInvalidBlobIdException = "InvalidBlobIdException"

	// ErrCodeInvalidBranchNameException for service response error code
	// "InvalidBranchNameException".
	//
	// The specified reference name is not valid.
	ErrCodeInvalidBranchNameException = "InvalidBranchNameException"

	// ErrCodeInvalidClientRequestTokenException for service response error code
	// "InvalidClientRequestTokenException".
	//
	// The client request token is not valid.
	ErrCodeInvalidClientRequestTokenException = "InvalidClientRequestTokenException"

	// ErrCodeInvalidCommentIdException for service response error code
	// "InvalidCommentIdException".
	//
	// The comment ID is not in a valid format. Make sure that you have provided
	// the full comment ID.
	ErrCodeInvalidCommentIdException = "InvalidCommentIdException"

	// ErrCodeInvalidCommitException for service response error code
	// "InvalidCommitException".
	//
	// The specified commit is not valid.
	ErrCodeInvalidCommitException = "InvalidCommitException"

	// ErrCodeInvalidCommitIdException for service response error code
	// "InvalidCommitIdException".
	//
	// The specified commit ID is not valid.
	ErrCodeInvalidCommitIdException = "InvalidCommitIdException"

	// ErrCodeInvalidConflictDetailLevelException for service response error code
	// "InvalidConflictDetailLevelException".
	//
	// The specified conflict detail level is not valid.
	ErrCodeInvalidConflictDetailLevelException = "InvalidConflictDetailLevelException"

	// ErrCodeInvalidConflictResolutionException for service response error code
	// "InvalidConflictResolutionException".
	//
	// The specified conflict resolution list is not valid.
	ErrCodeInvalidConflictResolutionException = "InvalidConflictResolutionException"

	// ErrCodeInvalidConflictResolutionStrategyException for service response error code
	// "InvalidConflictResolutionStrategyException".
	//
	// The specified conflict resolution strategy is not valid.
	ErrCodeInvalidConflictResolutionStrategyException = "InvalidConflictResolutionStrategyException"

	// ErrCodeInvalidContinuationTokenException for service response error code
	// "InvalidContinuationTokenException".
	//
	// The specified continuation token is not valid.
	ErrCodeInvalidContinuationTokenException = "InvalidContinuationTokenException"

	// ErrCodeInvalidDeletionParameterException for service response error code
	// "InvalidDeletionParameterException".
	//
	// The specified deletion parameter is not valid.
	ErrCodeInvalidDeletionParameterException = "InvalidDeletionParameterException"

	// ErrCodeInvalidDescriptionException for service response error code
	// "InvalidDescriptionException".
	//
	// The pull request description is not valid. Descriptions cannot be more than
	// 1,000 characters.
	ErrCodeInvalidDescriptionException = "InvalidDescriptionException"

	// ErrCodeInvalidDestinationCommitSpecifierException for service response error code
	// "InvalidDestinationCommitSpecifierException".
	//
	// The destination commit specifier is not valid. You must provide a valid branch
	// name, tag, or full commit ID.
	ErrCodeInvalidDestinationCommitSpecifierException = "InvalidDestinationCommitSpecifierException"

	// ErrCodeInvalidEmailException for service response error code
	// "InvalidEmailException".
	//
	// 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.
	ErrCodeInvalidEmailException = "InvalidEmailException"

	// ErrCodeInvalidFileLocationException for service response error code
	// "InvalidFileLocationException".
	//
	// The location of the file is not valid. Make sure that you include the file
	// name and extension.
	ErrCodeInvalidFileLocationException = "InvalidFileLocationException"

	// ErrCodeInvalidFileModeException for service response error code
	// "InvalidFileModeException".
	//
	// The specified file mode permission is not valid. For a list of valid file
	// mode permissions, see PutFile.
	ErrCodeInvalidFileModeException = "InvalidFileModeException"

	// ErrCodeInvalidFilePositionException for service response error code
	// "InvalidFilePositionException".
	//
	// The position is not valid. Make sure that the line number exists in the version
	// of the file you want to comment on.
	ErrCodeInvalidFilePositionException = "InvalidFilePositionException"

	// ErrCodeInvalidMaxConflictFilesException for service response error code
	// "InvalidMaxConflictFilesException".
	//
	// The specified value for the number of conflict files to return is not valid.
	ErrCodeInvalidMaxConflictFilesException = "InvalidMaxConflictFilesException"

	// ErrCodeInvalidMaxMergeHunksException for service response error code
	// "InvalidMaxMergeHunksException".
	//
	// The specified value for the number of merge hunks to return is not valid.
	ErrCodeInvalidMaxMergeHunksException = "InvalidMaxMergeHunksException"

	// ErrCodeInvalidMaxResultsException for service response error code
	// "InvalidMaxResultsException".
	//
	// The specified number of maximum results is not valid.
	ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException"

	// ErrCodeInvalidMergeOptionException for service response error code
	// "InvalidMergeOptionException".
	//
	// The specified merge option is not valid for this operation. Not all merge
	// strategies are supported for all operations.
	ErrCodeInvalidMergeOptionException = "InvalidMergeOptionException"

	// ErrCodeInvalidOrderException for service response error code
	// "InvalidOrderException".
	//
	// The specified sort order is not valid.
	ErrCodeInvalidOrderException = "InvalidOrderException"

	// ErrCodeInvalidOverrideStatusException for service response error code
	// "InvalidOverrideStatusException".
	//
	// The override status is not valid. Valid statuses are OVERRIDE and REVOKE.
	ErrCodeInvalidOverrideStatusException = "InvalidOverrideStatusException"

	// ErrCodeInvalidParentCommitIdException for service response error code
	// "InvalidParentCommitIdException".
	//
	// 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.
	ErrCodeInvalidParentCommitIdException = "InvalidParentCommitIdException"

	// ErrCodeInvalidPathException for service response error code
	// "InvalidPathException".
	//
	// The specified path is not valid.
	ErrCodeInvalidPathException = "InvalidPathException"

	// ErrCodeInvalidPullRequestEventTypeException for service response error code
	// "InvalidPullRequestEventTypeException".
	//
	// The pull request event type is not valid.
	ErrCodeInvalidPullRequestEventTypeException = "InvalidPullRequestEventTypeException"

	// ErrCodeInvalidPullRequestIdException for service response error code
	// "InvalidPullRequestIdException".
	//
	// 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.
	ErrCodeInvalidPullRequestIdException = "InvalidPullRequestIdException"

	// ErrCodeInvalidPullRequestStatusException for service response error code
	// "InvalidPullRequestStatusException".
	//
	// The pull request status is not valid. The only valid values are OPEN and
	// CLOSED.
	ErrCodeInvalidPullRequestStatusException = "InvalidPullRequestStatusException"

	// ErrCodeInvalidPullRequestStatusUpdateException for service response error code
	// "InvalidPullRequestStatusUpdateException".
	//
	// The pull request status update is not valid. The only valid update is from
	// OPEN to CLOSED.
	ErrCodeInvalidPullRequestStatusUpdateException = "InvalidPullRequestStatusUpdateException"

	// ErrCodeInvalidReactionUserArnException for service response error code
	// "InvalidReactionUserArnException".
	//
	// The Amazon Resource Name (ARN) of the user or identity is not valid.
	ErrCodeInvalidReactionUserArnException = "InvalidReactionUserArnException"

	// ErrCodeInvalidReactionValueException for service response error code
	// "InvalidReactionValueException".
	//
	// The value of the reaction is not valid. For more information, see the CodeCommit
	// User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).
	ErrCodeInvalidReactionValueException = "InvalidReactionValueException"

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

	// ErrCodeInvalidRelativeFileVersionEnumException for service response error code
	// "InvalidRelativeFileVersionEnumException".
	//
	// 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.
	ErrCodeInvalidRelativeFileVersionEnumException = "InvalidRelativeFileVersionEnumException"

	// ErrCodeInvalidReplacementContentException for service response error code
	// "InvalidReplacementContentException".
	//
	// Automerge was specified for resolving the conflict, but the replacement type
	// is not valid or content is missing.
	ErrCodeInvalidReplacementContentException = "InvalidReplacementContentException"

	// ErrCodeInvalidReplacementTypeException for service response error code
	// "InvalidReplacementTypeException".
	//
	// Automerge was specified for resolving the conflict, but the specified replacement
	// type is not valid.
	ErrCodeInvalidReplacementTypeException = "InvalidReplacementTypeException"

	// ErrCodeInvalidRepositoryDescriptionException for service response error code
	// "InvalidRepositoryDescriptionException".
	//
	// The specified repository description is not valid.
	ErrCodeInvalidRepositoryDescriptionException = "InvalidRepositoryDescriptionException"

	// ErrCodeInvalidRepositoryNameException for service response error code
	// "InvalidRepositoryNameException".
	//
	// 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.
	ErrCodeInvalidRepositoryNameException = "InvalidRepositoryNameException"

	// ErrCodeInvalidRepositoryTriggerBranchNameException for service response error code
	// "InvalidRepositoryTriggerBranchNameException".
	//
	// One or more branch names specified for the trigger is not valid.
	ErrCodeInvalidRepositoryTriggerBranchNameException = "InvalidRepositoryTriggerBranchNameException"

	// ErrCodeInvalidRepositoryTriggerCustomDataException for service response error code
	// "InvalidRepositoryTriggerCustomDataException".
	//
	// The custom data provided for the trigger is not valid.
	ErrCodeInvalidRepositoryTriggerCustomDataException = "InvalidRepositoryTriggerCustomDataException"

	// ErrCodeInvalidRepositoryTriggerDestinationArnException for service response error code
	// "InvalidRepositoryTriggerDestinationArnException".
	//
	// 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.
	ErrCodeInvalidRepositoryTriggerDestinationArnException = "InvalidRepositoryTriggerDestinationArnException"

	// ErrCodeInvalidRepositoryTriggerEventsException for service response error code
	// "InvalidRepositoryTriggerEventsException".
	//
	// 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.
	ErrCodeInvalidRepositoryTriggerEventsException = "InvalidRepositoryTriggerEventsException"

	// ErrCodeInvalidRepositoryTriggerNameException for service response error code
	// "InvalidRepositoryTriggerNameException".
	//
	// The name of the trigger is not valid.
	ErrCodeInvalidRepositoryTriggerNameException = "InvalidRepositoryTriggerNameException"

	// ErrCodeInvalidRepositoryTriggerRegionException for service response error code
	// "InvalidRepositoryTriggerRegionException".
	//
	// The Amazon Web Services Region for the trigger target does not match the
	// Amazon Web Services Region for the repository. Triggers must be created in
	// the same Amazon Web Services Region as the target for the trigger.
	ErrCodeInvalidRepositoryTriggerRegionException = "InvalidRepositoryTriggerRegionException"

	// ErrCodeInvalidResourceArnException for service response error code
	// "InvalidResourceArnException".
	//
	// The value for the resource ARN is not valid. For more information about resources
	// in 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 CodeCommit User Guide.
	ErrCodeInvalidResourceArnException = "InvalidResourceArnException"

	// ErrCodeInvalidRevisionIdException for service response error code
	// "InvalidRevisionIdException".
	//
	// The revision ID is not valid. Use GetPullRequest to determine the value.
	ErrCodeInvalidRevisionIdException = "InvalidRevisionIdException"

	// ErrCodeInvalidRuleContentSha256Exception for service response error code
	// "InvalidRuleContentSha256Exception".
	//
	// The SHA-256 hash signature for the rule content is not valid.
	ErrCodeInvalidRuleContentSha256Exception = "InvalidRuleContentSha256Exception"

	// ErrCodeInvalidSortByException for service response error code
	// "InvalidSortByException".
	//
	// The specified sort by value is not valid.
	ErrCodeInvalidSortByException = "InvalidSortByException"

	// ErrCodeInvalidSourceCommitSpecifierException for service response error code
	// "InvalidSourceCommitSpecifierException".
	//
	// The source commit specifier is not valid. You must provide a valid branch
	// name, tag, or full commit ID.
	ErrCodeInvalidSourceCommitSpecifierException = "InvalidSourceCommitSpecifierException"

	// ErrCodeInvalidSystemTagUsageException for service response error code
	// "InvalidSystemTagUsageException".
	//
	// The specified tag is not valid. Key names cannot be prefixed with aws:.
	ErrCodeInvalidSystemTagUsageException = "InvalidSystemTagUsageException"

	// ErrCodeInvalidTagKeysListException for service response error code
	// "InvalidTagKeysListException".
	//
	// The list of tags is not valid.
	ErrCodeInvalidTagKeysListException = "InvalidTagKeysListException"

	// ErrCodeInvalidTagsMapException for service response error code
	// "InvalidTagsMapException".
	//
	// The map of tags is not valid.
	ErrCodeInvalidTagsMapException = "InvalidTagsMapException"

	// ErrCodeInvalidTargetBranchException for service response error code
	// "InvalidTargetBranchException".
	//
	// The specified target branch is not valid.
	ErrCodeInvalidTargetBranchException = "InvalidTargetBranchException"

	// ErrCodeInvalidTargetException for service response error code
	// "InvalidTargetException".
	//
	// 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.
	ErrCodeInvalidTargetException = "InvalidTargetException"

	// ErrCodeInvalidTargetsException for service response error code
	// "InvalidTargetsException".
	//
	// 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.
	ErrCodeInvalidTargetsException = "InvalidTargetsException"

	// ErrCodeInvalidTitleException for service response error code
	// "InvalidTitleException".
	//
	// The title of the pull request is not valid. Pull request titles cannot exceed
	// 100 characters in length.
	ErrCodeInvalidTitleException = "InvalidTitleException"

	// ErrCodeManualMergeRequiredException for service response error code
	// "ManualMergeRequiredException".
	//
	// The pull request cannot be merged automatically into the destination branch.
	// You must manually merge the branches and resolve any conflicts.
	ErrCodeManualMergeRequiredException = "ManualMergeRequiredException"

	// ErrCodeMaximumBranchesExceededException for service response error code
	// "MaximumBranchesExceededException".
	//
	// The number of branches for the trigger was exceeded.
	ErrCodeMaximumBranchesExceededException = "MaximumBranchesExceededException"

	// ErrCodeMaximumConflictResolutionEntriesExceededException for service response error code
	// "MaximumConflictResolutionEntriesExceededException".
	//
	// The number of allowed conflict resolution entries was exceeded.
	ErrCodeMaximumConflictResolutionEntriesExceededException = "MaximumConflictResolutionEntriesExceededException"

	// ErrCodeMaximumFileContentToLoadExceededException for service response error code
	// "MaximumFileContentToLoadExceededException".
	//
	// The number of files to load exceeds the allowed limit.
	ErrCodeMaximumFileContentToLoadExceededException = "MaximumFileContentToLoadExceededException"

	// ErrCodeMaximumFileEntriesExceededException for service response error code
	// "MaximumFileEntriesExceededException".
	//
	// 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.
	ErrCodeMaximumFileEntriesExceededException = "MaximumFileEntriesExceededException"

	// ErrCodeMaximumItemsToCompareExceededException for service response error code
	// "MaximumItemsToCompareExceededException".
	//
	// The number of items to compare between the source or destination branches
	// and the merge base has exceeded the maximum allowed.
	ErrCodeMaximumItemsToCompareExceededException = "MaximumItemsToCompareExceededException"

	// ErrCodeMaximumNumberOfApprovalsExceededException for service response error code
	// "MaximumNumberOfApprovalsExceededException".
	//
	// The number of approvals required for the approval rule exceeds the maximum
	// number allowed.
	ErrCodeMaximumNumberOfApprovalsExceededException = "MaximumNumberOfApprovalsExceededException"

	// ErrCodeMaximumOpenPullRequestsExceededException for service response error code
	// "MaximumOpenPullRequestsExceededException".
	//
	// 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.
	ErrCodeMaximumOpenPullRequestsExceededException = "MaximumOpenPullRequestsExceededException"

	// ErrCodeMaximumRepositoryNamesExceededException for service response error code
	// "MaximumRepositoryNamesExceededException".
	//
	// The maximum number of allowed repository names was exceeded. Currently, this
	// number is 100.
	ErrCodeMaximumRepositoryNamesExceededException = "MaximumRepositoryNamesExceededException"

	// ErrCodeMaximumRepositoryTriggersExceededException for service response error code
	// "MaximumRepositoryTriggersExceededException".
	//
	// The number of triggers allowed for the repository was exceeded.
	ErrCodeMaximumRepositoryTriggersExceededException = "MaximumRepositoryTriggersExceededException"

	// ErrCodeMaximumRuleTemplatesAssociatedWithRepositoryException for service response error code
	// "MaximumRuleTemplatesAssociatedWithRepositoryException".
	//
	// 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.
	ErrCodeMaximumRuleTemplatesAssociatedWithRepositoryException = "MaximumRuleTemplatesAssociatedWithRepositoryException"

	// ErrCodeMergeOptionRequiredException for service response error code
	// "MergeOptionRequiredException".
	//
	// A merge option or stategy is required, and none was provided.
	ErrCodeMergeOptionRequiredException = "MergeOptionRequiredException"

	// ErrCodeMultipleConflictResolutionEntriesException for service response error code
	// "MultipleConflictResolutionEntriesException".
	//
	// More than one conflict resolution entries exists for the conflict. A conflict
	// can have only one conflict resolution entry.
	ErrCodeMultipleConflictResolutionEntriesException = "MultipleConflictResolutionEntriesException"

	// ErrCodeMultipleRepositoriesInPullRequestException for service response error code
	// "MultipleRepositoriesInPullRequestException".
	//
	// 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.
	ErrCodeMultipleRepositoriesInPullRequestException = "MultipleRepositoriesInPullRequestException"

	// ErrCodeNameLengthExceededException for service response error code
	// "NameLengthExceededException".
	//
	// The user name is not valid because it has exceeded the character limit for
	// author names.
	ErrCodeNameLengthExceededException = "NameLengthExceededException"

	// ErrCodeNoChangeException for service response error code
	// "NoChangeException".
	//
	// 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.
	ErrCodeNoChangeException = "NoChangeException"

	// ErrCodeNumberOfRuleTemplatesExceededException for service response error code
	// "NumberOfRuleTemplatesExceededException".
	//
	// The maximum number of approval rule templates has been exceeded for this
	// Amazon Web Services Region.
	ErrCodeNumberOfRuleTemplatesExceededException = "NumberOfRuleTemplatesExceededException"

	// ErrCodeNumberOfRulesExceededException for service response error code
	// "NumberOfRulesExceededException".
	//
	// The approval rule cannot be added. The pull request has the maximum number
	// of approval rules associated with it.
	ErrCodeNumberOfRulesExceededException = "NumberOfRulesExceededException"

	// ErrCodeOverrideAlreadySetException for service response error code
	// "OverrideAlreadySetException".
	//
	// The pull request has already had its approval rules set to override.
	ErrCodeOverrideAlreadySetException = "OverrideAlreadySetException"

	// ErrCodeOverrideStatusRequiredException for service response error code
	// "OverrideStatusRequiredException".
	//
	// An override status is required, but no value was provided. Valid values include
	// OVERRIDE and REVOKE.
	ErrCodeOverrideStatusRequiredException = "OverrideStatusRequiredException"

	// ErrCodeParentCommitDoesNotExistException for service response error code
	// "ParentCommitDoesNotExistException".
	//
	// 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.
	ErrCodeParentCommitDoesNotExistException = "ParentCommitDoesNotExistException"

	// ErrCodeParentCommitIdOutdatedException for service response error code
	// "ParentCommitIdOutdatedException".
	//
	// 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.
	ErrCodeParentCommitIdOutdatedException = "ParentCommitIdOutdatedException"

	// ErrCodeParentCommitIdRequiredException for service response error code
	// "ParentCommitIdRequiredException".
	//
	// 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).
	ErrCodeParentCommitIdRequiredException = "ParentCommitIdRequiredException"

	// ErrCodePathDoesNotExistException for service response error code
	// "PathDoesNotExistException".
	//
	// The specified path does not exist.
	ErrCodePathDoesNotExistException = "PathDoesNotExistException"

	// ErrCodePathRequiredException for service response error code
	// "PathRequiredException".
	//
	// The folderPath for a location cannot be null.
	ErrCodePathRequiredException = "PathRequiredException"

	// ErrCodePullRequestAlreadyClosedException for service response error code
	// "PullRequestAlreadyClosedException".
	//
	// The pull request status cannot be updated because it is already closed.
	ErrCodePullRequestAlreadyClosedException = "PullRequestAlreadyClosedException"

	// ErrCodePullRequestApprovalRulesNotSatisfiedException for service response error code
	// "PullRequestApprovalRulesNotSatisfiedException".
	//
	// The pull request cannot be merged because one or more approval rules applied
	// to the pull request have conditions that have not been met.
	ErrCodePullRequestApprovalRulesNotSatisfiedException = "PullRequestApprovalRulesNotSatisfiedException"

	// ErrCodePullRequestCannotBeApprovedByAuthorException for service response error code
	// "PullRequestCannotBeApprovedByAuthorException".
	//
	// 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.
	ErrCodePullRequestCannotBeApprovedByAuthorException = "PullRequestCannotBeApprovedByAuthorException"

	// ErrCodePullRequestDoesNotExistException for service response error code
	// "PullRequestDoesNotExistException".
	//
	// 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.
	ErrCodePullRequestDoesNotExistException = "PullRequestDoesNotExistException"

	// ErrCodePullRequestIdRequiredException for service response error code
	// "PullRequestIdRequiredException".
	//
	// A pull request ID is required, but none was provided.
	ErrCodePullRequestIdRequiredException = "PullRequestIdRequiredException"

	// ErrCodePullRequestStatusRequiredException for service response error code
	// "PullRequestStatusRequiredException".
	//
	// A pull request status is required, but none was provided.
	ErrCodePullRequestStatusRequiredException = "PullRequestStatusRequiredException"

	// ErrCodePutFileEntryConflictException for service response error code
	// "PutFileEntryConflictException".
	//
	// The commit cannot be created because one or more files specified in the commit
	// reference both a file and a folder.
	ErrCodePutFileEntryConflictException = "PutFileEntryConflictException"

	// ErrCodeReactionLimitExceededException for service response error code
	// "ReactionLimitExceededException".
	//
	// The number of reactions has been exceeded. Reactions are limited to one reaction
	// per user for each individual comment ID.
	ErrCodeReactionLimitExceededException = "ReactionLimitExceededException"

	// ErrCodeReactionValueRequiredException for service response error code
	// "ReactionValueRequiredException".
	//
	// A reaction value is required.
	ErrCodeReactionValueRequiredException = "ReactionValueRequiredException"

	// ErrCodeReferenceDoesNotExistException for service response error code
	// "ReferenceDoesNotExistException".
	//
	// The specified reference does not exist. You must provide a full commit ID.
	ErrCodeReferenceDoesNotExistException = "ReferenceDoesNotExistException"

	// ErrCodeReferenceNameRequiredException for service response error code
	// "ReferenceNameRequiredException".
	//
	// A reference name is required, but none was provided.
	ErrCodeReferenceNameRequiredException = "ReferenceNameRequiredException"

	// ErrCodeReferenceTypeNotSupportedException for service response error code
	// "ReferenceTypeNotSupportedException".
	//
	// The specified reference is not a supported type.
	ErrCodeReferenceTypeNotSupportedException = "ReferenceTypeNotSupportedException"

	// ErrCodeReplacementContentRequiredException for service response error code
	// "ReplacementContentRequiredException".
	//
	// USE_NEW_CONTENT was specified, but no replacement content has been provided.
	ErrCodeReplacementContentRequiredException = "ReplacementContentRequiredException"

	// ErrCodeReplacementTypeRequiredException for service response error code
	// "ReplacementTypeRequiredException".
	//
	// A replacement type is required.
	ErrCodeReplacementTypeRequiredException = "ReplacementTypeRequiredException"

	// ErrCodeRepositoryDoesNotExistException for service response error code
	// "RepositoryDoesNotExistException".
	//
	// The specified repository does not exist.
	ErrCodeRepositoryDoesNotExistException = "RepositoryDoesNotExistException"

	// ErrCodeRepositoryLimitExceededException for service response error code
	// "RepositoryLimitExceededException".
	//
	// A repository resource limit was exceeded.
	ErrCodeRepositoryLimitExceededException = "RepositoryLimitExceededException"

	// ErrCodeRepositoryNameExistsException for service response error code
	// "RepositoryNameExistsException".
	//
	// The specified repository name already exists.
	ErrCodeRepositoryNameExistsException = "RepositoryNameExistsException"

	// ErrCodeRepositoryNameRequiredException for service response error code
	// "RepositoryNameRequiredException".
	//
	// A repository name is required, but was not specified.
	ErrCodeRepositoryNameRequiredException = "RepositoryNameRequiredException"

	// ErrCodeRepositoryNamesRequiredException for service response error code
	// "RepositoryNamesRequiredException".
	//
	// At least one repository name object is required, but was not specified.
	ErrCodeRepositoryNamesRequiredException = "RepositoryNamesRequiredException"

	// ErrCodeRepositoryNotAssociatedWithPullRequestException for service response error code
	// "RepositoryNotAssociatedWithPullRequestException".
	//
	// 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.
	ErrCodeRepositoryNotAssociatedWithPullRequestException = "RepositoryNotAssociatedWithPullRequestException"

	// ErrCodeRepositoryTriggerBranchNameListRequiredException for service response error code
	// "RepositoryTriggerBranchNameListRequiredException".
	//
	// At least one branch name is required, but was not specified in the trigger
	// configuration.
	ErrCodeRepositoryTriggerBranchNameListRequiredException = "RepositoryTriggerBranchNameListRequiredException"

	// ErrCodeRepositoryTriggerDestinationArnRequiredException for service response error code
	// "RepositoryTriggerDestinationArnRequiredException".
	//
	// A destination ARN for the target service for the trigger is required, but
	// was not specified.
	ErrCodeRepositoryTriggerDestinationArnRequiredException = "RepositoryTriggerDestinationArnRequiredException"

	// ErrCodeRepositoryTriggerEventsListRequiredException for service response error code
	// "RepositoryTriggerEventsListRequiredException".
	//
	// At least one event for the trigger is required, but was not specified.
	ErrCodeRepositoryTriggerEventsListRequiredException = "RepositoryTriggerEventsListRequiredException"

	// ErrCodeRepositoryTriggerNameRequiredException for service response error code
	// "RepositoryTriggerNameRequiredException".
	//
	// A name for the trigger is required, but was not specified.
	ErrCodeRepositoryTriggerNameRequiredException = "RepositoryTriggerNameRequiredException"

	// ErrCodeRepositoryTriggersListRequiredException for service response error code
	// "RepositoryTriggersListRequiredException".
	//
	// The list of triggers for the repository is required, but was not specified.
	ErrCodeRepositoryTriggersListRequiredException = "RepositoryTriggersListRequiredException"

	// ErrCodeResourceArnRequiredException for service response error code
	// "ResourceArnRequiredException".
	//
	// A valid Amazon Resource Name (ARN) for an CodeCommit resource is required.
	// For a list of valid resources in 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 CodeCommit User Guide.
	ErrCodeResourceArnRequiredException = "ResourceArnRequiredException"

	// ErrCodeRestrictedSourceFileException for service response error code
	// "RestrictedSourceFileException".
	//
	// The commit cannot be created because one of the changes specifies copying
	// or moving a .gitkeep file.
	ErrCodeRestrictedSourceFileException = "RestrictedSourceFileException"

	// ErrCodeRevisionIdRequiredException for service response error code
	// "RevisionIdRequiredException".
	//
	// A revision ID is required, but was not provided.
	ErrCodeRevisionIdRequiredException = "RevisionIdRequiredException"

	// ErrCodeRevisionNotCurrentException for service response error code
	// "RevisionNotCurrentException".
	//
	// The revision ID provided in the request does not match the current revision
	// ID. Use GetPullRequest to retrieve the current revision ID.
	ErrCodeRevisionNotCurrentException = "RevisionNotCurrentException"

	// ErrCodeSameFileContentException for service response error code
	// "SameFileContentException".
	//
	// 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.
	ErrCodeSameFileContentException = "SameFileContentException"

	// ErrCodeSamePathRequestException for service response error code
	// "SamePathRequestException".
	//
	// 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.
	ErrCodeSamePathRequestException = "SamePathRequestException"

	// ErrCodeSourceAndDestinationAreSameException for service response error code
	// "SourceAndDestinationAreSameException".
	//
	// The source branch and destination branch for the pull request are the same.
	// You must specify different branches for the source and destination.
	ErrCodeSourceAndDestinationAreSameException = "SourceAndDestinationAreSameException"

	// ErrCodeSourceFileOrContentRequiredException for service response error code
	// "SourceFileOrContentRequiredException".
	//
	// The commit cannot be created because no source files or file content have
	// been specified for the commit.
	ErrCodeSourceFileOrContentRequiredException = "SourceFileOrContentRequiredException"

	// ErrCodeTagKeysListRequiredException for service response error code
	// "TagKeysListRequiredException".
	//
	// A list of tag keys is required. The list cannot be empty or null.
	ErrCodeTagKeysListRequiredException = "TagKeysListRequiredException"

	// ErrCodeTagPolicyException for service response error code
	// "TagPolicyException".
	//
	// The tag policy is not valid.
	ErrCodeTagPolicyException = "TagPolicyException"

	// ErrCodeTagsMapRequiredException for service response error code
	// "TagsMapRequiredException".
	//
	// A map of tags is required.
	ErrCodeTagsMapRequiredException = "TagsMapRequiredException"

	// ErrCodeTargetRequiredException for service response error code
	// "TargetRequiredException".
	//
	// 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.
	ErrCodeTargetRequiredException = "TargetRequiredException"

	// ErrCodeTargetsRequiredException for service response error code
	// "TargetsRequiredException".
	//
	// An array of target objects is required. It cannot be empty or null.
	ErrCodeTargetsRequiredException = "TargetsRequiredException"

	// ErrCodeTipOfSourceReferenceIsDifferentException for service response error code
	// "TipOfSourceReferenceIsDifferentException".
	//
	// 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.
	ErrCodeTipOfSourceReferenceIsDifferentException = "TipOfSourceReferenceIsDifferentException"

	// ErrCodeTipsDivergenceExceededException for service response error code
	// "TipsDivergenceExceededException".
	//
	// 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.
	ErrCodeTipsDivergenceExceededException = "TipsDivergenceExceededException"

	// ErrCodeTitleRequiredException for service response error code
	// "TitleRequiredException".
	//
	// A pull request title is required. It cannot be empty or null.
	ErrCodeTitleRequiredException = "TitleRequiredException"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// The maximum number of tags for an CodeCommit resource has been exceeded.
	ErrCodeTooManyTagsException = "TooManyTagsException"
)
View Source
const (
	ServiceName = "codecommit" // Name of service.
	EndpointsID = ServiceName  // ID to lookup a service endpoint with.
	ServiceID   = "CodeCommit" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ApprovalState_Values

func ApprovalState_Values() []string

ApprovalState_Values returns all elements of the ApprovalState enum

func ChangeTypeEnum_Values

func ChangeTypeEnum_Values() []string

ChangeTypeEnum_Values returns all elements of the ChangeTypeEnum enum

func ConflictDetailLevelTypeEnum_Values

func ConflictDetailLevelTypeEnum_Values() []string

ConflictDetailLevelTypeEnum_Values returns all elements of the ConflictDetailLevelTypeEnum enum

func ConflictResolutionStrategyTypeEnum_Values

func ConflictResolutionStrategyTypeEnum_Values() []string

ConflictResolutionStrategyTypeEnum_Values returns all elements of the ConflictResolutionStrategyTypeEnum enum

func FileModeTypeEnum_Values

func FileModeTypeEnum_Values() []string

FileModeTypeEnum_Values returns all elements of the FileModeTypeEnum enum

func MergeOptionTypeEnum_Values

func MergeOptionTypeEnum_Values() []string

MergeOptionTypeEnum_Values returns all elements of the MergeOptionTypeEnum enum

func ObjectTypeEnum_Values

func ObjectTypeEnum_Values() []string

ObjectTypeEnum_Values returns all elements of the ObjectTypeEnum enum

func OrderEnum_Values

func OrderEnum_Values() []string

OrderEnum_Values returns all elements of the OrderEnum enum

func OverrideStatus_Values

func OverrideStatus_Values() []string

OverrideStatus_Values returns all elements of the OverrideStatus enum

func PullRequestEventType_Values

func PullRequestEventType_Values() []string

PullRequestEventType_Values returns all elements of the PullRequestEventType enum

func PullRequestStatusEnum_Values

func PullRequestStatusEnum_Values() []string

PullRequestStatusEnum_Values returns all elements of the PullRequestStatusEnum enum

func RelativeFileVersionEnum_Values

func RelativeFileVersionEnum_Values() []string

RelativeFileVersionEnum_Values returns all elements of the RelativeFileVersionEnum enum

func ReplacementTypeEnum_Values

func ReplacementTypeEnum_Values() []string

ReplacementTypeEnum_Values returns all elements of the ReplacementTypeEnum enum

func RepositoryTriggerEventEnum_Values

func RepositoryTriggerEventEnum_Values() []string

RepositoryTriggerEventEnum_Values returns all elements of the RepositoryTriggerEventEnum enum

func SortByEnum_Values

func SortByEnum_Values() []string

SortByEnum_Values returns all elements of the SortByEnum enum

Types

type ActorDoesNotExistException

type ActorDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ActorDoesNotExistException) Code

Code returns the exception type name.

func (*ActorDoesNotExistException) Error

func (ActorDoesNotExistException) GoString

func (s ActorDoesNotExistException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ActorDoesNotExistException) Message

func (s *ActorDoesNotExistException) Message() string

Message returns the exception's message.

func (*ActorDoesNotExistException) OrigErr

func (s *ActorDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ActorDoesNotExistException) RequestID

func (s *ActorDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ActorDoesNotExistException) StatusCode

func (s *ActorDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ActorDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Approval

type Approval struct {

	// The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.
	ApprovalState *string `locationName:"approvalState" type:"string" enum:"ApprovalState"`

	// The Amazon Resource Name (ARN) of the user.
	UserArn *string `locationName:"userArn" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a specific approval on a pull request.

func (Approval) GoString

func (s Approval) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Approval) SetApprovalState

func (s *Approval) SetApprovalState(v string) *Approval

SetApprovalState sets the ApprovalState field's value.

func (*Approval) SetUserArn

func (s *Approval) SetUserArn(v string) *Approval

SetUserArn sets the UserArn field's value.

func (Approval) String

func (s Approval) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRule

type ApprovalRule struct {

	// The content of the approval rule.
	ApprovalRuleContent *string `locationName:"approvalRuleContent" min:"1" type:"string"`

	// The system-generated ID of the approval rule.
	ApprovalRuleId *string `locationName:"approvalRuleId" type:"string"`

	// The name of the approval rule.
	ApprovalRuleName *string `locationName:"approvalRuleName" min:"1" type:"string"`

	// The date the approval rule was created, in timestamp format.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The date the approval rule was most recently changed, in timestamp format.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The Amazon Resource Name (ARN) of the user who made the most recent changes
	// to the approval rule.
	LastModifiedUser *string `locationName:"lastModifiedUser" type:"string"`

	// The approval rule template used to create the rule.
	OriginApprovalRuleTemplate *OriginApprovalRuleTemplate `locationName:"originApprovalRuleTemplate" type:"structure"`

	// The SHA-256 hash signature for the content of the approval rule.
	RuleContentSha256 *string `locationName:"ruleContentSha256" type:"string"`
	// contains filtered or unexported fields
}

Returns information about an approval rule.

func (ApprovalRule) GoString

func (s ApprovalRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRule) SetApprovalRuleContent

func (s *ApprovalRule) SetApprovalRuleContent(v string) *ApprovalRule

SetApprovalRuleContent sets the ApprovalRuleContent field's value.

func (*ApprovalRule) SetApprovalRuleId

func (s *ApprovalRule) SetApprovalRuleId(v string) *ApprovalRule

SetApprovalRuleId sets the ApprovalRuleId field's value.

func (*ApprovalRule) SetApprovalRuleName

func (s *ApprovalRule) SetApprovalRuleName(v string) *ApprovalRule

SetApprovalRuleName sets the ApprovalRuleName field's value.

func (*ApprovalRule) SetCreationDate

func (s *ApprovalRule) SetCreationDate(v time.Time) *ApprovalRule

SetCreationDate sets the CreationDate field's value.

func (*ApprovalRule) SetLastModifiedDate

func (s *ApprovalRule) SetLastModifiedDate(v time.Time) *ApprovalRule

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*ApprovalRule) SetLastModifiedUser

func (s *ApprovalRule) SetLastModifiedUser(v string) *ApprovalRule

SetLastModifiedUser sets the LastModifiedUser field's value.

func (*ApprovalRule) SetOriginApprovalRuleTemplate

func (s *ApprovalRule) SetOriginApprovalRuleTemplate(v *OriginApprovalRuleTemplate) *ApprovalRule

SetOriginApprovalRuleTemplate sets the OriginApprovalRuleTemplate field's value.

func (*ApprovalRule) SetRuleContentSha256

func (s *ApprovalRule) SetRuleContentSha256(v string) *ApprovalRule

SetRuleContentSha256 sets the RuleContentSha256 field's value.

func (ApprovalRule) String

func (s ApprovalRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleContentRequiredException

type ApprovalRuleContentRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ApprovalRuleContentRequiredException) Code

Code returns the exception type name.

func (*ApprovalRuleContentRequiredException) Error

func (ApprovalRuleContentRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleContentRequiredException) Message

Message returns the exception's message.

func (*ApprovalRuleContentRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalRuleContentRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*ApprovalRuleContentRequiredException) StatusCode

func (s *ApprovalRuleContentRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ApprovalRuleContentRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleDoesNotExistException

type ApprovalRuleDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified approval rule does not exist.

func (*ApprovalRuleDoesNotExistException) Code

Code returns the exception type name.

func (*ApprovalRuleDoesNotExistException) Error

func (ApprovalRuleDoesNotExistException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleDoesNotExistException) Message

Message returns the exception's message.

func (*ApprovalRuleDoesNotExistException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalRuleDoesNotExistException) RequestID

RequestID returns the service's response RequestID for request.

func (*ApprovalRuleDoesNotExistException) StatusCode

func (s *ApprovalRuleDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ApprovalRuleDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleEventMetadata

type ApprovalRuleEventMetadata struct {

	// The content of the approval rule.
	ApprovalRuleContent *string `locationName:"approvalRuleContent" min:"1" type:"string"`

	// The system-generated ID of the approval rule.
	ApprovalRuleId *string `locationName:"approvalRuleId" type:"string"`

	// The name of the approval rule.
	ApprovalRuleName *string `locationName:"approvalRuleName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Returns information about an event for an approval rule.

func (ApprovalRuleEventMetadata) GoString

func (s ApprovalRuleEventMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleEventMetadata) SetApprovalRuleContent

func (s *ApprovalRuleEventMetadata) SetApprovalRuleContent(v string) *ApprovalRuleEventMetadata

SetApprovalRuleContent sets the ApprovalRuleContent field's value.

func (*ApprovalRuleEventMetadata) SetApprovalRuleId

SetApprovalRuleId sets the ApprovalRuleId field's value.

func (*ApprovalRuleEventMetadata) SetApprovalRuleName

func (s *ApprovalRuleEventMetadata) SetApprovalRuleName(v string) *ApprovalRuleEventMetadata

SetApprovalRuleName sets the ApprovalRuleName field's value.

func (ApprovalRuleEventMetadata) String

func (s ApprovalRuleEventMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleNameAlreadyExistsException

type ApprovalRuleNameAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ApprovalRuleNameAlreadyExistsException) Code

Code returns the exception type name.

func (*ApprovalRuleNameAlreadyExistsException) Error

func (ApprovalRuleNameAlreadyExistsException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleNameAlreadyExistsException) Message

Message returns the exception's message.

func (*ApprovalRuleNameAlreadyExistsException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalRuleNameAlreadyExistsException) RequestID

RequestID returns the service's response RequestID for request.

func (*ApprovalRuleNameAlreadyExistsException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (ApprovalRuleNameAlreadyExistsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleNameRequiredException

type ApprovalRuleNameRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ApprovalRuleNameRequiredException) Code

Code returns the exception type name.

func (*ApprovalRuleNameRequiredException) Error

func (ApprovalRuleNameRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleNameRequiredException) Message

Message returns the exception's message.

func (*ApprovalRuleNameRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalRuleNameRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*ApprovalRuleNameRequiredException) StatusCode

func (s *ApprovalRuleNameRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ApprovalRuleNameRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleOverriddenEventMetadata

type ApprovalRuleOverriddenEventMetadata struct {

	// The status of the override event.
	OverrideStatus *string `locationName:"overrideStatus" type:"string" enum:"OverrideStatus"`

	// The revision ID of the pull request when the override event occurred.
	RevisionId *string `locationName:"revisionId" type:"string"`
	// contains filtered or unexported fields
}

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

func (ApprovalRuleOverriddenEventMetadata) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleOverriddenEventMetadata) SetOverrideStatus

SetOverrideStatus sets the OverrideStatus field's value.

func (*ApprovalRuleOverriddenEventMetadata) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ApprovalRuleOverriddenEventMetadata) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleTemplate

type ApprovalRuleTemplate struct {

	// The content of the approval rule template.
	ApprovalRuleTemplateContent *string `locationName:"approvalRuleTemplateContent" min:"1" type:"string"`

	// The description of the approval rule template.
	ApprovalRuleTemplateDescription *string `locationName:"approvalRuleTemplateDescription" type:"string"`

	// The system-generated ID of the approval rule template.
	ApprovalRuleTemplateId *string `locationName:"approvalRuleTemplateId" type:"string"`

	// The name of the approval rule template.
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string"`

	// The date the approval rule template was created, in timestamp format.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The date the approval rule template was most recently changed, in timestamp
	// format.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

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

	// The SHA-256 hash signature for the content of the approval rule template.
	RuleContentSha256 *string `locationName:"ruleContentSha256" type:"string"`
	// contains filtered or unexported fields
}

Returns information about an approval rule template.

func (ApprovalRuleTemplate) GoString

func (s ApprovalRuleTemplate) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleTemplate) SetApprovalRuleTemplateContent

func (s *ApprovalRuleTemplate) SetApprovalRuleTemplateContent(v string) *ApprovalRuleTemplate

SetApprovalRuleTemplateContent sets the ApprovalRuleTemplateContent field's value.

func (*ApprovalRuleTemplate) SetApprovalRuleTemplateDescription

func (s *ApprovalRuleTemplate) SetApprovalRuleTemplateDescription(v string) *ApprovalRuleTemplate

SetApprovalRuleTemplateDescription sets the ApprovalRuleTemplateDescription field's value.

func (*ApprovalRuleTemplate) SetApprovalRuleTemplateId

func (s *ApprovalRuleTemplate) SetApprovalRuleTemplateId(v string) *ApprovalRuleTemplate

SetApprovalRuleTemplateId sets the ApprovalRuleTemplateId field's value.

func (*ApprovalRuleTemplate) SetApprovalRuleTemplateName

func (s *ApprovalRuleTemplate) SetApprovalRuleTemplateName(v string) *ApprovalRuleTemplate

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*ApprovalRuleTemplate) SetCreationDate

func (s *ApprovalRuleTemplate) SetCreationDate(v time.Time) *ApprovalRuleTemplate

SetCreationDate sets the CreationDate field's value.

func (*ApprovalRuleTemplate) SetLastModifiedDate

func (s *ApprovalRuleTemplate) SetLastModifiedDate(v time.Time) *ApprovalRuleTemplate

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*ApprovalRuleTemplate) SetLastModifiedUser

func (s *ApprovalRuleTemplate) SetLastModifiedUser(v string) *ApprovalRuleTemplate

SetLastModifiedUser sets the LastModifiedUser field's value.

func (*ApprovalRuleTemplate) SetRuleContentSha256

func (s *ApprovalRuleTemplate) SetRuleContentSha256(v string) *ApprovalRuleTemplate

SetRuleContentSha256 sets the RuleContentSha256 field's value.

func (ApprovalRuleTemplate) String

func (s ApprovalRuleTemplate) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleTemplateContentRequiredException

type ApprovalRuleTemplateContentRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*ApprovalRuleTemplateContentRequiredException) Error

func (ApprovalRuleTemplateContentRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleTemplateContentRequiredException) Message

Message returns the exception's message.

func (*ApprovalRuleTemplateContentRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalRuleTemplateContentRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*ApprovalRuleTemplateContentRequiredException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (ApprovalRuleTemplateContentRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleTemplateDoesNotExistException

type ApprovalRuleTemplateDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ApprovalRuleTemplateDoesNotExistException) Code

Code returns the exception type name.

func (*ApprovalRuleTemplateDoesNotExistException) Error

func (ApprovalRuleTemplateDoesNotExistException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleTemplateDoesNotExistException) Message

Message returns the exception's message.

func (*ApprovalRuleTemplateDoesNotExistException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalRuleTemplateDoesNotExistException) RequestID

RequestID returns the service's response RequestID for request.

func (*ApprovalRuleTemplateDoesNotExistException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (ApprovalRuleTemplateDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleTemplateInUseException

type ApprovalRuleTemplateInUseException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*ApprovalRuleTemplateInUseException) Error

func (ApprovalRuleTemplateInUseException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleTemplateInUseException) Message

Message returns the exception's message.

func (*ApprovalRuleTemplateInUseException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalRuleTemplateInUseException) RequestID

RequestID returns the service's response RequestID for request.

func (*ApprovalRuleTemplateInUseException) StatusCode

func (s *ApprovalRuleTemplateInUseException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ApprovalRuleTemplateInUseException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleTemplateNameAlreadyExistsException

type ApprovalRuleTemplateNameAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ApprovalRuleTemplateNameAlreadyExistsException) Code

Code returns the exception type name.

func (*ApprovalRuleTemplateNameAlreadyExistsException) Error

func (ApprovalRuleTemplateNameAlreadyExistsException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleTemplateNameAlreadyExistsException) Message

Message returns the exception's message.

func (*ApprovalRuleTemplateNameAlreadyExistsException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalRuleTemplateNameAlreadyExistsException) RequestID

RequestID returns the service's response RequestID for request.

func (*ApprovalRuleTemplateNameAlreadyExistsException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (ApprovalRuleTemplateNameAlreadyExistsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalRuleTemplateNameRequiredException

type ApprovalRuleTemplateNameRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ApprovalRuleTemplateNameRequiredException) Code

Code returns the exception type name.

func (*ApprovalRuleTemplateNameRequiredException) Error

func (ApprovalRuleTemplateNameRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalRuleTemplateNameRequiredException) Message

Message returns the exception's message.

func (*ApprovalRuleTemplateNameRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalRuleTemplateNameRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*ApprovalRuleTemplateNameRequiredException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (ApprovalRuleTemplateNameRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalStateChangedEventMetadata

type ApprovalStateChangedEventMetadata struct {

	// The approval status for the pull request.
	ApprovalStatus *string `locationName:"approvalStatus" type:"string" enum:"ApprovalState"`

	// The revision ID of the pull request when the approval state changed.
	RevisionId *string `locationName:"revisionId" type:"string"`
	// contains filtered or unexported fields
}

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

func (ApprovalStateChangedEventMetadata) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalStateChangedEventMetadata) SetApprovalStatus

SetApprovalStatus sets the ApprovalStatus field's value.

func (*ApprovalStateChangedEventMetadata) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ApprovalStateChangedEventMetadata) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApprovalStateRequiredException

type ApprovalStateRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An approval state is required, but was not specified.

func (*ApprovalStateRequiredException) Code

Code returns the exception type name.

func (*ApprovalStateRequiredException) Error

func (ApprovalStateRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApprovalStateRequiredException) Message

Message returns the exception's message.

func (*ApprovalStateRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApprovalStateRequiredException) RequestID

func (s *ApprovalStateRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ApprovalStateRequiredException) StatusCode

func (s *ApprovalStateRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ApprovalStateRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateApprovalRuleTemplateWithRepositoryInput

type AssociateApprovalRuleTemplateWithRepositoryInput struct {

	// The name for the approval rule template.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`

	// The name of the repository that you want to associate with the template.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateApprovalRuleTemplateWithRepositoryInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateApprovalRuleTemplateWithRepositoryInput) SetApprovalRuleTemplateName

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*AssociateApprovalRuleTemplateWithRepositoryInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (AssociateApprovalRuleTemplateWithRepositoryInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateApprovalRuleTemplateWithRepositoryInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type AssociateApprovalRuleTemplateWithRepositoryOutput

type AssociateApprovalRuleTemplateWithRepositoryOutput struct {
	// contains filtered or unexported fields
}

func (AssociateApprovalRuleTemplateWithRepositoryOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AssociateApprovalRuleTemplateWithRepositoryOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AuthorDoesNotExistException

type AuthorDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*AuthorDoesNotExistException) Code

Code returns the exception type name.

func (*AuthorDoesNotExistException) Error

func (AuthorDoesNotExistException) GoString

func (s AuthorDoesNotExistException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AuthorDoesNotExistException) Message

func (s *AuthorDoesNotExistException) Message() string

Message returns the exception's message.

func (*AuthorDoesNotExistException) OrigErr

func (s *AuthorDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AuthorDoesNotExistException) RequestID

func (s *AuthorDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AuthorDoesNotExistException) StatusCode

func (s *AuthorDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AuthorDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchAssociateApprovalRuleTemplateWithRepositoriesError

type BatchAssociateApprovalRuleTemplateWithRepositoriesError struct {

	// An error code that specifies whether the repository name was not valid or
	// not found.
	ErrorCode *string `locationName:"errorCode" type:"string"`

	// An error message that provides details about why the repository name was
	// not found or not valid.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`

	// The name of the repository where the association was not made.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Returns information about errors in a BatchAssociateApprovalRuleTemplateWithRepositories operation.

func (BatchAssociateApprovalRuleTemplateWithRepositoriesError) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesError) SetErrorCode

SetErrorCode sets the ErrorCode field's value.

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesError) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesError) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (BatchAssociateApprovalRuleTemplateWithRepositoriesError) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchAssociateApprovalRuleTemplateWithRepositoriesInput

type BatchAssociateApprovalRuleTemplateWithRepositoriesInput struct {

	// The name of the template you want to associate with one or more repositories.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`

	// The names of the repositories you want to associate with the template.
	//
	// The length constraint limit is for each string in the array. The array itself
	// can be empty.
	//
	// RepositoryNames is a required field
	RepositoryNames []*string `locationName:"repositoryNames" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchAssociateApprovalRuleTemplateWithRepositoriesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesInput) SetApprovalRuleTemplateName

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesInput) SetRepositoryNames

SetRepositoryNames sets the RepositoryNames field's value.

func (BatchAssociateApprovalRuleTemplateWithRepositoriesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type BatchAssociateApprovalRuleTemplateWithRepositoriesOutput

type BatchAssociateApprovalRuleTemplateWithRepositoriesOutput struct {

	// A list of names of the repositories that have been associated with the template.
	//
	// AssociatedRepositoryNames is a required field
	AssociatedRepositoryNames []*string `locationName:"associatedRepositoryNames" type:"list" required:"true"`

	// A list of any errors that might have occurred while attempting to create
	// the association between the template and the repositories.
	//
	// Errors is a required field
	Errors []*BatchAssociateApprovalRuleTemplateWithRepositoriesError `locationName:"errors" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) SetAssociatedRepositoryNames

SetAssociatedRepositoryNames sets the AssociatedRepositoryNames field's value.

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchDescribeMergeConflictsError

type BatchDescribeMergeConflictsError struct {

	// The name of the exception.
	//
	// ExceptionName is a required field
	ExceptionName *string `locationName:"exceptionName" type:"string" required:"true"`

	// The path to the file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// The message provided by the exception.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Returns information about errors in a BatchDescribeMergeConflicts operation.

func (BatchDescribeMergeConflictsError) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDescribeMergeConflictsError) SetExceptionName

SetExceptionName sets the ExceptionName field's value.

func (*BatchDescribeMergeConflictsError) SetFilePath

SetFilePath sets the FilePath field's value.

func (*BatchDescribeMergeConflictsError) SetMessage

SetMessage sets the Message field's value.

func (BatchDescribeMergeConflictsError) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchDescribeMergeConflictsInput

type BatchDescribeMergeConflictsInput struct {

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// DestinationCommitSpecifier is a required field
	DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

	// The path of the target files used to describe the conflicts. If not specified,
	// the default is all conflict files.
	FilePaths []*string `locationName:"filePaths" type:"list"`

	// The maximum number of files to include in the output.
	MaxConflictFiles *int64 `locationName:"maxConflictFiles" type:"integer"`

	// The maximum number of merge hunks to include in the output.
	MaxMergeHunks *int64 `locationName:"maxMergeHunks" type:"integer"`

	// The merge option or strategy you want to use to merge the code.
	//
	// MergeOption is a required field
	MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The name of the repository that contains the merge conflicts you want to
	// review.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// SourceCommitSpecifier is a required field
	SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDescribeMergeConflictsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDescribeMergeConflictsInput) SetConflictDetailLevel

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*BatchDescribeMergeConflictsInput) SetConflictResolutionStrategy

func (s *BatchDescribeMergeConflictsInput) SetConflictResolutionStrategy(v string) *BatchDescribeMergeConflictsInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*BatchDescribeMergeConflictsInput) SetDestinationCommitSpecifier

func (s *BatchDescribeMergeConflictsInput) SetDestinationCommitSpecifier(v string) *BatchDescribeMergeConflictsInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*BatchDescribeMergeConflictsInput) SetFilePaths

SetFilePaths sets the FilePaths field's value.

func (*BatchDescribeMergeConflictsInput) SetMaxConflictFiles

SetMaxConflictFiles sets the MaxConflictFiles field's value.

func (*BatchDescribeMergeConflictsInput) SetMaxMergeHunks

SetMaxMergeHunks sets the MaxMergeHunks field's value.

func (*BatchDescribeMergeConflictsInput) SetMergeOption

SetMergeOption sets the MergeOption field's value.

func (*BatchDescribeMergeConflictsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*BatchDescribeMergeConflictsInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*BatchDescribeMergeConflictsInput) SetSourceCommitSpecifier

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (BatchDescribeMergeConflictsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDescribeMergeConflictsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type BatchDescribeMergeConflictsOutput

type BatchDescribeMergeConflictsOutput struct {

	// The commit ID of the merge base.
	BaseCommitId *string `locationName:"baseCommitId" type:"string"`

	// A list of conflicts for each file, including the conflict metadata and the
	// hunks of the differences between the files.
	//
	// Conflicts is a required field
	Conflicts []*Conflict `locationName:"conflicts" type:"list" required:"true"`

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	//
	// DestinationCommitId is a required field
	DestinationCommitId *string `locationName:"destinationCommitId" type:"string" required:"true"`

	// A list of any errors returned while describing the merge conflicts for each
	// file.
	Errors []*BatchDescribeMergeConflictsError `locationName:"errors" type:"list"`

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The commit ID of the source commit specifier that was used in the merge evaluation.
	//
	// SourceCommitId is a required field
	SourceCommitId *string `locationName:"sourceCommitId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDescribeMergeConflictsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDescribeMergeConflictsOutput) SetBaseCommitId

SetBaseCommitId sets the BaseCommitId field's value.

func (*BatchDescribeMergeConflictsOutput) SetConflicts

SetConflicts sets the Conflicts field's value.

func (*BatchDescribeMergeConflictsOutput) SetDestinationCommitId

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*BatchDescribeMergeConflictsOutput) SetErrors

SetErrors sets the Errors field's value.

func (*BatchDescribeMergeConflictsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*BatchDescribeMergeConflictsOutput) SetSourceCommitId

SetSourceCommitId sets the SourceCommitId field's value.

func (BatchDescribeMergeConflictsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchDisassociateApprovalRuleTemplateFromRepositoriesError

type BatchDisassociateApprovalRuleTemplateFromRepositoriesError struct {

	// An error code that specifies whether the repository name was not valid or
	// not found.
	ErrorCode *string `locationName:"errorCode" type:"string"`

	// An error message that provides details about why the repository name was
	// either not found or not valid.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`

	// The name of the repository where the association with the template was not
	// able to be removed.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation.

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesError) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesError) SetErrorCode

SetErrorCode sets the ErrorCode field's value.

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesError) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesError) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesError) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchDisassociateApprovalRuleTemplateFromRepositoriesInput

type BatchDisassociateApprovalRuleTemplateFromRepositoriesInput struct {

	// The name of the template that you want to disassociate from one or more repositories.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`

	// The repository names that you want to disassociate from the approval rule
	// template.
	//
	// The length constraint limit is for each string in the array. The array itself
	// can be empty.
	//
	// RepositoryNames is a required field
	RepositoryNames []*string `locationName:"repositoryNames" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) SetApprovalRuleTemplateName

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) SetRepositoryNames

SetRepositoryNames sets the RepositoryNames field's value.

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput

type BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput struct {

	// A list of repository names that have had their association with the template
	// removed.
	//
	// DisassociatedRepositoryNames is a required field
	DisassociatedRepositoryNames []*string `locationName:"disassociatedRepositoryNames" type:"list" required:"true"`

	// A list of any errors that might have occurred while attempting to remove
	// the association between the template and the repositories.
	//
	// Errors is a required field
	Errors []*BatchDisassociateApprovalRuleTemplateFromRepositoriesError `locationName:"errors" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) SetDisassociatedRepositoryNames

SetDisassociatedRepositoryNames sets the DisassociatedRepositoryNames field's value.

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetCommitsError

type BatchGetCommitsError struct {

	// A commit ID that either could not be found or was not in a valid format.
	CommitId *string `locationName:"commitId" type:"string"`

	// An error code that specifies whether the commit ID was not valid or not found.
	ErrorCode *string `locationName:"errorCode" type:"string"`

	// An error message that provides detail about why the commit ID either was
	// not found or was not valid.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`
	// contains filtered or unexported fields
}

Returns information about errors in a BatchGetCommits operation.

func (BatchGetCommitsError) GoString

func (s BatchGetCommitsError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetCommitsError) SetCommitId

SetCommitId sets the CommitId field's value.

func (*BatchGetCommitsError) SetErrorCode

func (s *BatchGetCommitsError) SetErrorCode(v string) *BatchGetCommitsError

SetErrorCode sets the ErrorCode field's value.

func (*BatchGetCommitsError) SetErrorMessage

func (s *BatchGetCommitsError) SetErrorMessage(v string) *BatchGetCommitsError

SetErrorMessage sets the ErrorMessage field's value.

func (BatchGetCommitsError) String

func (s BatchGetCommitsError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetCommitsInput

type BatchGetCommitsInput struct {

	// The full commit IDs of the commits to get information about.
	//
	// You must supply the full SHA IDs of each commit. You cannot use shortened
	// SHA IDs.
	//
	// CommitIds is a required field
	CommitIds []*string `locationName:"commitIds" type:"list" required:"true"`

	// The name of the repository that contains the commits.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetCommitsInput) GoString

func (s BatchGetCommitsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetCommitsInput) SetCommitIds

func (s *BatchGetCommitsInput) SetCommitIds(v []*string) *BatchGetCommitsInput

SetCommitIds sets the CommitIds field's value.

func (*BatchGetCommitsInput) SetRepositoryName

func (s *BatchGetCommitsInput) SetRepositoryName(v string) *BatchGetCommitsInput

SetRepositoryName sets the RepositoryName field's value.

func (BatchGetCommitsInput) String

func (s BatchGetCommitsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetCommitsInput) Validate

func (s *BatchGetCommitsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetCommitsOutput

type BatchGetCommitsOutput struct {

	// An array of commit data type objects, each of which contains information
	// about a specified commit.
	Commits []*Commit `locationName:"commits" type:"list"`

	// Returns any commit IDs for which information could not be found. For example,
	// if one of the commit IDs was a shortened SHA ID or that commit was not found
	// in the specified repository, the ID returns an error object with more information.
	Errors []*BatchGetCommitsError `locationName:"errors" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetCommitsOutput) GoString

func (s BatchGetCommitsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetCommitsOutput) SetCommits

func (s *BatchGetCommitsOutput) SetCommits(v []*Commit) *BatchGetCommitsOutput

SetCommits sets the Commits field's value.

func (*BatchGetCommitsOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchGetCommitsOutput) String

func (s BatchGetCommitsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetRepositoriesInput

type BatchGetRepositoriesInput struct {

	// The names of the repositories to get information about.
	//
	// The length constraint limit is for each string in the array. The array itself
	// can be empty.
	//
	// RepositoryNames is a required field
	RepositoryNames []*string `locationName:"repositoryNames" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a batch get repositories operation.

func (BatchGetRepositoriesInput) GoString

func (s BatchGetRepositoriesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetRepositoriesInput) SetRepositoryNames

func (s *BatchGetRepositoriesInput) SetRepositoryNames(v []*string) *BatchGetRepositoriesInput

SetRepositoryNames sets the RepositoryNames field's value.

func (BatchGetRepositoriesInput) String

func (s BatchGetRepositoriesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetRepositoriesInput) Validate

func (s *BatchGetRepositoriesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetRepositoriesOutput

type BatchGetRepositoriesOutput struct {

	// A list of repositories returned by the batch get repositories operation.
	Repositories []*RepositoryMetadata `locationName:"repositories" type:"list"`

	// Returns a list of repository names for which information could not be found.
	RepositoriesNotFound []*string `locationName:"repositoriesNotFound" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a batch get repositories operation.

func (BatchGetRepositoriesOutput) GoString

func (s BatchGetRepositoriesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetRepositoriesOutput) SetRepositories

SetRepositories sets the Repositories field's value.

func (*BatchGetRepositoriesOutput) SetRepositoriesNotFound

func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *BatchGetRepositoriesOutput

SetRepositoriesNotFound sets the RepositoriesNotFound field's value.

func (BatchGetRepositoriesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BeforeCommitIdAndAfterCommitIdAreSameException

type BeforeCommitIdAndAfterCommitIdAreSameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*BeforeCommitIdAndAfterCommitIdAreSameException) Error

func (BeforeCommitIdAndAfterCommitIdAreSameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BeforeCommitIdAndAfterCommitIdAreSameException) Message

Message returns the exception's message.

func (*BeforeCommitIdAndAfterCommitIdAreSameException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BeforeCommitIdAndAfterCommitIdAreSameException) RequestID

RequestID returns the service's response RequestID for request.

func (*BeforeCommitIdAndAfterCommitIdAreSameException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (BeforeCommitIdAndAfterCommitIdAreSameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BlobIdDoesNotExistException

type BlobIdDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified blob does not exist.

func (*BlobIdDoesNotExistException) Code

Code returns the exception type name.

func (*BlobIdDoesNotExistException) Error

func (BlobIdDoesNotExistException) GoString

func (s BlobIdDoesNotExistException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BlobIdDoesNotExistException) Message

func (s *BlobIdDoesNotExistException) Message() string

Message returns the exception's message.

func (*BlobIdDoesNotExistException) OrigErr

func (s *BlobIdDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BlobIdDoesNotExistException) RequestID

func (s *BlobIdDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BlobIdDoesNotExistException) StatusCode

func (s *BlobIdDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BlobIdDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BlobIdRequiredException

type BlobIdRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A blob ID is required, but was not specified.

func (*BlobIdRequiredException) Code

func (s *BlobIdRequiredException) Code() string

Code returns the exception type name.

func (*BlobIdRequiredException) Error

func (s *BlobIdRequiredException) Error() string

func (BlobIdRequiredException) GoString

func (s BlobIdRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BlobIdRequiredException) Message

func (s *BlobIdRequiredException) Message() string

Message returns the exception's message.

func (*BlobIdRequiredException) OrigErr

func (s *BlobIdRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BlobIdRequiredException) RequestID

func (s *BlobIdRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BlobIdRequiredException) StatusCode

func (s *BlobIdRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BlobIdRequiredException) String

func (s BlobIdRequiredException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BlobMetadata

type BlobMetadata struct {

	// The full ID of the blob.
	BlobId *string `locationName:"blobId" type:"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 `locationName:"mode" type:"string"`

	// The path to the blob and associated file name, if any.
	Path *string `locationName:"path" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a specific Git blob object.

func (BlobMetadata) GoString

func (s BlobMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BlobMetadata) SetBlobId

func (s *BlobMetadata) SetBlobId(v string) *BlobMetadata

SetBlobId sets the BlobId field's value.

func (*BlobMetadata) SetMode

func (s *BlobMetadata) SetMode(v string) *BlobMetadata

SetMode sets the Mode field's value.

func (*BlobMetadata) SetPath

func (s *BlobMetadata) SetPath(v string) *BlobMetadata

SetPath sets the Path field's value.

func (BlobMetadata) String

func (s BlobMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BranchDoesNotExistException

type BranchDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified branch does not exist.

func (*BranchDoesNotExistException) Code

Code returns the exception type name.

func (*BranchDoesNotExistException) Error

func (BranchDoesNotExistException) GoString

func (s BranchDoesNotExistException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BranchDoesNotExistException) Message

func (s *BranchDoesNotExistException) Message() string

Message returns the exception's message.

func (*BranchDoesNotExistException) OrigErr

func (s *BranchDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BranchDoesNotExistException) RequestID

func (s *BranchDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BranchDoesNotExistException) StatusCode

func (s *BranchDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BranchDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BranchInfo

type BranchInfo struct {

	// The name of the branch.
	BranchName *string `locationName:"branchName" min:"1" type:"string"`

	// The ID of the last commit made to the branch.
	CommitId *string `locationName:"commitId" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a branch.

func (BranchInfo) GoString

func (s BranchInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BranchInfo) SetBranchName

func (s *BranchInfo) SetBranchName(v string) *BranchInfo

SetBranchName sets the BranchName field's value.

func (*BranchInfo) SetCommitId

func (s *BranchInfo) SetCommitId(v string) *BranchInfo

SetCommitId sets the CommitId field's value.

func (BranchInfo) String

func (s BranchInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BranchNameExistsException

type BranchNameExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*BranchNameExistsException) Error

func (s *BranchNameExistsException) Error() string

func (BranchNameExistsException) GoString

func (s BranchNameExistsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BranchNameExistsException) Message

func (s *BranchNameExistsException) Message() string

Message returns the exception's message.

func (*BranchNameExistsException) OrigErr

func (s *BranchNameExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BranchNameExistsException) RequestID

func (s *BranchNameExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BranchNameExistsException) StatusCode

func (s *BranchNameExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BranchNameExistsException) String

func (s BranchNameExistsException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BranchNameIsTagNameException

type BranchNameIsTagNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*BranchNameIsTagNameException) Error

func (BranchNameIsTagNameException) GoString

func (s BranchNameIsTagNameException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BranchNameIsTagNameException) Message

func (s *BranchNameIsTagNameException) Message() string

Message returns the exception's message.

func (*BranchNameIsTagNameException) OrigErr

func (s *BranchNameIsTagNameException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BranchNameIsTagNameException) RequestID

func (s *BranchNameIsTagNameException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BranchNameIsTagNameException) StatusCode

func (s *BranchNameIsTagNameException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BranchNameIsTagNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BranchNameRequiredException

type BranchNameRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A branch name is required, but was not specified.

func (*BranchNameRequiredException) Code

Code returns the exception type name.

func (*BranchNameRequiredException) Error

func (BranchNameRequiredException) GoString

func (s BranchNameRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BranchNameRequiredException) Message

func (s *BranchNameRequiredException) Message() string

Message returns the exception's message.

func (*BranchNameRequiredException) OrigErr

func (s *BranchNameRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BranchNameRequiredException) RequestID

func (s *BranchNameRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BranchNameRequiredException) StatusCode

func (s *BranchNameRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BranchNameRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CannotDeleteApprovalRuleFromTemplateException

type CannotDeleteApprovalRuleFromTemplateException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*CannotDeleteApprovalRuleFromTemplateException) Error

func (CannotDeleteApprovalRuleFromTemplateException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CannotDeleteApprovalRuleFromTemplateException) Message

Message returns the exception's message.

func (*CannotDeleteApprovalRuleFromTemplateException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CannotDeleteApprovalRuleFromTemplateException) RequestID

RequestID returns the service's response RequestID for request.

func (*CannotDeleteApprovalRuleFromTemplateException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (CannotDeleteApprovalRuleFromTemplateException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CannotModifyApprovalRuleFromTemplateException

type CannotModifyApprovalRuleFromTemplateException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*CannotModifyApprovalRuleFromTemplateException) Error

func (CannotModifyApprovalRuleFromTemplateException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CannotModifyApprovalRuleFromTemplateException) Message

Message returns the exception's message.

func (*CannotModifyApprovalRuleFromTemplateException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CannotModifyApprovalRuleFromTemplateException) RequestID

RequestID returns the service's response RequestID for request.

func (*CannotModifyApprovalRuleFromTemplateException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (CannotModifyApprovalRuleFromTemplateException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ClientRequestTokenRequiredException

type ClientRequestTokenRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*ClientRequestTokenRequiredException) Error

func (ClientRequestTokenRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ClientRequestTokenRequiredException) Message

Message returns the exception's message.

func (*ClientRequestTokenRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ClientRequestTokenRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*ClientRequestTokenRequiredException) StatusCode

func (s *ClientRequestTokenRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ClientRequestTokenRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeCommit

type CodeCommit struct {
	*client.Client
}

CodeCommit provides the API operation methods for making requests to AWS CodeCommit. See this package's package overview docs for details on the service.

CodeCommit methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeCommit

New creates a new instance of the CodeCommit client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a CodeCommit client from just a session.
svc := codecommit.New(mySession)

// Create a CodeCommit client with additional configuration
svc := codecommit.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CodeCommit) AssociateApprovalRuleTemplateWithRepository

AssociateApprovalRuleTemplateWithRepository API operation for AWS CodeCommit.

Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation AssociateApprovalRuleTemplateWithRepository for usage and error information.

Returned Error Types:

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

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

  • MaximumRuleTemplatesAssociatedWithRepositoryException 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.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/AssociateApprovalRuleTemplateWithRepository

func (*CodeCommit) AssociateApprovalRuleTemplateWithRepositoryRequest

func (c *CodeCommit) AssociateApprovalRuleTemplateWithRepositoryRequest(input *AssociateApprovalRuleTemplateWithRepositoryInput) (req *request.Request, output *AssociateApprovalRuleTemplateWithRepositoryOutput)

AssociateApprovalRuleTemplateWithRepositoryRequest generates a "aws/request.Request" representing the client's request for the AssociateApprovalRuleTemplateWithRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateApprovalRuleTemplateWithRepository for more information on using the AssociateApprovalRuleTemplateWithRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateApprovalRuleTemplateWithRepositoryRequest method.
req, resp := client.AssociateApprovalRuleTemplateWithRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/AssociateApprovalRuleTemplateWithRepository

func (*CodeCommit) AssociateApprovalRuleTemplateWithRepositoryWithContext

func (c *CodeCommit) AssociateApprovalRuleTemplateWithRepositoryWithContext(ctx aws.Context, input *AssociateApprovalRuleTemplateWithRepositoryInput, opts ...request.Option) (*AssociateApprovalRuleTemplateWithRepositoryOutput, error)

AssociateApprovalRuleTemplateWithRepositoryWithContext is the same as AssociateApprovalRuleTemplateWithRepository with the addition of the ability to pass a context and additional request options.

See AssociateApprovalRuleTemplateWithRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositories

BatchAssociateApprovalRuleTemplateWithRepositories API operation for AWS CodeCommit.

Creates an association between an approval rule template and one or more specified repositories.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation BatchAssociateApprovalRuleTemplateWithRepositories for usage and error information.

Returned Error Types:

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

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

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

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositories

func (*CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesRequest

func (c *CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesRequest(input *BatchAssociateApprovalRuleTemplateWithRepositoriesInput) (req *request.Request, output *BatchAssociateApprovalRuleTemplateWithRepositoriesOutput)

BatchAssociateApprovalRuleTemplateWithRepositoriesRequest generates a "aws/request.Request" representing the client's request for the BatchAssociateApprovalRuleTemplateWithRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchAssociateApprovalRuleTemplateWithRepositories for more information on using the BatchAssociateApprovalRuleTemplateWithRepositories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchAssociateApprovalRuleTemplateWithRepositoriesRequest method.
req, resp := client.BatchAssociateApprovalRuleTemplateWithRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositories

func (*CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesWithContext

func (c *CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesWithContext(ctx aws.Context, input *BatchAssociateApprovalRuleTemplateWithRepositoriesInput, opts ...request.Option) (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput, error)

BatchAssociateApprovalRuleTemplateWithRepositoriesWithContext is the same as BatchAssociateApprovalRuleTemplateWithRepositories with the addition of the ability to pass a context and additional request options.

See BatchAssociateApprovalRuleTemplateWithRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) BatchDescribeMergeConflicts

func (c *CodeCommit) BatchDescribeMergeConflicts(input *BatchDescribeMergeConflictsInput) (*BatchDescribeMergeConflictsOutput, error)

BatchDescribeMergeConflicts API operation for AWS CodeCommit.

Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation BatchDescribeMergeConflicts for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

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

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

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • CommitRequiredException A commit was not specified.

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

  • InvalidCommitException The specified commit is not valid.

  • TipsDivergenceExceededException 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.

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

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

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • MaximumFileContentToLoadExceededException The number of files to load exceeds the allowed limit.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDescribeMergeConflicts

func (*CodeCommit) BatchDescribeMergeConflictsRequest

func (c *CodeCommit) BatchDescribeMergeConflictsRequest(input *BatchDescribeMergeConflictsInput) (req *request.Request, output *BatchDescribeMergeConflictsOutput)

BatchDescribeMergeConflictsRequest generates a "aws/request.Request" representing the client's request for the BatchDescribeMergeConflicts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDescribeMergeConflicts for more information on using the BatchDescribeMergeConflicts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDescribeMergeConflictsRequest method.
req, resp := client.BatchDescribeMergeConflictsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDescribeMergeConflicts

func (*CodeCommit) BatchDescribeMergeConflictsWithContext

func (c *CodeCommit) BatchDescribeMergeConflictsWithContext(ctx aws.Context, input *BatchDescribeMergeConflictsInput, opts ...request.Option) (*BatchDescribeMergeConflictsOutput, error)

BatchDescribeMergeConflictsWithContext is the same as BatchDescribeMergeConflicts with the addition of the ability to pass a context and additional request options.

See BatchDescribeMergeConflicts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositories

BatchDisassociateApprovalRuleTemplateFromRepositories API operation for AWS CodeCommit.

Removes the association between an approval rule template and one or more specified repositories.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation BatchDisassociateApprovalRuleTemplateFromRepositories for usage and error information.

Returned Error Types:

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

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

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

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositories

func (*CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest

func (c *CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest(input *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) (req *request.Request, output *BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput)

BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest generates a "aws/request.Request" representing the client's request for the BatchDisassociateApprovalRuleTemplateFromRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDisassociateApprovalRuleTemplateFromRepositories for more information on using the BatchDisassociateApprovalRuleTemplateFromRepositories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest method.
req, resp := client.BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositories

func (*CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesWithContext

func (c *CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesWithContext(ctx aws.Context, input *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput, opts ...request.Option) (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, error)

BatchDisassociateApprovalRuleTemplateFromRepositoriesWithContext is the same as BatchDisassociateApprovalRuleTemplateFromRepositories with the addition of the ability to pass a context and additional request options.

See BatchDisassociateApprovalRuleTemplateFromRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) BatchGetCommits

func (c *CodeCommit) BatchGetCommits(input *BatchGetCommitsInput) (*BatchGetCommitsOutput, error)

BatchGetCommits API operation for AWS CodeCommit.

Returns information about the contents of one or more commits in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation BatchGetCommits for usage and error information.

Returned Error Types:

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

  • CommitIdsLimitExceededException 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.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetCommits

func (*CodeCommit) BatchGetCommitsRequest

func (c *CodeCommit) BatchGetCommitsRequest(input *BatchGetCommitsInput) (req *request.Request, output *BatchGetCommitsOutput)

BatchGetCommitsRequest generates a "aws/request.Request" representing the client's request for the BatchGetCommits operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetCommits for more information on using the BatchGetCommits API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetCommitsRequest method.
req, resp := client.BatchGetCommitsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetCommits

func (*CodeCommit) BatchGetCommitsWithContext

func (c *CodeCommit) BatchGetCommitsWithContext(ctx aws.Context, input *BatchGetCommitsInput, opts ...request.Option) (*BatchGetCommitsOutput, error)

BatchGetCommitsWithContext is the same as BatchGetCommits with the addition of the ability to pass a context and additional request options.

See BatchGetCommits for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) BatchGetRepositories

func (c *CodeCommit) BatchGetRepositories(input *BatchGetRepositoriesInput) (*BatchGetRepositoriesOutput, error)

BatchGetRepositories API operation for AWS CodeCommit.

Returns information about one or more repositories.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation BatchGetRepositories for usage and error information.

Returned Error Types:

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

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

  • InvalidRepositoryNameException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories

func (*CodeCommit) BatchGetRepositoriesRequest

func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInput) (req *request.Request, output *BatchGetRepositoriesOutput)

BatchGetRepositoriesRequest generates a "aws/request.Request" representing the client's request for the BatchGetRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetRepositories for more information on using the BatchGetRepositories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetRepositoriesRequest method.
req, resp := client.BatchGetRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories

func (*CodeCommit) BatchGetRepositoriesWithContext

func (c *CodeCommit) BatchGetRepositoriesWithContext(ctx aws.Context, input *BatchGetRepositoriesInput, opts ...request.Option) (*BatchGetRepositoriesOutput, error)

BatchGetRepositoriesWithContext is the same as BatchGetRepositories with the addition of the ability to pass a context and additional request options.

See BatchGetRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateApprovalRuleTemplate

func (c *CodeCommit) CreateApprovalRuleTemplate(input *CreateApprovalRuleTemplateInput) (*CreateApprovalRuleTemplateOutput, error)

CreateApprovalRuleTemplate API operation for AWS CodeCommit.

Creates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account. When you associate a template with a repository, CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateApprovalRuleTemplate for usage and error information.

Returned Error Types:

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

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

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

  • InvalidApprovalRuleTemplateContentException The content of the approval rule template is not valid.

  • InvalidApprovalRuleTemplateDescriptionException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

  • NumberOfRuleTemplatesExceededException The maximum number of approval rule templates has been exceeded for this Amazon Web Services Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateApprovalRuleTemplate

func (*CodeCommit) CreateApprovalRuleTemplateRequest

func (c *CodeCommit) CreateApprovalRuleTemplateRequest(input *CreateApprovalRuleTemplateInput) (req *request.Request, output *CreateApprovalRuleTemplateOutput)

CreateApprovalRuleTemplateRequest generates a "aws/request.Request" representing the client's request for the CreateApprovalRuleTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateApprovalRuleTemplate for more information on using the CreateApprovalRuleTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateApprovalRuleTemplateRequest method.
req, resp := client.CreateApprovalRuleTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateApprovalRuleTemplate

func (*CodeCommit) CreateApprovalRuleTemplateWithContext

func (c *CodeCommit) CreateApprovalRuleTemplateWithContext(ctx aws.Context, input *CreateApprovalRuleTemplateInput, opts ...request.Option) (*CreateApprovalRuleTemplateOutput, error)

CreateApprovalRuleTemplateWithContext is the same as CreateApprovalRuleTemplate with the addition of the ability to pass a context and additional request options.

See CreateApprovalRuleTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateBranch

func (c *CodeCommit) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error)

CreateBranch API operation for AWS CodeCommit.

Creates a branch in a repository and points the branch to a commit.

Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateBranch for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • BranchNameRequiredException A branch name is required, but was not specified.

  • BranchNameExistsException 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.

  • InvalidBranchNameException The specified reference name is not valid.

  • CommitIdRequiredException A commit ID was not specified.

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

  • InvalidCommitIdException The specified commit ID is not valid.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch

func (*CodeCommit) CreateBranchRequest

func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput)

CreateBranchRequest generates a "aws/request.Request" representing the client's request for the CreateBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBranch for more information on using the CreateBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBranchRequest method.
req, resp := client.CreateBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch

func (*CodeCommit) CreateBranchWithContext

func (c *CodeCommit) CreateBranchWithContext(ctx aws.Context, input *CreateBranchInput, opts ...request.Option) (*CreateBranchOutput, error)

CreateBranchWithContext is the same as CreateBranch with the addition of the ability to pass a context and additional request options.

See CreateBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateCommit

func (c *CodeCommit) CreateCommit(input *CreateCommitInput) (*CreateCommitOutput, error)

CreateCommit API operation for AWS CodeCommit.

Creates a commit for a repository on the tip of a specified branch.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateCommit for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • ParentCommitIdRequiredException 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).

  • InvalidParentCommitIdException 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.

  • ParentCommitDoesNotExistException 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.

  • ParentCommitIdOutdatedException 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.

  • BranchNameRequiredException A branch name is required, but was not specified.

  • InvalidBranchNameException The specified reference name is not valid.

  • BranchDoesNotExistException The specified branch does not exist.

  • BranchNameIsTagNameException 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.

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

  • MaximumFileEntriesExceededException 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.

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

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

  • FileContentAndSourceFileSpecifiedException 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.

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

  • SamePathRequestException 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.

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

  • FileContentSizeLimitExceededException 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.

  • FolderContentSizeLimitExceededException 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.

  • InvalidDeletionParameterException The specified deletion parameter is not valid.

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

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

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

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

  • InvalidEmailException 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.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

  • NoChangeException 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.

  • FileNameConflictsWithDirectoryNameException 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.

  • DirectoryNameConflictsWithFileNameException 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.

  • FilePathConflictsWithSubmodulePathException 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateCommit

func (*CodeCommit) CreateCommitRequest

func (c *CodeCommit) CreateCommitRequest(input *CreateCommitInput) (req *request.Request, output *CreateCommitOutput)

CreateCommitRequest generates a "aws/request.Request" representing the client's request for the CreateCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateCommit for more information on using the CreateCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateCommitRequest method.
req, resp := client.CreateCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateCommit

func (*CodeCommit) CreateCommitWithContext

func (c *CodeCommit) CreateCommitWithContext(ctx aws.Context, input *CreateCommitInput, opts ...request.Option) (*CreateCommitOutput, error)

CreateCommitWithContext is the same as CreateCommit with the addition of the ability to pass a context and additional request options.

See CreateCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreatePullRequest

func (c *CodeCommit) CreatePullRequest(input *CreatePullRequestInput) (*CreatePullRequestOutput, error)

CreatePullRequest API operation for AWS CodeCommit.

Creates a pull request in the specified repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreatePullRequest for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

  • ClientRequestTokenRequiredException 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.

  • InvalidClientRequestTokenException The client request token is not valid.

  • IdempotencyParameterMismatchException 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.

  • ReferenceNameRequiredException A reference name is required, but none was provided.

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

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

  • ReferenceTypeNotSupportedException The specified reference is not a supported type.

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

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

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

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

  • InvalidTargetsException 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.

  • TargetRequiredException 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.

  • InvalidTargetException 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.

  • MultipleRepositoriesInPullRequestException 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.

  • MaximumOpenPullRequestsExceededException 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.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequest

func (*CodeCommit) CreatePullRequestApprovalRule

func (c *CodeCommit) CreatePullRequestApprovalRule(input *CreatePullRequestApprovalRuleInput) (*CreatePullRequestApprovalRuleOutput, error)

CreatePullRequestApprovalRule API operation for AWS CodeCommit.

Creates an approval rule for a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreatePullRequestApprovalRule for usage and error information.

Returned Error Types:

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

  • InvalidApprovalRuleNameException The name for the approval rule is not valid.

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

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

  • InvalidApprovalRuleContentException The content for the approval rule is not valid.

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

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRule

func (*CodeCommit) CreatePullRequestApprovalRuleRequest

func (c *CodeCommit) CreatePullRequestApprovalRuleRequest(input *CreatePullRequestApprovalRuleInput) (req *request.Request, output *CreatePullRequestApprovalRuleOutput)

CreatePullRequestApprovalRuleRequest generates a "aws/request.Request" representing the client's request for the CreatePullRequestApprovalRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePullRequestApprovalRule for more information on using the CreatePullRequestApprovalRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePullRequestApprovalRuleRequest method.
req, resp := client.CreatePullRequestApprovalRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRule

func (*CodeCommit) CreatePullRequestApprovalRuleWithContext

func (c *CodeCommit) CreatePullRequestApprovalRuleWithContext(ctx aws.Context, input *CreatePullRequestApprovalRuleInput, opts ...request.Option) (*CreatePullRequestApprovalRuleOutput, error)

CreatePullRequestApprovalRuleWithContext is the same as CreatePullRequestApprovalRule with the addition of the ability to pass a context and additional request options.

See CreatePullRequestApprovalRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreatePullRequestRequest

func (c *CodeCommit) CreatePullRequestRequest(input *CreatePullRequestInput) (req *request.Request, output *CreatePullRequestOutput)

CreatePullRequestRequest generates a "aws/request.Request" representing the client's request for the CreatePullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePullRequest for more information on using the CreatePullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePullRequestRequest method.
req, resp := client.CreatePullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequest

func (*CodeCommit) CreatePullRequestWithContext

func (c *CodeCommit) CreatePullRequestWithContext(ctx aws.Context, input *CreatePullRequestInput, opts ...request.Option) (*CreatePullRequestOutput, error)

CreatePullRequestWithContext is the same as CreatePullRequest with the addition of the ability to pass a context and additional request options.

See CreatePullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateRepository

func (c *CodeCommit) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)

CreateRepository API operation for AWS CodeCommit.

Creates a new, empty repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateRepository for usage and error information.

Returned Error Types:

  • RepositoryNameExistsException The specified repository name already exists.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • InvalidRepositoryDescriptionException The specified repository description is not valid.

  • RepositoryLimitExceededException A repository resource limit was exceeded.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

  • InvalidTagsMapException The map of tags is not valid.

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

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

  • TagPolicyException The tag policy is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository

func (*CodeCommit) CreateRepositoryRequest

func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)

CreateRepositoryRequest generates a "aws/request.Request" representing the client's request for the CreateRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRepository for more information on using the CreateRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRepositoryRequest method.
req, resp := client.CreateRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository

func (*CodeCommit) CreateRepositoryWithContext

func (c *CodeCommit) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)

CreateRepositoryWithContext is the same as CreateRepository with the addition of the ability to pass a context and additional request options.

See CreateRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) CreateUnreferencedMergeCommit

func (c *CodeCommit) CreateUnreferencedMergeCommit(input *CreateUnreferencedMergeCommitInput) (*CreateUnreferencedMergeCommitOutput, error)

CreateUnreferencedMergeCommit API operation for AWS CodeCommit.

Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit.

This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation CreateUnreferencedMergeCommit for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • TipsDivergenceExceededException 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.

  • CommitRequiredException A commit was not specified.

  • InvalidCommitException The specified commit is not valid.

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

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

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

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • InvalidConflictResolutionException The specified conflict resolution list is not valid.

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

  • MaximumConflictResolutionEntriesExceededException The number of allowed conflict resolution entries was exceeded.

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

  • ReplacementTypeRequiredException A replacement type is required.

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

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

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

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

  • FileContentSizeLimitExceededException 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.

  • FolderContentSizeLimitExceededException 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.

  • MaximumFileContentToLoadExceededException The number of files to load exceeds the allowed limit.

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

  • ConcurrentReferenceUpdateException 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.

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

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

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

  • InvalidEmailException 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.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateUnreferencedMergeCommit

func (*CodeCommit) CreateUnreferencedMergeCommitRequest

func (c *CodeCommit) CreateUnreferencedMergeCommitRequest(input *CreateUnreferencedMergeCommitInput) (req *request.Request, output *CreateUnreferencedMergeCommitOutput)

CreateUnreferencedMergeCommitRequest generates a "aws/request.Request" representing the client's request for the CreateUnreferencedMergeCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateUnreferencedMergeCommit for more information on using the CreateUnreferencedMergeCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateUnreferencedMergeCommitRequest method.
req, resp := client.CreateUnreferencedMergeCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateUnreferencedMergeCommit

func (*CodeCommit) CreateUnreferencedMergeCommitWithContext

func (c *CodeCommit) CreateUnreferencedMergeCommitWithContext(ctx aws.Context, input *CreateUnreferencedMergeCommitInput, opts ...request.Option) (*CreateUnreferencedMergeCommitOutput, error)

CreateUnreferencedMergeCommitWithContext is the same as CreateUnreferencedMergeCommit with the addition of the ability to pass a context and additional request options.

See CreateUnreferencedMergeCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteApprovalRuleTemplate

func (c *CodeCommit) DeleteApprovalRuleTemplate(input *DeleteApprovalRuleTemplateInput) (*DeleteApprovalRuleTemplateOutput, error)

DeleteApprovalRuleTemplate API operation for AWS CodeCommit.

Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteApprovalRuleTemplate for usage and error information.

Returned Error Types:

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

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

  • ApprovalRuleTemplateInUseException 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteApprovalRuleTemplate

func (*CodeCommit) DeleteApprovalRuleTemplateRequest

func (c *CodeCommit) DeleteApprovalRuleTemplateRequest(input *DeleteApprovalRuleTemplateInput) (req *request.Request, output *DeleteApprovalRuleTemplateOutput)

DeleteApprovalRuleTemplateRequest generates a "aws/request.Request" representing the client's request for the DeleteApprovalRuleTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteApprovalRuleTemplate for more information on using the DeleteApprovalRuleTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteApprovalRuleTemplateRequest method.
req, resp := client.DeleteApprovalRuleTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteApprovalRuleTemplate

func (*CodeCommit) DeleteApprovalRuleTemplateWithContext

func (c *CodeCommit) DeleteApprovalRuleTemplateWithContext(ctx aws.Context, input *DeleteApprovalRuleTemplateInput, opts ...request.Option) (*DeleteApprovalRuleTemplateOutput, error)

DeleteApprovalRuleTemplateWithContext is the same as DeleteApprovalRuleTemplate with the addition of the ability to pass a context and additional request options.

See DeleteApprovalRuleTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteBranch

func (c *CodeCommit) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error)

DeleteBranch API operation for AWS CodeCommit.

Deletes a branch from a repository, unless that branch is the default branch for the repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteBranch for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • BranchNameRequiredException A branch name is required, but was not specified.

  • InvalidBranchNameException The specified reference name is not valid.

  • DefaultBranchCannotBeDeletedException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch

func (*CodeCommit) DeleteBranchRequest

func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Request, output *DeleteBranchOutput)

DeleteBranchRequest generates a "aws/request.Request" representing the client's request for the DeleteBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBranch for more information on using the DeleteBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBranchRequest method.
req, resp := client.DeleteBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch

func (*CodeCommit) DeleteBranchWithContext

func (c *CodeCommit) DeleteBranchWithContext(ctx aws.Context, input *DeleteBranchInput, opts ...request.Option) (*DeleteBranchOutput, error)

DeleteBranchWithContext is the same as DeleteBranch with the addition of the ability to pass a context and additional request options.

See DeleteBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteCommentContent

func (c *CodeCommit) DeleteCommentContent(input *DeleteCommentContentInput) (*DeleteCommentContentOutput, error)

DeleteCommentContent API operation for AWS CodeCommit.

Deletes the content of a comment made on a change, file, or commit in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteCommentContent for usage and error information.

Returned Error Types:

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent

func (*CodeCommit) DeleteCommentContentRequest

func (c *CodeCommit) DeleteCommentContentRequest(input *DeleteCommentContentInput) (req *request.Request, output *DeleteCommentContentOutput)

DeleteCommentContentRequest generates a "aws/request.Request" representing the client's request for the DeleteCommentContent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteCommentContent for more information on using the DeleteCommentContent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteCommentContentRequest method.
req, resp := client.DeleteCommentContentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent

func (*CodeCommit) DeleteCommentContentWithContext

func (c *CodeCommit) DeleteCommentContentWithContext(ctx aws.Context, input *DeleteCommentContentInput, opts ...request.Option) (*DeleteCommentContentOutput, error)

DeleteCommentContentWithContext is the same as DeleteCommentContent with the addition of the ability to pass a context and additional request options.

See DeleteCommentContent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteFile

func (c *CodeCommit) DeleteFile(input *DeleteFileInput) (*DeleteFileOutput, error)

DeleteFile API operation for AWS CodeCommit.

Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteFile for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • ParentCommitIdRequiredException 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).

  • InvalidParentCommitIdException 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.

  • ParentCommitDoesNotExistException 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.

  • ParentCommitIdOutdatedException 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.

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

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

  • BranchNameRequiredException A branch name is required, but was not specified.

  • InvalidBranchNameException The specified reference name is not valid.

  • BranchDoesNotExistException The specified branch does not exist.

  • BranchNameIsTagNameException 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.

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

  • InvalidEmailException 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.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFile

func (*CodeCommit) DeleteFileRequest

func (c *CodeCommit) DeleteFileRequest(input *DeleteFileInput) (req *request.Request, output *DeleteFileOutput)

DeleteFileRequest generates a "aws/request.Request" representing the client's request for the DeleteFile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFile for more information on using the DeleteFile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFileRequest method.
req, resp := client.DeleteFileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFile

func (*CodeCommit) DeleteFileWithContext

func (c *CodeCommit) DeleteFileWithContext(ctx aws.Context, input *DeleteFileInput, opts ...request.Option) (*DeleteFileOutput, error)

DeleteFileWithContext is the same as DeleteFile with the addition of the ability to pass a context and additional request options.

See DeleteFile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeletePullRequestApprovalRule

func (c *CodeCommit) DeletePullRequestApprovalRule(input *DeletePullRequestApprovalRuleInput) (*DeletePullRequestApprovalRuleOutput, error)

DeletePullRequestApprovalRule API operation for AWS CodeCommit.

Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeletePullRequestApprovalRule for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

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

  • InvalidApprovalRuleNameException The name for the approval rule is not valid.

  • CannotDeleteApprovalRuleFromTemplateException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRule

func (*CodeCommit) DeletePullRequestApprovalRuleRequest

func (c *CodeCommit) DeletePullRequestApprovalRuleRequest(input *DeletePullRequestApprovalRuleInput) (req *request.Request, output *DeletePullRequestApprovalRuleOutput)

DeletePullRequestApprovalRuleRequest generates a "aws/request.Request" representing the client's request for the DeletePullRequestApprovalRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePullRequestApprovalRule for more information on using the DeletePullRequestApprovalRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePullRequestApprovalRuleRequest method.
req, resp := client.DeletePullRequestApprovalRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRule

func (*CodeCommit) DeletePullRequestApprovalRuleWithContext

func (c *CodeCommit) DeletePullRequestApprovalRuleWithContext(ctx aws.Context, input *DeletePullRequestApprovalRuleInput, opts ...request.Option) (*DeletePullRequestApprovalRuleOutput, error)

DeletePullRequestApprovalRuleWithContext is the same as DeletePullRequestApprovalRule with the addition of the ability to pass a context and additional request options.

See DeletePullRequestApprovalRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteRepository

func (c *CodeCommit) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)

DeleteRepository API operation for AWS CodeCommit.

Deletes a repository. If a specified repository was already deleted, a null repository ID is returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository fail.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteRepository for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository

func (*CodeCommit) DeleteRepositoryRequest

func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)

DeleteRepositoryRequest generates a "aws/request.Request" representing the client's request for the DeleteRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRepository for more information on using the DeleteRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRepositoryRequest method.
req, resp := client.DeleteRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository

func (*CodeCommit) DeleteRepositoryWithContext

func (c *CodeCommit) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)

DeleteRepositoryWithContext is the same as DeleteRepository with the addition of the ability to pass a context and additional request options.

See DeleteRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribeMergeConflicts

func (c *CodeCommit) DescribeMergeConflicts(input *DescribeMergeConflictsInput) (*DescribeMergeConflictsOutput, error)

DescribeMergeConflicts API operation for AWS CodeCommit.

Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DescribeMergeConflicts for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

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

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

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • CommitRequiredException A commit was not specified.

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

  • InvalidCommitException The specified commit is not valid.

  • TipsDivergenceExceededException 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.

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

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

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

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • MaximumFileContentToLoadExceededException The number of files to load exceeds the allowed limit.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribeMergeConflicts

func (*CodeCommit) DescribeMergeConflictsPages

func (c *CodeCommit) DescribeMergeConflictsPages(input *DescribeMergeConflictsInput, fn func(*DescribeMergeConflictsOutput, bool) bool) error

DescribeMergeConflictsPages iterates over the pages of a DescribeMergeConflicts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeMergeConflicts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeMergeConflicts operation.
pageNum := 0
err := client.DescribeMergeConflictsPages(params,
    func(page *codecommit.DescribeMergeConflictsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) DescribeMergeConflictsPagesWithContext

func (c *CodeCommit) DescribeMergeConflictsPagesWithContext(ctx aws.Context, input *DescribeMergeConflictsInput, fn func(*DescribeMergeConflictsOutput, bool) bool, opts ...request.Option) error

DescribeMergeConflictsPagesWithContext same as DescribeMergeConflictsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribeMergeConflictsRequest

func (c *CodeCommit) DescribeMergeConflictsRequest(input *DescribeMergeConflictsInput) (req *request.Request, output *DescribeMergeConflictsOutput)

DescribeMergeConflictsRequest generates a "aws/request.Request" representing the client's request for the DescribeMergeConflicts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMergeConflicts for more information on using the DescribeMergeConflicts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMergeConflictsRequest method.
req, resp := client.DescribeMergeConflictsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribeMergeConflicts

func (*CodeCommit) DescribeMergeConflictsWithContext

func (c *CodeCommit) DescribeMergeConflictsWithContext(ctx aws.Context, input *DescribeMergeConflictsInput, opts ...request.Option) (*DescribeMergeConflictsOutput, error)

DescribeMergeConflictsWithContext is the same as DescribeMergeConflicts with the addition of the ability to pass a context and additional request options.

See DescribeMergeConflicts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribePullRequestEvents

func (c *CodeCommit) DescribePullRequestEvents(input *DescribePullRequestEventsInput) (*DescribePullRequestEventsOutput, error)

DescribePullRequestEvents API operation for AWS CodeCommit.

Returns information about one or more pull request events.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DescribePullRequestEvents for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

  • InvalidPullRequestEventTypeException The pull request event type is not valid.

  • InvalidActorArnException 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.

  • ActorDoesNotExistException The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account.

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents

func (*CodeCommit) DescribePullRequestEventsPages

func (c *CodeCommit) DescribePullRequestEventsPages(input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool) error

DescribePullRequestEventsPages iterates over the pages of a DescribePullRequestEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribePullRequestEvents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribePullRequestEvents operation.
pageNum := 0
err := client.DescribePullRequestEventsPages(params,
    func(page *codecommit.DescribePullRequestEventsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) DescribePullRequestEventsPagesWithContext

func (c *CodeCommit) DescribePullRequestEventsPagesWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool, opts ...request.Option) error

DescribePullRequestEventsPagesWithContext same as DescribePullRequestEventsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribePullRequestEventsRequest

func (c *CodeCommit) DescribePullRequestEventsRequest(input *DescribePullRequestEventsInput) (req *request.Request, output *DescribePullRequestEventsOutput)

DescribePullRequestEventsRequest generates a "aws/request.Request" representing the client's request for the DescribePullRequestEvents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePullRequestEvents for more information on using the DescribePullRequestEvents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePullRequestEventsRequest method.
req, resp := client.DescribePullRequestEventsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents

func (*CodeCommit) DescribePullRequestEventsWithContext

func (c *CodeCommit) DescribePullRequestEventsWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, opts ...request.Option) (*DescribePullRequestEventsOutput, error)

DescribePullRequestEventsWithContext is the same as DescribePullRequestEvents with the addition of the ability to pass a context and additional request options.

See DescribePullRequestEvents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DisassociateApprovalRuleTemplateFromRepository

DisassociateApprovalRuleTemplateFromRepository API operation for AWS CodeCommit.

Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DisassociateApprovalRuleTemplateFromRepository for usage and error information.

Returned Error Types:

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

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DisassociateApprovalRuleTemplateFromRepository

func (*CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryRequest

func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryRequest(input *DisassociateApprovalRuleTemplateFromRepositoryInput) (req *request.Request, output *DisassociateApprovalRuleTemplateFromRepositoryOutput)

DisassociateApprovalRuleTemplateFromRepositoryRequest generates a "aws/request.Request" representing the client's request for the DisassociateApprovalRuleTemplateFromRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateApprovalRuleTemplateFromRepository for more information on using the DisassociateApprovalRuleTemplateFromRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateApprovalRuleTemplateFromRepositoryRequest method.
req, resp := client.DisassociateApprovalRuleTemplateFromRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DisassociateApprovalRuleTemplateFromRepository

func (*CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryWithContext

func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryWithContext(ctx aws.Context, input *DisassociateApprovalRuleTemplateFromRepositoryInput, opts ...request.Option) (*DisassociateApprovalRuleTemplateFromRepositoryOutput, error)

DisassociateApprovalRuleTemplateFromRepositoryWithContext is the same as DisassociateApprovalRuleTemplateFromRepository with the addition of the ability to pass a context and additional request options.

See DisassociateApprovalRuleTemplateFromRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) EvaluatePullRequestApprovalRules

func (c *CodeCommit) EvaluatePullRequestApprovalRules(input *EvaluatePullRequestApprovalRulesInput) (*EvaluatePullRequestApprovalRulesOutput, error)

EvaluatePullRequestApprovalRules API operation for AWS CodeCommit.

Evaluates whether a pull request has met all the conditions specified in its associated approval rules.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation EvaluatePullRequestApprovalRules for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

  • RevisionIdRequiredException A revision ID is required, but was not provided.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRules

func (*CodeCommit) EvaluatePullRequestApprovalRulesRequest

func (c *CodeCommit) EvaluatePullRequestApprovalRulesRequest(input *EvaluatePullRequestApprovalRulesInput) (req *request.Request, output *EvaluatePullRequestApprovalRulesOutput)

EvaluatePullRequestApprovalRulesRequest generates a "aws/request.Request" representing the client's request for the EvaluatePullRequestApprovalRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EvaluatePullRequestApprovalRules for more information on using the EvaluatePullRequestApprovalRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EvaluatePullRequestApprovalRulesRequest method.
req, resp := client.EvaluatePullRequestApprovalRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRules

func (*CodeCommit) EvaluatePullRequestApprovalRulesWithContext

func (c *CodeCommit) EvaluatePullRequestApprovalRulesWithContext(ctx aws.Context, input *EvaluatePullRequestApprovalRulesInput, opts ...request.Option) (*EvaluatePullRequestApprovalRulesOutput, error)

EvaluatePullRequestApprovalRulesWithContext is the same as EvaluatePullRequestApprovalRules with the addition of the ability to pass a context and additional request options.

See EvaluatePullRequestApprovalRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetApprovalRuleTemplate

func (c *CodeCommit) GetApprovalRuleTemplate(input *GetApprovalRuleTemplateInput) (*GetApprovalRuleTemplateOutput, error)

GetApprovalRuleTemplate API operation for AWS CodeCommit.

Returns information about a specified approval rule template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetApprovalRuleTemplate for usage and error information.

Returned Error Types:

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

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplate

func (*CodeCommit) GetApprovalRuleTemplateRequest

func (c *CodeCommit) GetApprovalRuleTemplateRequest(input *GetApprovalRuleTemplateInput) (req *request.Request, output *GetApprovalRuleTemplateOutput)

GetApprovalRuleTemplateRequest generates a "aws/request.Request" representing the client's request for the GetApprovalRuleTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetApprovalRuleTemplate for more information on using the GetApprovalRuleTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetApprovalRuleTemplateRequest method.
req, resp := client.GetApprovalRuleTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplate

func (*CodeCommit) GetApprovalRuleTemplateWithContext

func (c *CodeCommit) GetApprovalRuleTemplateWithContext(ctx aws.Context, input *GetApprovalRuleTemplateInput, opts ...request.Option) (*GetApprovalRuleTemplateOutput, error)

GetApprovalRuleTemplateWithContext is the same as GetApprovalRuleTemplate with the addition of the ability to pass a context and additional request options.

See GetApprovalRuleTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetBlob

func (c *CodeCommit) GetBlob(input *GetBlobInput) (*GetBlobOutput, error)

GetBlob API operation for AWS CodeCommit.

Returns the base-64 encoded content of an individual blob in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetBlob for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • BlobIdRequiredException A blob ID is required, but was not specified.

  • InvalidBlobIdException The specified blob is not valid.

  • BlobIdDoesNotExistException The specified blob does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob

func (*CodeCommit) GetBlobRequest

func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, output *GetBlobOutput)

GetBlobRequest generates a "aws/request.Request" representing the client's request for the GetBlob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBlob for more information on using the GetBlob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBlobRequest method.
req, resp := client.GetBlobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob

func (*CodeCommit) GetBlobWithContext

func (c *CodeCommit) GetBlobWithContext(ctx aws.Context, input *GetBlobInput, opts ...request.Option) (*GetBlobOutput, error)

GetBlobWithContext is the same as GetBlob with the addition of the ability to pass a context and additional request options.

See GetBlob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetBranch

func (c *CodeCommit) GetBranch(input *GetBranchInput) (*GetBranchOutput, error)

GetBranch API operation for AWS CodeCommit.

Returns information about a repository branch, including its name and the last commit ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetBranch for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • BranchNameRequiredException A branch name is required, but was not specified.

  • InvalidBranchNameException The specified reference name is not valid.

  • BranchDoesNotExistException The specified branch does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch

func (*CodeCommit) GetBranchRequest

func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput)

GetBranchRequest generates a "aws/request.Request" representing the client's request for the GetBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBranch for more information on using the GetBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBranchRequest method.
req, resp := client.GetBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch

func (*CodeCommit) GetBranchWithContext

func (c *CodeCommit) GetBranchWithContext(ctx aws.Context, input *GetBranchInput, opts ...request.Option) (*GetBranchOutput, error)

GetBranchWithContext is the same as GetBranch with the addition of the ability to pass a context and additional request options.

See GetBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetComment

func (c *CodeCommit) GetComment(input *GetCommentInput) (*GetCommentOutput, error)

GetComment API operation for AWS CodeCommit.

Returns the content of a comment made on a change, file, or commit in a repository.

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetComment for usage and error information.

Returned Error Types:

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

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

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

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment

func (*CodeCommit) GetCommentReactions

func (c *CodeCommit) GetCommentReactions(input *GetCommentReactionsInput) (*GetCommentReactionsOutput, error)

GetCommentReactions API operation for AWS CodeCommit.

Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommentReactions for usage and error information.

Returned Error Types:

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

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

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

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

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • InvalidContinuationTokenException The specified continuation token is not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactions

func (*CodeCommit) GetCommentReactionsPages

func (c *CodeCommit) GetCommentReactionsPages(input *GetCommentReactionsInput, fn func(*GetCommentReactionsOutput, bool) bool) error

GetCommentReactionsPages iterates over the pages of a GetCommentReactions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetCommentReactions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetCommentReactions operation.
pageNum := 0
err := client.GetCommentReactionsPages(params,
    func(page *codecommit.GetCommentReactionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetCommentReactionsPagesWithContext

func (c *CodeCommit) GetCommentReactionsPagesWithContext(ctx aws.Context, input *GetCommentReactionsInput, fn func(*GetCommentReactionsOutput, bool) bool, opts ...request.Option) error

GetCommentReactionsPagesWithContext same as GetCommentReactionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentReactionsRequest

func (c *CodeCommit) GetCommentReactionsRequest(input *GetCommentReactionsInput) (req *request.Request, output *GetCommentReactionsOutput)

GetCommentReactionsRequest generates a "aws/request.Request" representing the client's request for the GetCommentReactions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommentReactions for more information on using the GetCommentReactions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentReactionsRequest method.
req, resp := client.GetCommentReactionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactions

func (*CodeCommit) GetCommentReactionsWithContext

func (c *CodeCommit) GetCommentReactionsWithContext(ctx aws.Context, input *GetCommentReactionsInput, opts ...request.Option) (*GetCommentReactionsOutput, error)

GetCommentReactionsWithContext is the same as GetCommentReactions with the addition of the ability to pass a context and additional request options.

See GetCommentReactions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentRequest

func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Request, output *GetCommentOutput)

GetCommentRequest generates a "aws/request.Request" representing the client's request for the GetComment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComment for more information on using the GetComment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentRequest method.
req, resp := client.GetCommentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment

func (*CodeCommit) GetCommentWithContext

func (c *CodeCommit) GetCommentWithContext(ctx aws.Context, input *GetCommentInput, opts ...request.Option) (*GetCommentOutput, error)

GetCommentWithContext is the same as GetComment with the addition of the ability to pass a context and additional request options.

See GetComment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForComparedCommit

func (c *CodeCommit) GetCommentsForComparedCommit(input *GetCommentsForComparedCommitInput) (*GetCommentsForComparedCommitOutput, error)

GetCommentsForComparedCommit API operation for AWS CodeCommit.

Returns information about comments made on the comparison between two commits.

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommentsForComparedCommit for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • CommitIdRequiredException A commit ID was not specified.

  • InvalidCommitIdException The specified commit ID is not valid.

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

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit

func (*CodeCommit) GetCommentsForComparedCommitPages

func (c *CodeCommit) GetCommentsForComparedCommitPages(input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool) error

GetCommentsForComparedCommitPages iterates over the pages of a GetCommentsForComparedCommit operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetCommentsForComparedCommit method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetCommentsForComparedCommit operation.
pageNum := 0
err := client.GetCommentsForComparedCommitPages(params,
    func(page *codecommit.GetCommentsForComparedCommitOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetCommentsForComparedCommitPagesWithContext

func (c *CodeCommit) GetCommentsForComparedCommitPagesWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool, opts ...request.Option) error

GetCommentsForComparedCommitPagesWithContext same as GetCommentsForComparedCommitPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForComparedCommitRequest

func (c *CodeCommit) GetCommentsForComparedCommitRequest(input *GetCommentsForComparedCommitInput) (req *request.Request, output *GetCommentsForComparedCommitOutput)

GetCommentsForComparedCommitRequest generates a "aws/request.Request" representing the client's request for the GetCommentsForComparedCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommentsForComparedCommit for more information on using the GetCommentsForComparedCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentsForComparedCommitRequest method.
req, resp := client.GetCommentsForComparedCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit

func (*CodeCommit) GetCommentsForComparedCommitWithContext

func (c *CodeCommit) GetCommentsForComparedCommitWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, opts ...request.Option) (*GetCommentsForComparedCommitOutput, error)

GetCommentsForComparedCommitWithContext is the same as GetCommentsForComparedCommit with the addition of the ability to pass a context and additional request options.

See GetCommentsForComparedCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForPullRequest

func (c *CodeCommit) GetCommentsForPullRequest(input *GetCommentsForPullRequestInput) (*GetCommentsForPullRequestOutput, error)

GetCommentsForPullRequest API operation for AWS CodeCommit.

Returns comments made on a pull request.

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommentsForPullRequest for usage and error information.

Returned Error Types:

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

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • CommitIdRequiredException A commit ID was not specified.

  • InvalidCommitIdException The specified commit ID is not valid.

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

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • RepositoryNotAssociatedWithPullRequestException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest

func (*CodeCommit) GetCommentsForPullRequestPages

func (c *CodeCommit) GetCommentsForPullRequestPages(input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool) error

GetCommentsForPullRequestPages iterates over the pages of a GetCommentsForPullRequest operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetCommentsForPullRequest method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetCommentsForPullRequest operation.
pageNum := 0
err := client.GetCommentsForPullRequestPages(params,
    func(page *codecommit.GetCommentsForPullRequestOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetCommentsForPullRequestPagesWithContext

func (c *CodeCommit) GetCommentsForPullRequestPagesWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool, opts ...request.Option) error

GetCommentsForPullRequestPagesWithContext same as GetCommentsForPullRequestPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForPullRequestRequest

func (c *CodeCommit) GetCommentsForPullRequestRequest(input *GetCommentsForPullRequestInput) (req *request.Request, output *GetCommentsForPullRequestOutput)

GetCommentsForPullRequestRequest generates a "aws/request.Request" representing the client's request for the GetCommentsForPullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommentsForPullRequest for more information on using the GetCommentsForPullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentsForPullRequestRequest method.
req, resp := client.GetCommentsForPullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest

func (*CodeCommit) GetCommentsForPullRequestWithContext

func (c *CodeCommit) GetCommentsForPullRequestWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, opts ...request.Option) (*GetCommentsForPullRequestOutput, error)

GetCommentsForPullRequestWithContext is the same as GetCommentsForPullRequest with the addition of the ability to pass a context and additional request options.

See GetCommentsForPullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommit

func (c *CodeCommit) GetCommit(input *GetCommitInput) (*GetCommitOutput, error)

GetCommit API operation for AWS CodeCommit.

Returns information about a commit, including commit message and committer information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommit for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • CommitIdRequiredException A commit ID was not specified.

  • InvalidCommitIdException The specified commit ID is not valid.

  • CommitIdDoesNotExistException The specified commit ID does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit

func (*CodeCommit) GetCommitRequest

func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Request, output *GetCommitOutput)

GetCommitRequest generates a "aws/request.Request" representing the client's request for the GetCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommit for more information on using the GetCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommitRequest method.
req, resp := client.GetCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit

func (*CodeCommit) GetCommitWithContext

func (c *CodeCommit) GetCommitWithContext(ctx aws.Context, input *GetCommitInput, opts ...request.Option) (*GetCommitOutput, error)

GetCommitWithContext is the same as GetCommit with the addition of the ability to pass a context and additional request options.

See GetCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetDifferences

func (c *CodeCommit) GetDifferences(input *GetDifferencesInput) (*GetDifferencesOutput, error)

GetDifferences API operation for AWS CodeCommit.

Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetDifferences for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • InvalidCommitIdException The specified commit ID is not valid.

  • CommitRequiredException A commit was not specified.

  • InvalidCommitException The specified commit is not valid.

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

  • InvalidPathException The specified path is not valid.

  • PathDoesNotExistException The specified path does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences

func (*CodeCommit) GetDifferencesPages

func (c *CodeCommit) GetDifferencesPages(input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool) error

GetDifferencesPages iterates over the pages of a GetDifferences operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetDifferences method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetDifferences operation.
pageNum := 0
err := client.GetDifferencesPages(params,
    func(page *codecommit.GetDifferencesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetDifferencesPagesWithContext

func (c *CodeCommit) GetDifferencesPagesWithContext(ctx aws.Context, input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool, opts ...request.Option) error

GetDifferencesPagesWithContext same as GetDifferencesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetDifferencesRequest

func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *request.Request, output *GetDifferencesOutput)

GetDifferencesRequest generates a "aws/request.Request" representing the client's request for the GetDifferences operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDifferences for more information on using the GetDifferences API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDifferencesRequest method.
req, resp := client.GetDifferencesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences

func (*CodeCommit) GetDifferencesWithContext

func (c *CodeCommit) GetDifferencesWithContext(ctx aws.Context, input *GetDifferencesInput, opts ...request.Option) (*GetDifferencesOutput, error)

GetDifferencesWithContext is the same as GetDifferences with the addition of the ability to pass a context and additional request options.

See GetDifferences for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetFile

func (c *CodeCommit) GetFile(input *GetFileInput) (*GetFileOutput, error)

GetFile API operation for AWS CodeCommit.

Returns the base-64 encoded contents of a specified file and its metadata.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetFile for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidCommitException The specified commit is not valid.

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

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFile

func (*CodeCommit) GetFileRequest

func (c *CodeCommit) GetFileRequest(input *GetFileInput) (req *request.Request, output *GetFileOutput)

GetFileRequest generates a "aws/request.Request" representing the client's request for the GetFile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFile for more information on using the GetFile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFileRequest method.
req, resp := client.GetFileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFile

func (*CodeCommit) GetFileWithContext

func (c *CodeCommit) GetFileWithContext(ctx aws.Context, input *GetFileInput, opts ...request.Option) (*GetFileOutput, error)

GetFileWithContext is the same as GetFile with the addition of the ability to pass a context and additional request options.

See GetFile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetFolder

func (c *CodeCommit) GetFolder(input *GetFolderInput) (*GetFolderOutput, error)

GetFolder API operation for AWS CodeCommit.

Returns the contents of a specified folder in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetFolder for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidCommitException The specified commit is not valid.

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

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolder

func (*CodeCommit) GetFolderRequest

func (c *CodeCommit) GetFolderRequest(input *GetFolderInput) (req *request.Request, output *GetFolderOutput)

GetFolderRequest generates a "aws/request.Request" representing the client's request for the GetFolder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFolder for more information on using the GetFolder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFolderRequest method.
req, resp := client.GetFolderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolder

func (*CodeCommit) GetFolderWithContext

func (c *CodeCommit) GetFolderWithContext(ctx aws.Context, input *GetFolderInput, opts ...request.Option) (*GetFolderOutput, error)

GetFolderWithContext is the same as GetFolder with the addition of the ability to pass a context and additional request options.

See GetFolder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeCommit

func (c *CodeCommit) GetMergeCommit(input *GetMergeCommitInput) (*GetMergeCommitOutput, error)

GetMergeCommit API operation for AWS CodeCommit.

Returns information about a specified merge commit.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetMergeCommit for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • CommitRequiredException A commit was not specified.

  • InvalidCommitException The specified commit is not valid.

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

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommit

func (*CodeCommit) GetMergeCommitRequest

func (c *CodeCommit) GetMergeCommitRequest(input *GetMergeCommitInput) (req *request.Request, output *GetMergeCommitOutput)

GetMergeCommitRequest generates a "aws/request.Request" representing the client's request for the GetMergeCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMergeCommit for more information on using the GetMergeCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMergeCommitRequest method.
req, resp := client.GetMergeCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommit

func (*CodeCommit) GetMergeCommitWithContext

func (c *CodeCommit) GetMergeCommitWithContext(ctx aws.Context, input *GetMergeCommitInput, opts ...request.Option) (*GetMergeCommitOutput, error)

GetMergeCommitWithContext is the same as GetMergeCommit with the addition of the ability to pass a context and additional request options.

See GetMergeCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeConflicts

func (c *CodeCommit) GetMergeConflicts(input *GetMergeConflictsInput) (*GetMergeConflictsOutput, error)

GetMergeConflicts API operation for AWS CodeCommit.

Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetMergeConflicts for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

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

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

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • CommitRequiredException A commit was not specified.

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

  • InvalidCommitException The specified commit is not valid.

  • TipsDivergenceExceededException 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.

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

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

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

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

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • MaximumFileContentToLoadExceededException The number of files to load exceeds the allowed limit.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts

func (*CodeCommit) GetMergeConflictsPages

func (c *CodeCommit) GetMergeConflictsPages(input *GetMergeConflictsInput, fn func(*GetMergeConflictsOutput, bool) bool) error

GetMergeConflictsPages iterates over the pages of a GetMergeConflicts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetMergeConflicts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetMergeConflicts operation.
pageNum := 0
err := client.GetMergeConflictsPages(params,
    func(page *codecommit.GetMergeConflictsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetMergeConflictsPagesWithContext

func (c *CodeCommit) GetMergeConflictsPagesWithContext(ctx aws.Context, input *GetMergeConflictsInput, fn func(*GetMergeConflictsOutput, bool) bool, opts ...request.Option) error

GetMergeConflictsPagesWithContext same as GetMergeConflictsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeConflictsRequest

func (c *CodeCommit) GetMergeConflictsRequest(input *GetMergeConflictsInput) (req *request.Request, output *GetMergeConflictsOutput)

GetMergeConflictsRequest generates a "aws/request.Request" representing the client's request for the GetMergeConflicts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMergeConflicts for more information on using the GetMergeConflicts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMergeConflictsRequest method.
req, resp := client.GetMergeConflictsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts

func (*CodeCommit) GetMergeConflictsWithContext

func (c *CodeCommit) GetMergeConflictsWithContext(ctx aws.Context, input *GetMergeConflictsInput, opts ...request.Option) (*GetMergeConflictsOutput, error)

GetMergeConflictsWithContext is the same as GetMergeConflicts with the addition of the ability to pass a context and additional request options.

See GetMergeConflicts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeOptions

func (c *CodeCommit) GetMergeOptions(input *GetMergeOptionsInput) (*GetMergeOptionsOutput, error)

GetMergeOptions API operation for AWS CodeCommit.

Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetMergeOptions for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • CommitRequiredException A commit was not specified.

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

  • InvalidCommitException The specified commit is not valid.

  • TipsDivergenceExceededException 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.

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • MaximumFileContentToLoadExceededException The number of files to load exceeds the allowed limit.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptions

func (*CodeCommit) GetMergeOptionsRequest

func (c *CodeCommit) GetMergeOptionsRequest(input *GetMergeOptionsInput) (req *request.Request, output *GetMergeOptionsOutput)

GetMergeOptionsRequest generates a "aws/request.Request" representing the client's request for the GetMergeOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMergeOptions for more information on using the GetMergeOptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMergeOptionsRequest method.
req, resp := client.GetMergeOptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptions

func (*CodeCommit) GetMergeOptionsWithContext

func (c *CodeCommit) GetMergeOptionsWithContext(ctx aws.Context, input *GetMergeOptionsInput, opts ...request.Option) (*GetMergeOptionsOutput, error)

GetMergeOptionsWithContext is the same as GetMergeOptions with the addition of the ability to pass a context and additional request options.

See GetMergeOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetPullRequest

func (c *CodeCommit) GetPullRequest(input *GetPullRequestInput) (*GetPullRequestOutput, error)

GetPullRequest API operation for AWS CodeCommit.

Gets information about a pull request in a specified repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetPullRequest for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest

func (*CodeCommit) GetPullRequestApprovalStates

func (c *CodeCommit) GetPullRequestApprovalStates(input *GetPullRequestApprovalStatesInput) (*GetPullRequestApprovalStatesOutput, error)

GetPullRequestApprovalStates API operation for AWS CodeCommit.

Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetPullRequestApprovalStates for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

  • RevisionIdRequiredException A revision ID is required, but was not provided.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStates

func (*CodeCommit) GetPullRequestApprovalStatesRequest

func (c *CodeCommit) GetPullRequestApprovalStatesRequest(input *GetPullRequestApprovalStatesInput) (req *request.Request, output *GetPullRequestApprovalStatesOutput)

GetPullRequestApprovalStatesRequest generates a "aws/request.Request" representing the client's request for the GetPullRequestApprovalStates operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPullRequestApprovalStates for more information on using the GetPullRequestApprovalStates API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPullRequestApprovalStatesRequest method.
req, resp := client.GetPullRequestApprovalStatesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStates

func (*CodeCommit) GetPullRequestApprovalStatesWithContext

func (c *CodeCommit) GetPullRequestApprovalStatesWithContext(ctx aws.Context, input *GetPullRequestApprovalStatesInput, opts ...request.Option) (*GetPullRequestApprovalStatesOutput, error)

GetPullRequestApprovalStatesWithContext is the same as GetPullRequestApprovalStates with the addition of the ability to pass a context and additional request options.

See GetPullRequestApprovalStates for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetPullRequestOverrideState

func (c *CodeCommit) GetPullRequestOverrideState(input *GetPullRequestOverrideStateInput) (*GetPullRequestOverrideStateOutput, error)

GetPullRequestOverrideState API operation for AWS CodeCommit.

Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetPullRequestOverrideState for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

  • RevisionIdRequiredException A revision ID is required, but was not provided.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideState

func (*CodeCommit) GetPullRequestOverrideStateRequest

func (c *CodeCommit) GetPullRequestOverrideStateRequest(input *GetPullRequestOverrideStateInput) (req *request.Request, output *GetPullRequestOverrideStateOutput)

GetPullRequestOverrideStateRequest generates a "aws/request.Request" representing the client's request for the GetPullRequestOverrideState operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPullRequestOverrideState for more information on using the GetPullRequestOverrideState API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPullRequestOverrideStateRequest method.
req, resp := client.GetPullRequestOverrideStateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideState

func (*CodeCommit) GetPullRequestOverrideStateWithContext

func (c *CodeCommit) GetPullRequestOverrideStateWithContext(ctx aws.Context, input *GetPullRequestOverrideStateInput, opts ...request.Option) (*GetPullRequestOverrideStateOutput, error)

GetPullRequestOverrideStateWithContext is the same as GetPullRequestOverrideState with the addition of the ability to pass a context and additional request options.

See GetPullRequestOverrideState for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetPullRequestRequest

func (c *CodeCommit) GetPullRequestRequest(input *GetPullRequestInput) (req *request.Request, output *GetPullRequestOutput)

GetPullRequestRequest generates a "aws/request.Request" representing the client's request for the GetPullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPullRequest for more information on using the GetPullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPullRequestRequest method.
req, resp := client.GetPullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest

func (*CodeCommit) GetPullRequestWithContext

func (c *CodeCommit) GetPullRequestWithContext(ctx aws.Context, input *GetPullRequestInput, opts ...request.Option) (*GetPullRequestOutput, error)

GetPullRequestWithContext is the same as GetPullRequest with the addition of the ability to pass a context and additional request options.

See GetPullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetRepository

func (c *CodeCommit) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error)

GetRepository API operation for AWS CodeCommit.

Returns information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetRepository for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository

func (*CodeCommit) GetRepositoryRequest

func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput)

GetRepositoryRequest generates a "aws/request.Request" representing the client's request for the GetRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepository for more information on using the GetRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryRequest method.
req, resp := client.GetRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository

func (*CodeCommit) GetRepositoryTriggers

func (c *CodeCommit) GetRepositoryTriggers(input *GetRepositoryTriggersInput) (*GetRepositoryTriggersOutput, error)

GetRepositoryTriggers API operation for AWS CodeCommit.

Gets information about triggers configured for a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetRepositoryTriggers for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers

func (*CodeCommit) GetRepositoryTriggersRequest

func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) (req *request.Request, output *GetRepositoryTriggersOutput)

GetRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryTriggers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepositoryTriggers for more information on using the GetRepositoryTriggers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryTriggersRequest method.
req, resp := client.GetRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers

func (*CodeCommit) GetRepositoryTriggersWithContext

func (c *CodeCommit) GetRepositoryTriggersWithContext(ctx aws.Context, input *GetRepositoryTriggersInput, opts ...request.Option) (*GetRepositoryTriggersOutput, error)

GetRepositoryTriggersWithContext is the same as GetRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See GetRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetRepositoryWithContext

func (c *CodeCommit) GetRepositoryWithContext(ctx aws.Context, input *GetRepositoryInput, opts ...request.Option) (*GetRepositoryOutput, error)

GetRepositoryWithContext is the same as GetRepository with the addition of the ability to pass a context and additional request options.

See GetRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListApprovalRuleTemplates

func (c *CodeCommit) ListApprovalRuleTemplates(input *ListApprovalRuleTemplatesInput) (*ListApprovalRuleTemplatesOutput, error)

ListApprovalRuleTemplates API operation for AWS CodeCommit.

Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListApprovalRuleTemplates for usage and error information.

Returned Error Types:

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • InvalidContinuationTokenException The specified continuation token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplates

func (*CodeCommit) ListApprovalRuleTemplatesPages

func (c *CodeCommit) ListApprovalRuleTemplatesPages(input *ListApprovalRuleTemplatesInput, fn func(*ListApprovalRuleTemplatesOutput, bool) bool) error

ListApprovalRuleTemplatesPages iterates over the pages of a ListApprovalRuleTemplates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListApprovalRuleTemplates method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListApprovalRuleTemplates operation.
pageNum := 0
err := client.ListApprovalRuleTemplatesPages(params,
    func(page *codecommit.ListApprovalRuleTemplatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListApprovalRuleTemplatesPagesWithContext

func (c *CodeCommit) ListApprovalRuleTemplatesPagesWithContext(ctx aws.Context, input *ListApprovalRuleTemplatesInput, fn func(*ListApprovalRuleTemplatesOutput, bool) bool, opts ...request.Option) error

ListApprovalRuleTemplatesPagesWithContext same as ListApprovalRuleTemplatesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListApprovalRuleTemplatesRequest

func (c *CodeCommit) ListApprovalRuleTemplatesRequest(input *ListApprovalRuleTemplatesInput) (req *request.Request, output *ListApprovalRuleTemplatesOutput)

ListApprovalRuleTemplatesRequest generates a "aws/request.Request" representing the client's request for the ListApprovalRuleTemplates operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListApprovalRuleTemplates for more information on using the ListApprovalRuleTemplates API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListApprovalRuleTemplatesRequest method.
req, resp := client.ListApprovalRuleTemplatesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplates

func (*CodeCommit) ListApprovalRuleTemplatesWithContext

func (c *CodeCommit) ListApprovalRuleTemplatesWithContext(ctx aws.Context, input *ListApprovalRuleTemplatesInput, opts ...request.Option) (*ListApprovalRuleTemplatesOutput, error)

ListApprovalRuleTemplatesWithContext is the same as ListApprovalRuleTemplates with the addition of the ability to pass a context and additional request options.

See ListApprovalRuleTemplates for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepository

ListAssociatedApprovalRuleTemplatesForRepository API operation for AWS CodeCommit.

Lists all approval rule templates that are associated with a specified repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListAssociatedApprovalRuleTemplatesForRepository for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepository

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPages

func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPages(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, fn func(*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, bool) bool) error

ListAssociatedApprovalRuleTemplatesForRepositoryPages iterates over the pages of a ListAssociatedApprovalRuleTemplatesForRepository operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssociatedApprovalRuleTemplatesForRepository method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssociatedApprovalRuleTemplatesForRepository operation.
pageNum := 0
err := client.ListAssociatedApprovalRuleTemplatesForRepositoryPages(params,
    func(page *codecommit.ListAssociatedApprovalRuleTemplatesForRepositoryOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPagesWithContext

func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPagesWithContext(ctx aws.Context, input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, fn func(*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, bool) bool, opts ...request.Option) error

ListAssociatedApprovalRuleTemplatesForRepositoryPagesWithContext same as ListAssociatedApprovalRuleTemplatesForRepositoryPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryRequest

func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryRequest(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput) (req *request.Request, output *ListAssociatedApprovalRuleTemplatesForRepositoryOutput)

ListAssociatedApprovalRuleTemplatesForRepositoryRequest generates a "aws/request.Request" representing the client's request for the ListAssociatedApprovalRuleTemplatesForRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAssociatedApprovalRuleTemplatesForRepository for more information on using the ListAssociatedApprovalRuleTemplatesForRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAssociatedApprovalRuleTemplatesForRepositoryRequest method.
req, resp := client.ListAssociatedApprovalRuleTemplatesForRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepository

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryWithContext

func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryWithContext(ctx aws.Context, input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, opts ...request.Option) (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, error)

ListAssociatedApprovalRuleTemplatesForRepositoryWithContext is the same as ListAssociatedApprovalRuleTemplatesForRepository with the addition of the ability to pass a context and additional request options.

See ListAssociatedApprovalRuleTemplatesForRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListBranches

func (c *CodeCommit) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error)

ListBranches API operation for AWS CodeCommit.

Gets information about one or more branches in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListBranches for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

  • InvalidContinuationTokenException The specified continuation token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches

func (*CodeCommit) ListBranchesPages

func (c *CodeCommit) ListBranchesPages(input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool) error

ListBranchesPages iterates over the pages of a ListBranches operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBranches method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListBranches operation.
pageNum := 0
err := client.ListBranchesPages(params,
    func(page *codecommit.ListBranchesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListBranchesPagesWithContext

func (c *CodeCommit) ListBranchesPagesWithContext(ctx aws.Context, input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool, opts ...request.Option) error

ListBranchesPagesWithContext same as ListBranchesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListBranchesRequest

func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput)

ListBranchesRequest generates a "aws/request.Request" representing the client's request for the ListBranches operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBranches for more information on using the ListBranches API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBranchesRequest method.
req, resp := client.ListBranchesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches

func (*CodeCommit) ListBranchesWithContext

func (c *CodeCommit) ListBranchesWithContext(ctx aws.Context, input *ListBranchesInput, opts ...request.Option) (*ListBranchesOutput, error)

ListBranchesWithContext is the same as ListBranches with the addition of the ability to pass a context and additional request options.

See ListBranches for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListFileCommitHistory

func (c *CodeCommit) ListFileCommitHistory(input *ListFileCommitHistoryInput) (*ListFileCommitHistoryOutput, error)

ListFileCommitHistory API operation for AWS CodeCommit.

Retrieves a list of commits and changes to a specified file.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListFileCommitHistory for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • TipsDivergenceExceededException 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.

  • CommitRequiredException A commit was not specified.

  • InvalidCommitException The specified commit is not valid.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListFileCommitHistory

func (*CodeCommit) ListFileCommitHistoryPages

func (c *CodeCommit) ListFileCommitHistoryPages(input *ListFileCommitHistoryInput, fn func(*ListFileCommitHistoryOutput, bool) bool) error

ListFileCommitHistoryPages iterates over the pages of a ListFileCommitHistory operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFileCommitHistory method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFileCommitHistory operation.
pageNum := 0
err := client.ListFileCommitHistoryPages(params,
    func(page *codecommit.ListFileCommitHistoryOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListFileCommitHistoryPagesWithContext

func (c *CodeCommit) ListFileCommitHistoryPagesWithContext(ctx aws.Context, input *ListFileCommitHistoryInput, fn func(*ListFileCommitHistoryOutput, bool) bool, opts ...request.Option) error

ListFileCommitHistoryPagesWithContext same as ListFileCommitHistoryPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListFileCommitHistoryRequest

func (c *CodeCommit) ListFileCommitHistoryRequest(input *ListFileCommitHistoryInput) (req *request.Request, output *ListFileCommitHistoryOutput)

ListFileCommitHistoryRequest generates a "aws/request.Request" representing the client's request for the ListFileCommitHistory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFileCommitHistory for more information on using the ListFileCommitHistory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFileCommitHistoryRequest method.
req, resp := client.ListFileCommitHistoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListFileCommitHistory

func (*CodeCommit) ListFileCommitHistoryWithContext

func (c *CodeCommit) ListFileCommitHistoryWithContext(ctx aws.Context, input *ListFileCommitHistoryInput, opts ...request.Option) (*ListFileCommitHistoryOutput, error)

ListFileCommitHistoryWithContext is the same as ListFileCommitHistory with the addition of the ability to pass a context and additional request options.

See ListFileCommitHistory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListPullRequests

func (c *CodeCommit) ListPullRequests(input *ListPullRequestsInput) (*ListPullRequestsOutput, error)

ListPullRequests API operation for AWS CodeCommit.

Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListPullRequests for usage and error information.

Returned Error Types:

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

  • InvalidAuthorArnException 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.

  • AuthorDoesNotExistException The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests

func (*CodeCommit) ListPullRequestsPages

func (c *CodeCommit) ListPullRequestsPages(input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool) error

ListPullRequestsPages iterates over the pages of a ListPullRequests operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPullRequests method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPullRequests operation.
pageNum := 0
err := client.ListPullRequestsPages(params,
    func(page *codecommit.ListPullRequestsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListPullRequestsPagesWithContext

func (c *CodeCommit) ListPullRequestsPagesWithContext(ctx aws.Context, input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool, opts ...request.Option) error

ListPullRequestsPagesWithContext same as ListPullRequestsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListPullRequestsRequest

func (c *CodeCommit) ListPullRequestsRequest(input *ListPullRequestsInput) (req *request.Request, output *ListPullRequestsOutput)

ListPullRequestsRequest generates a "aws/request.Request" representing the client's request for the ListPullRequests operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPullRequests for more information on using the ListPullRequests API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPullRequestsRequest method.
req, resp := client.ListPullRequestsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests

func (*CodeCommit) ListPullRequestsWithContext

func (c *CodeCommit) ListPullRequestsWithContext(ctx aws.Context, input *ListPullRequestsInput, opts ...request.Option) (*ListPullRequestsOutput, error)

ListPullRequestsWithContext is the same as ListPullRequests with the addition of the ability to pass a context and additional request options.

See ListPullRequests for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositories

func (c *CodeCommit) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error)

ListRepositories API operation for AWS CodeCommit.

Gets information about one or more repositories.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListRepositories for usage and error information.

Returned Error Types:

  • InvalidSortByException The specified sort by value is not valid.

  • InvalidOrderException The specified sort order is not valid.

  • InvalidContinuationTokenException The specified continuation token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplate

ListRepositoriesForApprovalRuleTemplate API operation for AWS CodeCommit.

Lists all repositories associated with the specified approval rule template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListRepositoriesForApprovalRuleTemplate for usage and error information.

Returned Error Types:

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

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

  • InvalidMaxResultsException The specified number of maximum results is not valid.

  • InvalidContinuationTokenException The specified continuation token is not valid.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplate

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplatePages

func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplatePages(input *ListRepositoriesForApprovalRuleTemplateInput, fn func(*ListRepositoriesForApprovalRuleTemplateOutput, bool) bool) error

ListRepositoriesForApprovalRuleTemplatePages iterates over the pages of a ListRepositoriesForApprovalRuleTemplate operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRepositoriesForApprovalRuleTemplate method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRepositoriesForApprovalRuleTemplate operation.
pageNum := 0
err := client.ListRepositoriesForApprovalRuleTemplatePages(params,
    func(page *codecommit.ListRepositoriesForApprovalRuleTemplateOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplatePagesWithContext

func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplatePagesWithContext(ctx aws.Context, input *ListRepositoriesForApprovalRuleTemplateInput, fn func(*ListRepositoriesForApprovalRuleTemplateOutput, bool) bool, opts ...request.Option) error

ListRepositoriesForApprovalRuleTemplatePagesWithContext same as ListRepositoriesForApprovalRuleTemplatePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplateRequest

func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplateRequest(input *ListRepositoriesForApprovalRuleTemplateInput) (req *request.Request, output *ListRepositoriesForApprovalRuleTemplateOutput)

ListRepositoriesForApprovalRuleTemplateRequest generates a "aws/request.Request" representing the client's request for the ListRepositoriesForApprovalRuleTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRepositoriesForApprovalRuleTemplate for more information on using the ListRepositoriesForApprovalRuleTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRepositoriesForApprovalRuleTemplateRequest method.
req, resp := client.ListRepositoriesForApprovalRuleTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplate

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplateWithContext

func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplateWithContext(ctx aws.Context, input *ListRepositoriesForApprovalRuleTemplateInput, opts ...request.Option) (*ListRepositoriesForApprovalRuleTemplateOutput, error)

ListRepositoriesForApprovalRuleTemplateWithContext is the same as ListRepositoriesForApprovalRuleTemplate with the addition of the ability to pass a context and additional request options.

See ListRepositoriesForApprovalRuleTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositoriesPages

func (c *CodeCommit) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error

ListRepositoriesPages iterates over the pages of a ListRepositories operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRepositories method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRepositories operation.
pageNum := 0
err := client.ListRepositoriesPages(params,
    func(page *codecommit.ListRepositoriesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListRepositoriesPagesWithContext

func (c *CodeCommit) ListRepositoriesPagesWithContext(ctx aws.Context, input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool, opts ...request.Option) error

ListRepositoriesPagesWithContext same as ListRepositoriesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositoriesRequest

func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput)

ListRepositoriesRequest generates a "aws/request.Request" representing the client's request for the ListRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRepositories for more information on using the ListRepositories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRepositoriesRequest method.
req, resp := client.ListRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories

func (*CodeCommit) ListRepositoriesWithContext

func (c *CodeCommit) ListRepositoriesWithContext(ctx aws.Context, input *ListRepositoriesInput, opts ...request.Option) (*ListRepositoriesOutput, error)

ListRepositoriesWithContext is the same as ListRepositories with the addition of the ability to pass a context and additional request options.

See ListRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListTagsForResource

func (c *CodeCommit) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS CodeCommit.

Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in 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 CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListTagsForResource for usage and error information.

Returned Error Types:

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListTagsForResource

func (*CodeCommit) ListTagsForResourceRequest

func (c *CodeCommit) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListTagsForResource

func (*CodeCommit) ListTagsForResourceWithContext

func (c *CodeCommit) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergeBranchesByFastForward

func (c *CodeCommit) MergeBranchesByFastForward(input *MergeBranchesByFastForwardInput) (*MergeBranchesByFastForwardOutput, error)

MergeBranchesByFastForward API operation for AWS CodeCommit.

Merges two branches using the fast-forward merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergeBranchesByFastForward for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • TipsDivergenceExceededException 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.

  • CommitRequiredException A commit was not specified.

  • InvalidCommitException The specified commit is not valid.

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

  • InvalidTargetBranchException The specified target branch is not valid.

  • InvalidBranchNameException The specified reference name is not valid.

  • BranchNameRequiredException A branch name is required, but was not specified.

  • BranchNameIsTagNameException 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.

  • BranchDoesNotExistException The specified branch does not exist.

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

  • ConcurrentReferenceUpdateException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForward

func (*CodeCommit) MergeBranchesByFastForwardRequest

func (c *CodeCommit) MergeBranchesByFastForwardRequest(input *MergeBranchesByFastForwardInput) (req *request.Request, output *MergeBranchesByFastForwardOutput)

MergeBranchesByFastForwardRequest generates a "aws/request.Request" representing the client's request for the MergeBranchesByFastForward operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergeBranchesByFastForward for more information on using the MergeBranchesByFastForward API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergeBranchesByFastForwardRequest method.
req, resp := client.MergeBranchesByFastForwardRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForward

func (*CodeCommit) MergeBranchesByFastForwardWithContext

func (c *CodeCommit) MergeBranchesByFastForwardWithContext(ctx aws.Context, input *MergeBranchesByFastForwardInput, opts ...request.Option) (*MergeBranchesByFastForwardOutput, error)

MergeBranchesByFastForwardWithContext is the same as MergeBranchesByFastForward with the addition of the ability to pass a context and additional request options.

See MergeBranchesByFastForward for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergeBranchesBySquash

func (c *CodeCommit) MergeBranchesBySquash(input *MergeBranchesBySquashInput) (*MergeBranchesBySquashOutput, error)

MergeBranchesBySquash API operation for AWS CodeCommit.

Merges two branches using the squash merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergeBranchesBySquash for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • TipsDivergenceExceededException 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.

  • CommitRequiredException A commit was not specified.

  • InvalidCommitException The specified commit is not valid.

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

  • InvalidTargetBranchException The specified target branch is not valid.

  • InvalidBranchNameException The specified reference name is not valid.

  • BranchNameRequiredException A branch name is required, but was not specified.

  • BranchNameIsTagNameException 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.

  • BranchDoesNotExistException The specified branch does not exist.

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

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • InvalidConflictResolutionException The specified conflict resolution list is not valid.

  • MaximumConflictResolutionEntriesExceededException The number of allowed conflict resolution entries was exceeded.

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

  • ReplacementTypeRequiredException A replacement type is required.

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

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

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

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

  • FileContentSizeLimitExceededException 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.

  • FolderContentSizeLimitExceededException 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.

  • MaximumFileContentToLoadExceededException The number of files to load exceeds the allowed limit.

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

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

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

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

  • InvalidEmailException 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.

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

  • ConcurrentReferenceUpdateException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquash

func (*CodeCommit) MergeBranchesBySquashRequest

func (c *CodeCommit) MergeBranchesBySquashRequest(input *MergeBranchesBySquashInput) (req *request.Request, output *MergeBranchesBySquashOutput)

MergeBranchesBySquashRequest generates a "aws/request.Request" representing the client's request for the MergeBranchesBySquash operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergeBranchesBySquash for more information on using the MergeBranchesBySquash API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergeBranchesBySquashRequest method.
req, resp := client.MergeBranchesBySquashRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquash

func (*CodeCommit) MergeBranchesBySquashWithContext

func (c *CodeCommit) MergeBranchesBySquashWithContext(ctx aws.Context, input *MergeBranchesBySquashInput, opts ...request.Option) (*MergeBranchesBySquashOutput, error)

MergeBranchesBySquashWithContext is the same as MergeBranchesBySquash with the addition of the ability to pass a context and additional request options.

See MergeBranchesBySquash for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergeBranchesByThreeWay

func (c *CodeCommit) MergeBranchesByThreeWay(input *MergeBranchesByThreeWayInput) (*MergeBranchesByThreeWayOutput, error)

MergeBranchesByThreeWay API operation for AWS CodeCommit.

Merges two specified branches using the three-way merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergeBranchesByThreeWay for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • TipsDivergenceExceededException 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.

  • CommitRequiredException A commit was not specified.

  • InvalidCommitException The specified commit is not valid.

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

  • InvalidTargetBranchException The specified target branch is not valid.

  • InvalidBranchNameException The specified reference name is not valid.

  • BranchNameRequiredException A branch name is required, but was not specified.

  • BranchNameIsTagNameException 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.

  • BranchDoesNotExistException The specified branch does not exist.

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

  • ConcurrentReferenceUpdateException 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.

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • InvalidConflictResolutionException The specified conflict resolution list is not valid.

  • MaximumConflictResolutionEntriesExceededException The number of allowed conflict resolution entries was exceeded.

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

  • ReplacementTypeRequiredException A replacement type is required.

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

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

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

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

  • FileContentSizeLimitExceededException 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.

  • FolderContentSizeLimitExceededException 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.

  • MaximumFileContentToLoadExceededException The number of files to load exceeds the allowed limit.

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

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

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

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

  • InvalidEmailException 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.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWay

func (*CodeCommit) MergeBranchesByThreeWayRequest

func (c *CodeCommit) MergeBranchesByThreeWayRequest(input *MergeBranchesByThreeWayInput) (req *request.Request, output *MergeBranchesByThreeWayOutput)

MergeBranchesByThreeWayRequest generates a "aws/request.Request" representing the client's request for the MergeBranchesByThreeWay operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergeBranchesByThreeWay for more information on using the MergeBranchesByThreeWay API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergeBranchesByThreeWayRequest method.
req, resp := client.MergeBranchesByThreeWayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWay

func (*CodeCommit) MergeBranchesByThreeWayWithContext

func (c *CodeCommit) MergeBranchesByThreeWayWithContext(ctx aws.Context, input *MergeBranchesByThreeWayInput, opts ...request.Option) (*MergeBranchesByThreeWayOutput, error)

MergeBranchesByThreeWayWithContext is the same as MergeBranchesByThreeWay with the addition of the ability to pass a context and additional request options.

See MergeBranchesByThreeWay for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergePullRequestByFastForward

func (c *CodeCommit) MergePullRequestByFastForward(input *MergePullRequestByFastForwardInput) (*MergePullRequestByFastForwardOutput, error)

MergePullRequestByFastForward API operation for AWS CodeCommit.

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergePullRequestByFastForward for usage and error information.

Returned Error Types:

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

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

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

  • TipOfSourceReferenceIsDifferentException 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.

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

  • InvalidCommitIdException The specified commit ID is not valid.

  • RepositoryNotAssociatedWithPullRequestException 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.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • ConcurrentReferenceUpdateException 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.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward

func (*CodeCommit) MergePullRequestByFastForwardRequest

func (c *CodeCommit) MergePullRequestByFastForwardRequest(input *MergePullRequestByFastForwardInput) (req *request.Request, output *MergePullRequestByFastForwardOutput)

MergePullRequestByFastForwardRequest generates a "aws/request.Request" representing the client's request for the MergePullRequestByFastForward operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergePullRequestByFastForward for more information on using the MergePullRequestByFastForward API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergePullRequestByFastForwardRequest method.
req, resp := client.MergePullRequestByFastForwardRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward

func (*CodeCommit) MergePullRequestByFastForwardWithContext

func (c *CodeCommit) MergePullRequestByFastForwardWithContext(ctx aws.Context, input *MergePullRequestByFastForwardInput, opts ...request.Option) (*MergePullRequestByFastForwardOutput, error)

MergePullRequestByFastForwardWithContext is the same as MergePullRequestByFastForward with the addition of the ability to pass a context and additional request options.

See MergePullRequestByFastForward for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergePullRequestBySquash

func (c *CodeCommit) MergePullRequestBySquash(input *MergePullRequestBySquashInput) (*MergePullRequestBySquashOutput, error)

MergePullRequestBySquash API operation for AWS CodeCommit.

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergePullRequestBySquash for usage and error information.

Returned Error Types:

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

  • PullRequestDoesNotExistException 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.

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

  • InvalidPullRequestIdException 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.

  • InvalidCommitIdException The specified commit ID is not valid.

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

  • TipOfSourceReferenceIsDifferentException 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.

  • TipsDivergenceExceededException 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.

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

  • InvalidEmailException 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.

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

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • InvalidConflictResolutionException The specified conflict resolution list is not valid.

  • ReplacementTypeRequiredException A replacement type is required.

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

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

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

  • MaximumConflictResolutionEntriesExceededException The number of allowed conflict resolution entries was exceeded.

  • ConcurrentReferenceUpdateException 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.

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

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

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

  • FileContentSizeLimitExceededException 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.

  • FolderContentSizeLimitExceededException 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.

  • MaximumFileContentToLoadExceededException The number of files to load exceeds the allowed limit.

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

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • RepositoryNotAssociatedWithPullRequestException 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.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquash

func (*CodeCommit) MergePullRequestBySquashRequest

func (c *CodeCommit) MergePullRequestBySquashRequest(input *MergePullRequestBySquashInput) (req *request.Request, output *MergePullRequestBySquashOutput)

MergePullRequestBySquashRequest generates a "aws/request.Request" representing the client's request for the MergePullRequestBySquash operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergePullRequestBySquash for more information on using the MergePullRequestBySquash API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergePullRequestBySquashRequest method.
req, resp := client.MergePullRequestBySquashRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquash

func (*CodeCommit) MergePullRequestBySquashWithContext

func (c *CodeCommit) MergePullRequestBySquashWithContext(ctx aws.Context, input *MergePullRequestBySquashInput, opts ...request.Option) (*MergePullRequestBySquashOutput, error)

MergePullRequestBySquashWithContext is the same as MergePullRequestBySquash with the addition of the ability to pass a context and additional request options.

See MergePullRequestBySquash for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergePullRequestByThreeWay

func (c *CodeCommit) MergePullRequestByThreeWay(input *MergePullRequestByThreeWayInput) (*MergePullRequestByThreeWayOutput, error)

MergePullRequestByThreeWay API operation for AWS CodeCommit.

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergePullRequestByThreeWay for usage and error information.

Returned Error Types:

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

  • PullRequestDoesNotExistException 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.

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

  • InvalidPullRequestIdException 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.

  • InvalidCommitIdException The specified commit ID is not valid.

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

  • TipOfSourceReferenceIsDifferentException 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.

  • TipsDivergenceExceededException 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.

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

  • InvalidEmailException 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.

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

  • InvalidConflictDetailLevelException The specified conflict detail level is not valid.

  • InvalidConflictResolutionStrategyException The specified conflict resolution strategy is not valid.

  • InvalidConflictResolutionException The specified conflict resolution list is not valid.

  • ReplacementTypeRequiredException A replacement type is required.

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

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

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

  • MaximumConflictResolutionEntriesExceededException The number of allowed conflict resolution entries was exceeded.

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

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

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

  • FileContentSizeLimitExceededException 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.

  • FolderContentSizeLimitExceededException 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.

  • MaximumFileContentToLoadExceededException The number of files to load exceeds the allowed limit.

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

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • RepositoryNotAssociatedWithPullRequestException 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.

  • ConcurrentReferenceUpdateException 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.

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWay

func (*CodeCommit) MergePullRequestByThreeWayRequest

func (c *CodeCommit) MergePullRequestByThreeWayRequest(input *MergePullRequestByThreeWayInput) (req *request.Request, output *MergePullRequestByThreeWayOutput)

MergePullRequestByThreeWayRequest generates a "aws/request.Request" representing the client's request for the MergePullRequestByThreeWay operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergePullRequestByThreeWay for more information on using the MergePullRequestByThreeWay API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergePullRequestByThreeWayRequest method.
req, resp := client.MergePullRequestByThreeWayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWay

func (*CodeCommit) MergePullRequestByThreeWayWithContext

func (c *CodeCommit) MergePullRequestByThreeWayWithContext(ctx aws.Context, input *MergePullRequestByThreeWayInput, opts ...request.Option) (*MergePullRequestByThreeWayOutput, error)

MergePullRequestByThreeWayWithContext is the same as MergePullRequestByThreeWay with the addition of the ability to pass a context and additional request options.

See MergePullRequestByThreeWay for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) OverridePullRequestApprovalRules

func (c *CodeCommit) OverridePullRequestApprovalRules(input *OverridePullRequestApprovalRulesInput) (*OverridePullRequestApprovalRulesOutput, error)

OverridePullRequestApprovalRules API operation for AWS CodeCommit.

Sets aside (overrides) all approval rule requirements for a specified pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation OverridePullRequestApprovalRules for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

  • RevisionIdRequiredException A revision ID is required, but was not provided.

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

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

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

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

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverridePullRequestApprovalRules

func (*CodeCommit) OverridePullRequestApprovalRulesRequest

func (c *CodeCommit) OverridePullRequestApprovalRulesRequest(input *OverridePullRequestApprovalRulesInput) (req *request.Request, output *OverridePullRequestApprovalRulesOutput)

OverridePullRequestApprovalRulesRequest generates a "aws/request.Request" representing the client's request for the OverridePullRequestApprovalRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See OverridePullRequestApprovalRules for more information on using the OverridePullRequestApprovalRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the OverridePullRequestApprovalRulesRequest method.
req, resp := client.OverridePullRequestApprovalRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverridePullRequestApprovalRules

func (*CodeCommit) OverridePullRequestApprovalRulesWithContext

func (c *CodeCommit) OverridePullRequestApprovalRulesWithContext(ctx aws.Context, input *OverridePullRequestApprovalRulesInput, opts ...request.Option) (*OverridePullRequestApprovalRulesOutput, error)

OverridePullRequestApprovalRulesWithContext is the same as OverridePullRequestApprovalRules with the addition of the ability to pass a context and additional request options.

See OverridePullRequestApprovalRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PostCommentForComparedCommit

func (c *CodeCommit) PostCommentForComparedCommit(input *PostCommentForComparedCommitInput) (*PostCommentForComparedCommitOutput, error)

PostCommentForComparedCommit API operation for AWS CodeCommit.

Posts a comment on the comparison between two commits.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PostCommentForComparedCommit for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • ClientRequestTokenRequiredException 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.

  • InvalidClientRequestTokenException The client request token is not valid.

  • IdempotencyParameterMismatchException 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.

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

  • CommentContentSizeLimitExceededException The comment is too large. Comments are limited to 10,240 characters.

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

  • InvalidRelativeFileVersionEnumException 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.

  • PathRequiredException The folderPath for a location cannot be null.

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

  • CommitIdRequiredException A commit ID was not specified.

  • InvalidCommitIdException The specified commit ID is not valid.

  • BeforeCommitIdAndAfterCommitIdAreSameException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

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

  • InvalidPathException The specified path is not valid.

  • PathDoesNotExistException The specified path does not exist.

  • PathRequiredException The folderPath for a location cannot be null.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit

func (*CodeCommit) PostCommentForComparedCommitRequest

func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForComparedCommitInput) (req *request.Request, output *PostCommentForComparedCommitOutput)

PostCommentForComparedCommitRequest generates a "aws/request.Request" representing the client's request for the PostCommentForComparedCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PostCommentForComparedCommit for more information on using the PostCommentForComparedCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PostCommentForComparedCommitRequest method.
req, resp := client.PostCommentForComparedCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit

func (*CodeCommit) PostCommentForComparedCommitWithContext

func (c *CodeCommit) PostCommentForComparedCommitWithContext(ctx aws.Context, input *PostCommentForComparedCommitInput, opts ...request.Option) (*PostCommentForComparedCommitOutput, error)

PostCommentForComparedCommitWithContext is the same as PostCommentForComparedCommit with the addition of the ability to pass a context and additional request options.

See PostCommentForComparedCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PostCommentForPullRequest

func (c *CodeCommit) PostCommentForPullRequest(input *PostCommentForPullRequestInput) (*PostCommentForPullRequestOutput, error)

PostCommentForPullRequest API operation for AWS CodeCommit.

Posts a comment on a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PostCommentForPullRequest for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

  • RepositoryNotAssociatedWithPullRequestException 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.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • ClientRequestTokenRequiredException 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.

  • InvalidClientRequestTokenException The client request token is not valid.

  • IdempotencyParameterMismatchException 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.

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

  • CommentContentSizeLimitExceededException The comment is too large. Comments are limited to 10,240 characters.

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

  • InvalidRelativeFileVersionEnumException 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.

  • PathRequiredException The folderPath for a location cannot be null.

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

  • CommitIdRequiredException A commit ID was not specified.

  • InvalidCommitIdException The specified commit ID is not valid.

  • BeforeCommitIdAndAfterCommitIdAreSameException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

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

  • InvalidPathException The specified path is not valid.

  • PathDoesNotExistException The specified path does not exist.

  • PathRequiredException The folderPath for a location cannot be null.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest

func (*CodeCommit) PostCommentForPullRequestRequest

func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullRequestInput) (req *request.Request, output *PostCommentForPullRequestOutput)

PostCommentForPullRequestRequest generates a "aws/request.Request" representing the client's request for the PostCommentForPullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PostCommentForPullRequest for more information on using the PostCommentForPullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PostCommentForPullRequestRequest method.
req, resp := client.PostCommentForPullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest

func (*CodeCommit) PostCommentForPullRequestWithContext

func (c *CodeCommit) PostCommentForPullRequestWithContext(ctx aws.Context, input *PostCommentForPullRequestInput, opts ...request.Option) (*PostCommentForPullRequestOutput, error)

PostCommentForPullRequestWithContext is the same as PostCommentForPullRequest with the addition of the ability to pass a context and additional request options.

See PostCommentForPullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PostCommentReply

func (c *CodeCommit) PostCommentReply(input *PostCommentReplyInput) (*PostCommentReplyOutput, error)

PostCommentReply API operation for AWS CodeCommit.

Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PostCommentReply for usage and error information.

Returned Error Types:

  • ClientRequestTokenRequiredException 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.

  • InvalidClientRequestTokenException The client request token is not valid.

  • IdempotencyParameterMismatchException 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.

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

  • CommentContentSizeLimitExceededException The comment is too large. Comments are limited to 10,240 characters.

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply

func (*CodeCommit) PostCommentReplyRequest

func (c *CodeCommit) PostCommentReplyRequest(input *PostCommentReplyInput) (req *request.Request, output *PostCommentReplyOutput)

PostCommentReplyRequest generates a "aws/request.Request" representing the client's request for the PostCommentReply operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PostCommentReply for more information on using the PostCommentReply API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PostCommentReplyRequest method.
req, resp := client.PostCommentReplyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply

func (*CodeCommit) PostCommentReplyWithContext

func (c *CodeCommit) PostCommentReplyWithContext(ctx aws.Context, input *PostCommentReplyInput, opts ...request.Option) (*PostCommentReplyOutput, error)

PostCommentReplyWithContext is the same as PostCommentReply with the addition of the ability to pass a context and additional request options.

See PostCommentReply for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PutCommentReaction

func (c *CodeCommit) PutCommentReaction(input *PutCommentReactionInput) (*PutCommentReactionOutput, error)

PutCommentReaction API operation for AWS CodeCommit.

Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PutCommentReaction for usage and error information.

Returned Error Types:

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

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

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

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

  • ReactionValueRequiredException A reaction value is required.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutCommentReaction

func (*CodeCommit) PutCommentReactionRequest

func (c *CodeCommit) PutCommentReactionRequest(input *PutCommentReactionInput) (req *request.Request, output *PutCommentReactionOutput)

PutCommentReactionRequest generates a "aws/request.Request" representing the client's request for the PutCommentReaction operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutCommentReaction for more information on using the PutCommentReaction API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutCommentReactionRequest method.
req, resp := client.PutCommentReactionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutCommentReaction

func (*CodeCommit) PutCommentReactionWithContext

func (c *CodeCommit) PutCommentReactionWithContext(ctx aws.Context, input *PutCommentReactionInput, opts ...request.Option) (*PutCommentReactionOutput, error)

PutCommentReactionWithContext is the same as PutCommentReaction with the addition of the ability to pass a context and additional request options.

See PutCommentReaction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PutFile

func (c *CodeCommit) PutFile(input *PutFileInput) (*PutFileOutput, error)

PutFile API operation for AWS CodeCommit.

Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PutFile for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • ParentCommitIdRequiredException 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).

  • InvalidParentCommitIdException 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.

  • ParentCommitDoesNotExistException 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.

  • ParentCommitIdOutdatedException 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.

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

  • FileContentSizeLimitExceededException 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.

  • FolderContentSizeLimitExceededException 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.

  • PathRequiredException The folderPath for a location cannot be null.

  • InvalidPathException The specified path is not valid.

  • BranchNameRequiredException A branch name is required, but was not specified.

  • InvalidBranchNameException The specified reference name is not valid.

  • BranchDoesNotExistException The specified branch does not exist.

  • BranchNameIsTagNameException 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.

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

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

  • InvalidEmailException 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.

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

  • InvalidDeletionParameterException The specified deletion parameter is not valid.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

  • SameFileContentException 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.

  • FileNameConflictsWithDirectoryNameException 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.

  • DirectoryNameConflictsWithFileNameException 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.

  • FilePathConflictsWithSubmodulePathException 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFile

func (*CodeCommit) PutFileRequest

func (c *CodeCommit) PutFileRequest(input *PutFileInput) (req *request.Request, output *PutFileOutput)

PutFileRequest generates a "aws/request.Request" representing the client's request for the PutFile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutFile for more information on using the PutFile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutFileRequest method.
req, resp := client.PutFileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFile

func (*CodeCommit) PutFileWithContext

func (c *CodeCommit) PutFileWithContext(ctx aws.Context, input *PutFileInput, opts ...request.Option) (*PutFileOutput, error)

PutFileWithContext is the same as PutFile with the addition of the ability to pass a context and additional request options.

See PutFile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PutRepositoryTriggers

func (c *CodeCommit) PutRepositoryTriggers(input *PutRepositoryTriggersInput) (*PutRepositoryTriggersOutput, error)

PutRepositoryTriggers API operation for AWS CodeCommit.

Replaces all triggers for a repository. Used to create or delete triggers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PutRepositoryTriggers for usage and error information.

Returned Error Types:

  • RepositoryDoesNotExistException The specified repository does not exist.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

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

  • MaximumRepositoryTriggersExceededException The number of triggers allowed for the repository was exceeded.

  • InvalidRepositoryTriggerNameException The name of the trigger is not valid.

  • InvalidRepositoryTriggerDestinationArnException 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.

  • InvalidRepositoryTriggerRegionException The Amazon Web Services Region for the trigger target does not match the Amazon Web Services Region for the repository. Triggers must be created in the same Amazon Web Services Region as the target for the trigger.

  • InvalidRepositoryTriggerCustomDataException The custom data provided for the trigger is not valid.

  • MaximumBranchesExceededException The number of branches for the trigger was exceeded.

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

  • InvalidRepositoryTriggerEventsException 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.

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

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

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

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers

func (*CodeCommit) PutRepositoryTriggersRequest

func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) (req *request.Request, output *PutRepositoryTriggersOutput)

PutRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the PutRepositoryTriggers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutRepositoryTriggers for more information on using the PutRepositoryTriggers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutRepositoryTriggersRequest method.
req, resp := client.PutRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers

func (*CodeCommit) PutRepositoryTriggersWithContext

func (c *CodeCommit) PutRepositoryTriggersWithContext(ctx aws.Context, input *PutRepositoryTriggersInput, opts ...request.Option) (*PutRepositoryTriggersOutput, error)

PutRepositoryTriggersWithContext is the same as PutRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See PutRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) TagResource

func (c *CodeCommit) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS CodeCommit.

Adds or updates tags for a resource in CodeCommit. For a list of valid resources in 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 CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation TagResource for usage and error information.

Returned Error Types:

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • ResourceArnRequiredException A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in 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 CodeCommit User Guide.

  • InvalidResourceArnException The value for the resource ARN is not valid. For more information about resources in 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 CodeCommit User Guide.

  • TagsMapRequiredException A map of tags is required.

  • InvalidTagsMapException The map of tags is not valid.

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

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

  • TagPolicyException The tag policy is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagResource

func (*CodeCommit) TagResourceRequest

func (c *CodeCommit) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagResource

func (*CodeCommit) TagResourceWithContext

func (c *CodeCommit) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) TestRepositoryTriggers

func (c *CodeCommit) TestRepositoryTriggers(input *TestRepositoryTriggersInput) (*TestRepositoryTriggersOutput, error)

TestRepositoryTriggers API operation for AWS CodeCommit.

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test sends data from the last commit. If no data is available, sample data is generated.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation TestRepositoryTriggers for usage and error information.

Returned Error Types:

  • RepositoryDoesNotExistException The specified repository does not exist.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

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

  • MaximumRepositoryTriggersExceededException The number of triggers allowed for the repository was exceeded.

  • InvalidRepositoryTriggerNameException The name of the trigger is not valid.

  • InvalidRepositoryTriggerDestinationArnException 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.

  • InvalidRepositoryTriggerRegionException The Amazon Web Services Region for the trigger target does not match the Amazon Web Services Region for the repository. Triggers must be created in the same Amazon Web Services Region as the target for the trigger.

  • InvalidRepositoryTriggerCustomDataException The custom data provided for the trigger is not valid.

  • MaximumBranchesExceededException The number of branches for the trigger was exceeded.

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

  • InvalidRepositoryTriggerEventsException 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.

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

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

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

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers

func (*CodeCommit) TestRepositoryTriggersRequest

func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) (req *request.Request, output *TestRepositoryTriggersOutput)

TestRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the TestRepositoryTriggers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TestRepositoryTriggers for more information on using the TestRepositoryTriggers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TestRepositoryTriggersRequest method.
req, resp := client.TestRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers

func (*CodeCommit) TestRepositoryTriggersWithContext

func (c *CodeCommit) TestRepositoryTriggersWithContext(ctx aws.Context, input *TestRepositoryTriggersInput, opts ...request.Option) (*TestRepositoryTriggersOutput, error)

TestRepositoryTriggersWithContext is the same as TestRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See TestRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UntagResource

func (c *CodeCommit) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS CodeCommit.

Removes tags for a resource in CodeCommit. For a list of valid resources in 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 CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UntagResource for usage and error information.

Returned Error Types:

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • ResourceArnRequiredException A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in 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 CodeCommit User Guide.

  • InvalidResourceArnException The value for the resource ARN is not valid. For more information about resources in 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 CodeCommit User Guide.

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

  • InvalidTagKeysListException The list of tags is not valid.

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

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

  • TagPolicyException The tag policy is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UntagResource

func (*CodeCommit) UntagResourceRequest

func (c *CodeCommit) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UntagResource

func (*CodeCommit) UntagResourceWithContext

func (c *CodeCommit) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateApprovalRuleTemplateContent

UpdateApprovalRuleTemplateContent API operation for AWS CodeCommit.

Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateApprovalRuleTemplateContent for usage and error information.

Returned Error Types:

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

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

  • InvalidApprovalRuleTemplateContentException The content of the approval rule template is not valid.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContent

func (*CodeCommit) UpdateApprovalRuleTemplateContentRequest

func (c *CodeCommit) UpdateApprovalRuleTemplateContentRequest(input *UpdateApprovalRuleTemplateContentInput) (req *request.Request, output *UpdateApprovalRuleTemplateContentOutput)

UpdateApprovalRuleTemplateContentRequest generates a "aws/request.Request" representing the client's request for the UpdateApprovalRuleTemplateContent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApprovalRuleTemplateContent for more information on using the UpdateApprovalRuleTemplateContent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApprovalRuleTemplateContentRequest method.
req, resp := client.UpdateApprovalRuleTemplateContentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContent

func (*CodeCommit) UpdateApprovalRuleTemplateContentWithContext

func (c *CodeCommit) UpdateApprovalRuleTemplateContentWithContext(ctx aws.Context, input *UpdateApprovalRuleTemplateContentInput, opts ...request.Option) (*UpdateApprovalRuleTemplateContentOutput, error)

UpdateApprovalRuleTemplateContentWithContext is the same as UpdateApprovalRuleTemplateContent with the addition of the ability to pass a context and additional request options.

See UpdateApprovalRuleTemplateContent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateApprovalRuleTemplateDescription

UpdateApprovalRuleTemplateDescription API operation for AWS CodeCommit.

Updates the description for a specified approval rule template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateApprovalRuleTemplateDescription for usage and error information.

Returned Error Types:

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

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

  • InvalidApprovalRuleTemplateDescriptionException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescription

func (*CodeCommit) UpdateApprovalRuleTemplateDescriptionRequest

func (c *CodeCommit) UpdateApprovalRuleTemplateDescriptionRequest(input *UpdateApprovalRuleTemplateDescriptionInput) (req *request.Request, output *UpdateApprovalRuleTemplateDescriptionOutput)

UpdateApprovalRuleTemplateDescriptionRequest generates a "aws/request.Request" representing the client's request for the UpdateApprovalRuleTemplateDescription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApprovalRuleTemplateDescription for more information on using the UpdateApprovalRuleTemplateDescription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApprovalRuleTemplateDescriptionRequest method.
req, resp := client.UpdateApprovalRuleTemplateDescriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescription

func (*CodeCommit) UpdateApprovalRuleTemplateDescriptionWithContext

func (c *CodeCommit) UpdateApprovalRuleTemplateDescriptionWithContext(ctx aws.Context, input *UpdateApprovalRuleTemplateDescriptionInput, opts ...request.Option) (*UpdateApprovalRuleTemplateDescriptionOutput, error)

UpdateApprovalRuleTemplateDescriptionWithContext is the same as UpdateApprovalRuleTemplateDescription with the addition of the ability to pass a context and additional request options.

See UpdateApprovalRuleTemplateDescription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateApprovalRuleTemplateName

func (c *CodeCommit) UpdateApprovalRuleTemplateName(input *UpdateApprovalRuleTemplateNameInput) (*UpdateApprovalRuleTemplateNameOutput, error)

UpdateApprovalRuleTemplateName API operation for AWS CodeCommit.

Updates the name of a specified approval rule template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateApprovalRuleTemplateName for usage and error information.

Returned Error Types:

  • InvalidApprovalRuleTemplateNameException 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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateName

func (*CodeCommit) UpdateApprovalRuleTemplateNameRequest

func (c *CodeCommit) UpdateApprovalRuleTemplateNameRequest(input *UpdateApprovalRuleTemplateNameInput) (req *request.Request, output *UpdateApprovalRuleTemplateNameOutput)

UpdateApprovalRuleTemplateNameRequest generates a "aws/request.Request" representing the client's request for the UpdateApprovalRuleTemplateName operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApprovalRuleTemplateName for more information on using the UpdateApprovalRuleTemplateName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApprovalRuleTemplateNameRequest method.
req, resp := client.UpdateApprovalRuleTemplateNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateName

func (*CodeCommit) UpdateApprovalRuleTemplateNameWithContext

func (c *CodeCommit) UpdateApprovalRuleTemplateNameWithContext(ctx aws.Context, input *UpdateApprovalRuleTemplateNameInput, opts ...request.Option) (*UpdateApprovalRuleTemplateNameOutput, error)

UpdateApprovalRuleTemplateNameWithContext is the same as UpdateApprovalRuleTemplateName with the addition of the ability to pass a context and additional request options.

See UpdateApprovalRuleTemplateName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateComment

func (c *CodeCommit) UpdateComment(input *UpdateCommentInput) (*UpdateCommentOutput, error)

UpdateComment API operation for AWS CodeCommit.

Replaces the contents of a comment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateComment for usage and error information.

Returned Error Types:

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

  • CommentContentSizeLimitExceededException The comment is too large. Comments are limited to 10,240 characters.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment

func (*CodeCommit) UpdateCommentRequest

func (c *CodeCommit) UpdateCommentRequest(input *UpdateCommentInput) (req *request.Request, output *UpdateCommentOutput)

UpdateCommentRequest generates a "aws/request.Request" representing the client's request for the UpdateComment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateComment for more information on using the UpdateComment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateCommentRequest method.
req, resp := client.UpdateCommentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment

func (*CodeCommit) UpdateCommentWithContext

func (c *CodeCommit) UpdateCommentWithContext(ctx aws.Context, input *UpdateCommentInput, opts ...request.Option) (*UpdateCommentOutput, error)

UpdateCommentWithContext is the same as UpdateComment with the addition of the ability to pass a context and additional request options.

See UpdateComment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateDefaultBranch

func (c *CodeCommit) UpdateDefaultBranch(input *UpdateDefaultBranchInput) (*UpdateDefaultBranchOutput, error)

UpdateDefaultBranch API operation for AWS CodeCommit.

Sets or changes the default branch name for the specified repository.

If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateDefaultBranch for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • BranchNameRequiredException A branch name is required, but was not specified.

  • InvalidBranchNameException The specified reference name is not valid.

  • BranchDoesNotExistException The specified branch does not exist.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch

func (*CodeCommit) UpdateDefaultBranchRequest

func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) (req *request.Request, output *UpdateDefaultBranchOutput)

UpdateDefaultBranchRequest generates a "aws/request.Request" representing the client's request for the UpdateDefaultBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDefaultBranch for more information on using the UpdateDefaultBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDefaultBranchRequest method.
req, resp := client.UpdateDefaultBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch

func (*CodeCommit) UpdateDefaultBranchWithContext

func (c *CodeCommit) UpdateDefaultBranchWithContext(ctx aws.Context, input *UpdateDefaultBranchInput, opts ...request.Option) (*UpdateDefaultBranchOutput, error)

UpdateDefaultBranchWithContext is the same as UpdateDefaultBranch with the addition of the ability to pass a context and additional request options.

See UpdateDefaultBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestApprovalRuleContent

UpdatePullRequestApprovalRuleContent API operation for AWS CodeCommit.

Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestApprovalRuleContent for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

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

  • InvalidApprovalRuleNameException The name for the approval rule is not valid.

  • ApprovalRuleDoesNotExistException The specified approval rule does not exist.

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

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

  • InvalidApprovalRuleContentException The content for the approval rule is not valid.

  • CannotModifyApprovalRuleFromTemplateException 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.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContent

func (*CodeCommit) UpdatePullRequestApprovalRuleContentRequest

func (c *CodeCommit) UpdatePullRequestApprovalRuleContentRequest(input *UpdatePullRequestApprovalRuleContentInput) (req *request.Request, output *UpdatePullRequestApprovalRuleContentOutput)

UpdatePullRequestApprovalRuleContentRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestApprovalRuleContent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestApprovalRuleContent for more information on using the UpdatePullRequestApprovalRuleContent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestApprovalRuleContentRequest method.
req, resp := client.UpdatePullRequestApprovalRuleContentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContent

func (*CodeCommit) UpdatePullRequestApprovalRuleContentWithContext

func (c *CodeCommit) UpdatePullRequestApprovalRuleContentWithContext(ctx aws.Context, input *UpdatePullRequestApprovalRuleContentInput, opts ...request.Option) (*UpdatePullRequestApprovalRuleContentOutput, error)

UpdatePullRequestApprovalRuleContentWithContext is the same as UpdatePullRequestApprovalRuleContent with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestApprovalRuleContent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestApprovalState

func (c *CodeCommit) UpdatePullRequestApprovalState(input *UpdatePullRequestApprovalStateInput) (*UpdatePullRequestApprovalStateOutput, error)

UpdatePullRequestApprovalState API operation for AWS CodeCommit.

Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestApprovalState for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

  • RevisionIdRequiredException A revision ID is required, but was not provided.

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

  • ApprovalStateRequiredException An approval state is required, but was not specified.

  • PullRequestCannotBeApprovedByAuthorException 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.

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

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

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalState

func (*CodeCommit) UpdatePullRequestApprovalStateRequest

func (c *CodeCommit) UpdatePullRequestApprovalStateRequest(input *UpdatePullRequestApprovalStateInput) (req *request.Request, output *UpdatePullRequestApprovalStateOutput)

UpdatePullRequestApprovalStateRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestApprovalState operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestApprovalState for more information on using the UpdatePullRequestApprovalState API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestApprovalStateRequest method.
req, resp := client.UpdatePullRequestApprovalStateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalState

func (*CodeCommit) UpdatePullRequestApprovalStateWithContext

func (c *CodeCommit) UpdatePullRequestApprovalStateWithContext(ctx aws.Context, input *UpdatePullRequestApprovalStateInput, opts ...request.Option) (*UpdatePullRequestApprovalStateOutput, error)

UpdatePullRequestApprovalStateWithContext is the same as UpdatePullRequestApprovalState with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestApprovalState for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestDescription

func (c *CodeCommit) UpdatePullRequestDescription(input *UpdatePullRequestDescriptionInput) (*UpdatePullRequestDescriptionOutput, error)

UpdatePullRequestDescription API operation for AWS CodeCommit.

Replaces the contents of the description of a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestDescription for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription

func (*CodeCommit) UpdatePullRequestDescriptionRequest

func (c *CodeCommit) UpdatePullRequestDescriptionRequest(input *UpdatePullRequestDescriptionInput) (req *request.Request, output *UpdatePullRequestDescriptionOutput)

UpdatePullRequestDescriptionRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestDescription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestDescription for more information on using the UpdatePullRequestDescription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestDescriptionRequest method.
req, resp := client.UpdatePullRequestDescriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription

func (*CodeCommit) UpdatePullRequestDescriptionWithContext

func (c *CodeCommit) UpdatePullRequestDescriptionWithContext(ctx aws.Context, input *UpdatePullRequestDescriptionInput, opts ...request.Option) (*UpdatePullRequestDescriptionOutput, error)

UpdatePullRequestDescriptionWithContext is the same as UpdatePullRequestDescription with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestDescription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestStatus

func (c *CodeCommit) UpdatePullRequestStatus(input *UpdatePullRequestStatusInput) (*UpdatePullRequestStatusOutput, error)

UpdatePullRequestStatus API operation for AWS CodeCommit.

Updates the status of a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestStatus for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

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

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

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus

func (*CodeCommit) UpdatePullRequestStatusRequest

func (c *CodeCommit) UpdatePullRequestStatusRequest(input *UpdatePullRequestStatusInput) (req *request.Request, output *UpdatePullRequestStatusOutput)

UpdatePullRequestStatusRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestStatus for more information on using the UpdatePullRequestStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestStatusRequest method.
req, resp := client.UpdatePullRequestStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus

func (*CodeCommit) UpdatePullRequestStatusWithContext

func (c *CodeCommit) UpdatePullRequestStatusWithContext(ctx aws.Context, input *UpdatePullRequestStatusInput, opts ...request.Option) (*UpdatePullRequestStatusOutput, error)

UpdatePullRequestStatusWithContext is the same as UpdatePullRequestStatus with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestTitle

func (c *CodeCommit) UpdatePullRequestTitle(input *UpdatePullRequestTitleInput) (*UpdatePullRequestTitleOutput, error)

UpdatePullRequestTitle API operation for AWS CodeCommit.

Replaces the title of a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestTitle for usage and error information.

Returned Error Types:

  • PullRequestDoesNotExistException 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.

  • InvalidPullRequestIdException 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.

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle

func (*CodeCommit) UpdatePullRequestTitleRequest

func (c *CodeCommit) UpdatePullRequestTitleRequest(input *UpdatePullRequestTitleInput) (req *request.Request, output *UpdatePullRequestTitleOutput)

UpdatePullRequestTitleRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestTitle operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestTitle for more information on using the UpdatePullRequestTitle API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestTitleRequest method.
req, resp := client.UpdatePullRequestTitleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle

func (*CodeCommit) UpdatePullRequestTitleWithContext

func (c *CodeCommit) UpdatePullRequestTitleWithContext(ctx aws.Context, input *UpdatePullRequestTitleInput, opts ...request.Option) (*UpdatePullRequestTitleOutput, error)

UpdatePullRequestTitleWithContext is the same as UpdatePullRequestTitle with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestTitle for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateRepositoryDescription

func (c *CodeCommit) UpdateRepositoryDescription(input *UpdateRepositoryDescriptionInput) (*UpdateRepositoryDescriptionOutput, error)

UpdateRepositoryDescription API operation for AWS CodeCommit.

Sets or changes the comment or description for a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateRepositoryDescription for usage and error information.

Returned Error Types:

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • RepositoryDoesNotExistException The specified repository does not exist.

  • InvalidRepositoryNameException 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.

  • InvalidRepositoryDescriptionException The specified repository description is not valid.

  • EncryptionIntegrityChecksFailedException An encryption integrity check failed.

  • EncryptionKeyAccessDeniedException An encryption key could not be accessed.

  • EncryptionKeyDisabledException The encryption key is disabled.

  • EncryptionKeyNotFoundException No encryption key was found.

  • EncryptionKeyUnavailableException The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription

func (*CodeCommit) UpdateRepositoryDescriptionRequest

func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) (req *request.Request, output *UpdateRepositoryDescriptionOutput)

UpdateRepositoryDescriptionRequest generates a "aws/request.Request" representing the client's request for the UpdateRepositoryDescription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRepositoryDescription for more information on using the UpdateRepositoryDescription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRepositoryDescriptionRequest method.
req, resp := client.UpdateRepositoryDescriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription

func (*CodeCommit) UpdateRepositoryDescriptionWithContext

func (c *CodeCommit) UpdateRepositoryDescriptionWithContext(ctx aws.Context, input *UpdateRepositoryDescriptionInput, opts ...request.Option) (*UpdateRepositoryDescriptionOutput, error)

UpdateRepositoryDescriptionWithContext is the same as UpdateRepositoryDescription with the addition of the ability to pass a context and additional request options.

See UpdateRepositoryDescription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateRepositoryName

func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*UpdateRepositoryNameOutput, error)

UpdateRepositoryName API operation for AWS CodeCommit.

Renames a repository. The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateRepositoryName for usage and error information.

Returned Error Types:

  • RepositoryDoesNotExistException The specified repository does not exist.

  • RepositoryNameExistsException The specified repository name already exists.

  • RepositoryNameRequiredException A repository name is required, but was not specified.

  • InvalidRepositoryNameException 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName

func (*CodeCommit) UpdateRepositoryNameRequest

func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) (req *request.Request, output *UpdateRepositoryNameOutput)

UpdateRepositoryNameRequest generates a "aws/request.Request" representing the client's request for the UpdateRepositoryName operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRepositoryName for more information on using the UpdateRepositoryName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRepositoryNameRequest method.
req, resp := client.UpdateRepositoryNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName

func (*CodeCommit) UpdateRepositoryNameWithContext

func (c *CodeCommit) UpdateRepositoryNameWithContext(ctx aws.Context, input *UpdateRepositoryNameInput, opts ...request.Option) (*UpdateRepositoryNameOutput, error)

UpdateRepositoryNameWithContext is the same as UpdateRepositoryName with the addition of the ability to pass a context and additional request options.

See UpdateRepositoryName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Comment

type Comment struct {

	// The Amazon Resource Name (ARN) of the person who posted the comment.
	AuthorArn *string `locationName:"authorArn" type:"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 `locationName:"callerReactions" type:"list"`

	// 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 `locationName:"clientRequestToken" type:"string"`

	// The system-generated comment ID.
	CommentId *string `locationName:"commentId" type:"string"`

	// The content of the comment.
	Content *string `locationName:"content" type:"string"`

	// The date and time the comment was created, in timestamp format.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// A Boolean value indicating whether the comment has been deleted.
	Deleted *bool `locationName:"deleted" type:"boolean"`

	// The ID of the comment for which this comment is a reply, if any.
	InReplyTo *string `locationName:"inReplyTo" type:"string"`

	// The date and time the comment was most recently modified, in timestamp format.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// 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]*int64 `locationName:"reactionCounts" type:"map"`
	// contains filtered or unexported fields
}

Returns information about a specific comment.

func (Comment) GoString

func (s Comment) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Comment) SetAuthorArn

func (s *Comment) SetAuthorArn(v string) *Comment

SetAuthorArn sets the AuthorArn field's value.

func (*Comment) SetCallerReactions

func (s *Comment) SetCallerReactions(v []*string) *Comment

SetCallerReactions sets the CallerReactions field's value.

func (*Comment) SetClientRequestToken

func (s *Comment) SetClientRequestToken(v string) *Comment

SetClientRequestToken sets the ClientRequestToken field's value.

func (*Comment) SetCommentId

func (s *Comment) SetCommentId(v string) *Comment

SetCommentId sets the CommentId field's value.

func (*Comment) SetContent

func (s *Comment) SetContent(v string) *Comment

SetContent sets the Content field's value.

func (*Comment) SetCreationDate

func (s *Comment) SetCreationDate(v time.Time) *Comment

SetCreationDate sets the CreationDate field's value.

func (*Comment) SetDeleted

func (s *Comment) SetDeleted(v bool) *Comment

SetDeleted sets the Deleted field's value.

func (*Comment) SetInReplyTo

func (s *Comment) SetInReplyTo(v string) *Comment

SetInReplyTo sets the InReplyTo field's value.

func (*Comment) SetLastModifiedDate

func (s *Comment) SetLastModifiedDate(v time.Time) *Comment

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*Comment) SetReactionCounts

func (s *Comment) SetReactionCounts(v map[string]*int64) *Comment

SetReactionCounts sets the ReactionCounts field's value.

func (Comment) String

func (s Comment) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommentContentRequiredException

type CommentContentRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*CommentContentRequiredException) Code

Code returns the exception type name.

func (*CommentContentRequiredException) Error

func (CommentContentRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommentContentRequiredException) Message

Message returns the exception's message.

func (*CommentContentRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommentContentRequiredException) RequestID

func (s *CommentContentRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommentContentRequiredException) StatusCode

func (s *CommentContentRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentContentRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommentContentSizeLimitExceededException

type CommentContentSizeLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The comment is too large. Comments are limited to 10,240 characters.

func (*CommentContentSizeLimitExceededException) Code

Code returns the exception type name.

func (*CommentContentSizeLimitExceededException) Error

func (CommentContentSizeLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommentContentSizeLimitExceededException) Message

Message returns the exception's message.

func (*CommentContentSizeLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommentContentSizeLimitExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*CommentContentSizeLimitExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (CommentContentSizeLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommentDeletedException

type CommentDeletedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*CommentDeletedException) Code

func (s *CommentDeletedException) Code() string

Code returns the exception type name.

func (*CommentDeletedException) Error

func (s *CommentDeletedException) Error() string

func (CommentDeletedException) GoString

func (s CommentDeletedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommentDeletedException) Message

func (s *CommentDeletedException) Message() string

Message returns the exception's message.

func (*CommentDeletedException) OrigErr

func (s *CommentDeletedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommentDeletedException) RequestID

func (s *CommentDeletedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommentDeletedException) StatusCode

func (s *CommentDeletedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentDeletedException) String

func (s CommentDeletedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommentDoesNotExistException

type CommentDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*CommentDoesNotExistException) Code

Code returns the exception type name.

func (*CommentDoesNotExistException) Error

func (CommentDoesNotExistException) GoString

func (s CommentDoesNotExistException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommentDoesNotExistException) Message

func (s *CommentDoesNotExistException) Message() string

Message returns the exception's message.

func (*CommentDoesNotExistException) OrigErr

func (s *CommentDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommentDoesNotExistException) RequestID

func (s *CommentDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommentDoesNotExistException) StatusCode

func (s *CommentDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommentIdRequiredException

type CommentIdRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*CommentIdRequiredException) Code

Code returns the exception type name.

func (*CommentIdRequiredException) Error

func (CommentIdRequiredException) GoString

func (s CommentIdRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommentIdRequiredException) Message

func (s *CommentIdRequiredException) Message() string

Message returns the exception's message.

func (*CommentIdRequiredException) OrigErr

func (s *CommentIdRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommentIdRequiredException) RequestID

func (s *CommentIdRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommentIdRequiredException) StatusCode

func (s *CommentIdRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentIdRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommentNotCreatedByCallerException

type CommentNotCreatedByCallerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*CommentNotCreatedByCallerException) Code

Code returns the exception type name.

func (*CommentNotCreatedByCallerException) Error

func (CommentNotCreatedByCallerException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommentNotCreatedByCallerException) Message

Message returns the exception's message.

func (*CommentNotCreatedByCallerException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommentNotCreatedByCallerException) RequestID

RequestID returns the service's response RequestID for request.

func (*CommentNotCreatedByCallerException) StatusCode

func (s *CommentNotCreatedByCallerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentNotCreatedByCallerException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommentsForComparedCommit

type CommentsForComparedCommit struct {

	// The full blob ID of the commit used to establish the after of the comparison.
	AfterBlobId *string `locationName:"afterBlobId" type:"string"`

	// The full commit ID of the commit used to establish the after of the comparison.
	AfterCommitId *string `locationName:"afterCommitId" type:"string"`

	// The full blob ID of the commit used to establish the before of the comparison.
	BeforeBlobId *string `locationName:"beforeBlobId" type:"string"`

	// The full commit ID of the commit used to establish the before of the comparison.
	BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

	// An array of comment objects. Each comment object contains information about
	// a comment on the comparison between commits.
	Comments []*Comment `locationName:"comments" type:"list"`

	// 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 `locationName:"location" type:"structure"`

	// The name of the repository that contains the compared commits.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Returns information about comments on the comparison between two commits.

func (CommentsForComparedCommit) GoString

func (s CommentsForComparedCommit) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommentsForComparedCommit) SetAfterBlobId

SetAfterBlobId sets the AfterBlobId field's value.

func (*CommentsForComparedCommit) SetAfterCommitId

SetAfterCommitId sets the AfterCommitId field's value.

func (*CommentsForComparedCommit) SetBeforeBlobId

SetBeforeBlobId sets the BeforeBlobId field's value.

func (*CommentsForComparedCommit) SetBeforeCommitId

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*CommentsForComparedCommit) SetComments

SetComments sets the Comments field's value.

func (*CommentsForComparedCommit) SetLocation

SetLocation sets the Location field's value.

func (*CommentsForComparedCommit) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (CommentsForComparedCommit) String

func (s CommentsForComparedCommit) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommentsForPullRequest

type CommentsForPullRequest struct {

	// The full blob ID of the file on which you want to comment on the source commit.
	AfterBlobId *string `locationName:"afterBlobId" type:"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 `locationName:"afterCommitId" type:"string"`

	// The full blob ID of the file on which you want to comment on the destination
	// commit.
	BeforeBlobId *string `locationName:"beforeBlobId" type:"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 `locationName:"beforeCommitId" type:"string"`

	// An array of comment objects. Each comment object contains information about
	// a comment on the pull request.
	Comments []*Comment `locationName:"comments" type:"list"`

	// 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 `locationName:"location" type:"structure"`

	// The system-generated ID of the pull request.
	PullRequestId *string `locationName:"pullRequestId" type:"string"`

	// The name of the repository that contains the pull request.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Returns information about comments on a pull request.

func (CommentsForPullRequest) GoString

func (s CommentsForPullRequest) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommentsForPullRequest) SetAfterBlobId

SetAfterBlobId sets the AfterBlobId field's value.

func (*CommentsForPullRequest) SetAfterCommitId

func (s *CommentsForPullRequest) SetAfterCommitId(v string) *CommentsForPullRequest

SetAfterCommitId sets the AfterCommitId field's value.

func (*CommentsForPullRequest) SetBeforeBlobId

func (s *CommentsForPullRequest) SetBeforeBlobId(v string) *CommentsForPullRequest

SetBeforeBlobId sets the BeforeBlobId field's value.

func (*CommentsForPullRequest) SetBeforeCommitId

func (s *CommentsForPullRequest) SetBeforeCommitId(v string) *CommentsForPullRequest

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*CommentsForPullRequest) SetComments

SetComments sets the Comments field's value.

func (*CommentsForPullRequest) SetLocation

SetLocation sets the Location field's value.

func (*CommentsForPullRequest) SetPullRequestId

func (s *CommentsForPullRequest) SetPullRequestId(v string) *CommentsForPullRequest

SetPullRequestId sets the PullRequestId field's value.

func (*CommentsForPullRequest) SetRepositoryName

func (s *CommentsForPullRequest) SetRepositoryName(v string) *CommentsForPullRequest

SetRepositoryName sets the RepositoryName field's value.

func (CommentsForPullRequest) String

func (s CommentsForPullRequest) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Commit

type Commit struct {

	// Any other data associated with the specified commit.
	AdditionalData *string `locationName:"additionalData" type:"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 `locationName:"author" type:"structure"`

	// The full SHA ID of the specified commit.
	CommitId *string `locationName:"commitId" type:"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 `locationName:"committer" type:"structure"`

	// The commit message associated with the specified commit.
	Message *string `locationName:"message" type:"string"`

	// A list of parent commits for the specified commit. Each parent commit ID
	// is the full commit ID.
	Parents []*string `locationName:"parents" type:"list"`

	// Tree information for the specified commit.
	TreeId *string `locationName:"treeId" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a specific commit.

func (Commit) GoString

func (s Commit) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Commit) SetAdditionalData

func (s *Commit) SetAdditionalData(v string) *Commit

SetAdditionalData sets the AdditionalData field's value.

func (*Commit) SetAuthor

func (s *Commit) SetAuthor(v *UserInfo) *Commit

SetAuthor sets the Author field's value.

func (*Commit) SetCommitId

func (s *Commit) SetCommitId(v string) *Commit

SetCommitId sets the CommitId field's value.

func (*Commit) SetCommitter

func (s *Commit) SetCommitter(v *UserInfo) *Commit

SetCommitter sets the Committer field's value.

func (*Commit) SetMessage

func (s *Commit) SetMessage(v string) *Commit

SetMessage sets the Message field's value.

func (*Commit) SetParents

func (s *Commit) SetParents(v []*string) *Commit

SetParents sets the Parents field's value.

func (*Commit) SetTreeId

func (s *Commit) SetTreeId(v string) *Commit

SetTreeId sets the TreeId field's value.

func (Commit) String

func (s Commit) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommitDoesNotExistException

type CommitDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*CommitDoesNotExistException) Code

Code returns the exception type name.

func (*CommitDoesNotExistException) Error

func (CommitDoesNotExistException) GoString

func (s CommitDoesNotExistException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommitDoesNotExistException) Message

func (s *CommitDoesNotExistException) Message() string

Message returns the exception's message.

func (*CommitDoesNotExistException) OrigErr

func (s *CommitDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommitDoesNotExistException) RequestID

func (s *CommitDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommitDoesNotExistException) StatusCode

func (s *CommitDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommitIdDoesNotExistException

type CommitIdDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified commit ID does not exist.

func (*CommitIdDoesNotExistException) Code

Code returns the exception type name.

func (*CommitIdDoesNotExistException) Error

func (CommitIdDoesNotExistException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommitIdDoesNotExistException) Message

Message returns the exception's message.

func (*CommitIdDoesNotExistException) OrigErr

func (s *CommitIdDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommitIdDoesNotExistException) RequestID

func (s *CommitIdDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommitIdDoesNotExistException) StatusCode

func (s *CommitIdDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitIdDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommitIdRequiredException

type CommitIdRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A commit ID was not specified.

func (*CommitIdRequiredException) Code

Code returns the exception type name.

func (*CommitIdRequiredException) Error

func (s *CommitIdRequiredException) Error() string

func (CommitIdRequiredException) GoString

func (s CommitIdRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommitIdRequiredException) Message

func (s *CommitIdRequiredException) Message() string

Message returns the exception's message.

func (*CommitIdRequiredException) OrigErr

func (s *CommitIdRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommitIdRequiredException) RequestID

func (s *CommitIdRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommitIdRequiredException) StatusCode

func (s *CommitIdRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitIdRequiredException) String

func (s CommitIdRequiredException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommitIdsLimitExceededException

type CommitIdsLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*CommitIdsLimitExceededException) Error

func (CommitIdsLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommitIdsLimitExceededException) Message

Message returns the exception's message.

func (*CommitIdsLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommitIdsLimitExceededException) RequestID

func (s *CommitIdsLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommitIdsLimitExceededException) StatusCode

func (s *CommitIdsLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitIdsLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommitIdsListRequiredException

type CommitIdsListRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*CommitIdsListRequiredException) Code

Code returns the exception type name.

func (*CommitIdsListRequiredException) Error

func (CommitIdsListRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommitIdsListRequiredException) Message

Message returns the exception's message.

func (*CommitIdsListRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommitIdsListRequiredException) RequestID

func (s *CommitIdsListRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommitIdsListRequiredException) StatusCode

func (s *CommitIdsListRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitIdsListRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommitMessageLengthExceededException

type CommitMessageLengthExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*CommitMessageLengthExceededException) Code

Code returns the exception type name.

func (*CommitMessageLengthExceededException) Error

func (CommitMessageLengthExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommitMessageLengthExceededException) Message

Message returns the exception's message.

func (*CommitMessageLengthExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommitMessageLengthExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*CommitMessageLengthExceededException) StatusCode

func (s *CommitMessageLengthExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitMessageLengthExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CommitRequiredException

type CommitRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A commit was not specified.

func (*CommitRequiredException) Code

func (s *CommitRequiredException) Code() string

Code returns the exception type name.

func (*CommitRequiredException) Error

func (s *CommitRequiredException) Error() string

func (CommitRequiredException) GoString

func (s CommitRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CommitRequiredException) Message

func (s *CommitRequiredException) Message() string

Message returns the exception's message.

func (*CommitRequiredException) OrigErr

func (s *CommitRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CommitRequiredException) RequestID

func (s *CommitRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CommitRequiredException) StatusCode

func (s *CommitRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitRequiredException) String

func (s CommitRequiredException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConcurrentReferenceUpdateException

type ConcurrentReferenceUpdateException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*ConcurrentReferenceUpdateException) Error

func (ConcurrentReferenceUpdateException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConcurrentReferenceUpdateException) Message

Message returns the exception's message.

func (*ConcurrentReferenceUpdateException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConcurrentReferenceUpdateException) RequestID

RequestID returns the service's response RequestID for request.

func (*ConcurrentReferenceUpdateException) StatusCode

func (s *ConcurrentReferenceUpdateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConcurrentReferenceUpdateException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Conflict

type Conflict struct {

	// Metadata about a conflict in a merge operation.
	ConflictMetadata *ConflictMetadata `locationName:"conflictMetadata" type:"structure"`

	// A list of hunks that contain the differences between files or lines causing
	// the conflict.
	MergeHunks []*MergeHunk `locationName:"mergeHunks" type:"list"`
	// contains filtered or unexported fields
}

Information about conflicts in a merge operation.

func (Conflict) GoString

func (s Conflict) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Conflict) SetConflictMetadata

func (s *Conflict) SetConflictMetadata(v *ConflictMetadata) *Conflict

SetConflictMetadata sets the ConflictMetadata field's value.

func (*Conflict) SetMergeHunks

func (s *Conflict) SetMergeHunks(v []*MergeHunk) *Conflict

SetMergeHunks sets the MergeHunks field's value.

func (Conflict) String

func (s Conflict) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictMetadata

type ConflictMetadata struct {

	// A boolean value indicating whether there are conflicts in the content of
	// a file.
	ContentConflict *bool `locationName:"contentConflict" type:"boolean"`

	// A boolean value indicating whether there are conflicts in the file mode of
	// a file.
	FileModeConflict *bool `locationName:"fileModeConflict" type:"boolean"`

	// The file modes of the file in the source, destination, and base of the merge.
	FileModes *FileModes `locationName:"fileModes" type:"structure"`

	// The path of the file that contains conflicts.
	FilePath *string `locationName:"filePath" type:"string"`

	// The file sizes of the file in the source, destination, and base of the merge.
	FileSizes *FileSizes `locationName:"fileSizes" type:"structure"`

	// 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 `locationName:"isBinaryFile" type:"structure"`

	// Whether an add, modify, or delete operation caused the conflict between the
	// source and destination of the merge.
	MergeOperations *MergeOperations `locationName:"mergeOperations" type:"structure"`

	// The number of conflicts, including both hunk conflicts and metadata conflicts.
	NumberOfConflicts *int64 `locationName:"numberOfConflicts" type:"integer"`

	// 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 `locationName:"objectTypeConflict" type:"boolean"`

	// Information about any object type conflicts in a merge operation.
	ObjectTypes *ObjectTypes `locationName:"objectTypes" type:"structure"`
	// contains filtered or unexported fields
}

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

func (ConflictMetadata) GoString

func (s ConflictMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictMetadata) SetContentConflict

func (s *ConflictMetadata) SetContentConflict(v bool) *ConflictMetadata

SetContentConflict sets the ContentConflict field's value.

func (*ConflictMetadata) SetFileModeConflict

func (s *ConflictMetadata) SetFileModeConflict(v bool) *ConflictMetadata

SetFileModeConflict sets the FileModeConflict field's value.

func (*ConflictMetadata) SetFileModes

func (s *ConflictMetadata) SetFileModes(v *FileModes) *ConflictMetadata

SetFileModes sets the FileModes field's value.

func (*ConflictMetadata) SetFilePath

func (s *ConflictMetadata) SetFilePath(v string) *ConflictMetadata

SetFilePath sets the FilePath field's value.

func (*ConflictMetadata) SetFileSizes

func (s *ConflictMetadata) SetFileSizes(v *FileSizes) *ConflictMetadata

SetFileSizes sets the FileSizes field's value.

func (*ConflictMetadata) SetIsBinaryFile

func (s *ConflictMetadata) SetIsBinaryFile(v *IsBinaryFile) *ConflictMetadata

SetIsBinaryFile sets the IsBinaryFile field's value.

func (*ConflictMetadata) SetMergeOperations

func (s *ConflictMetadata) SetMergeOperations(v *MergeOperations) *ConflictMetadata

SetMergeOperations sets the MergeOperations field's value.

func (*ConflictMetadata) SetNumberOfConflicts

func (s *ConflictMetadata) SetNumberOfConflicts(v int64) *ConflictMetadata

SetNumberOfConflicts sets the NumberOfConflicts field's value.

func (*ConflictMetadata) SetObjectTypeConflict

func (s *ConflictMetadata) SetObjectTypeConflict(v bool) *ConflictMetadata

SetObjectTypeConflict sets the ObjectTypeConflict field's value.

func (*ConflictMetadata) SetObjectTypes

func (s *ConflictMetadata) SetObjectTypes(v *ObjectTypes) *ConflictMetadata

SetObjectTypes sets the ObjectTypes field's value.

func (ConflictMetadata) String

func (s ConflictMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictResolution

type ConflictResolution struct {

	// Files to be deleted as part of the merge conflict resolution.
	DeleteFiles []*DeleteFileEntry `locationName:"deleteFiles" type:"list"`

	// Files to have content replaced as part of the merge conflict resolution.
	ReplaceContents []*ReplaceContentEntry `locationName:"replaceContents" type:"list"`

	// File modes that are set as part of the merge conflict resolution.
	SetFileModes []*SetFileModeEntry `locationName:"setFileModes" type:"list"`
	// contains filtered or unexported fields
}

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

func (ConflictResolution) GoString

func (s ConflictResolution) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictResolution) SetDeleteFiles

func (s *ConflictResolution) SetDeleteFiles(v []*DeleteFileEntry) *ConflictResolution

SetDeleteFiles sets the DeleteFiles field's value.

func (*ConflictResolution) SetReplaceContents

func (s *ConflictResolution) SetReplaceContents(v []*ReplaceContentEntry) *ConflictResolution

SetReplaceContents sets the ReplaceContents field's value.

func (*ConflictResolution) SetSetFileModes

func (s *ConflictResolution) SetSetFileModes(v []*SetFileModeEntry) *ConflictResolution

SetSetFileModes sets the SetFileModes field's value.

func (ConflictResolution) String

func (s ConflictResolution) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictResolution) Validate

func (s *ConflictResolution) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApprovalRuleTemplateInput

type CreateApprovalRuleTemplateInput struct {

	// The content of the approval rule that is created on pull requests in associated
	// repositories. If you specify one or more destination references (branches),
	// approval rules are created in an associated repository only if their destination
	// references (branches) match those specified in the template.
	//
	// When you create the content of the approval rule template, you can specify
	// approvers in an approval pool in one of two ways:
	//
	//    * CodeCommitApprovers: This option only requires an Amazon Web Services
	//    account and a resource. It can be used for both IAM users and federated
	//    access users whose name matches the provided resource name. This is a
	//    very powerful option that offers a great deal of flexibility. For example,
	//    if you specify the Amazon Web Services account 123456789012 and Mary_Major,
	//    all of the following are counted as approvals coming from that user: An
	//    IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A
	//    federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)
	//    This option does not recognize an active session of someone assuming the
	//    role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major)
	//    unless you include a wildcard (*Mary_Major).
	//
	//    * Fully qualified ARN: This option allows you to specify the fully qualified
	//    Amazon Resource Name (ARN) of the IAM user or role.
	//
	// For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
	// in the IAM User Guide.
	//
	// ApprovalRuleTemplateContent is a required field
	ApprovalRuleTemplateContent *string `locationName:"approvalRuleTemplateContent" min:"1" type:"string" required:"true"`

	// The description of the approval rule template. Consider providing a description
	// that explains what this template does and when it might be appropriate to
	// associate it with repositories.
	ApprovalRuleTemplateDescription *string `locationName:"approvalRuleTemplateDescription" type:"string"`

	// The name of the approval rule template. Provide descriptive names, because
	// this name is applied to the approval rules created automatically in associated
	// repositories.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateApprovalRuleTemplateInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApprovalRuleTemplateInput) SetApprovalRuleTemplateContent

func (s *CreateApprovalRuleTemplateInput) SetApprovalRuleTemplateContent(v string) *CreateApprovalRuleTemplateInput

SetApprovalRuleTemplateContent sets the ApprovalRuleTemplateContent field's value.

func (*CreateApprovalRuleTemplateInput) SetApprovalRuleTemplateDescription

func (s *CreateApprovalRuleTemplateInput) SetApprovalRuleTemplateDescription(v string) *CreateApprovalRuleTemplateInput

SetApprovalRuleTemplateDescription sets the ApprovalRuleTemplateDescription field's value.

func (*CreateApprovalRuleTemplateInput) SetApprovalRuleTemplateName

func (s *CreateApprovalRuleTemplateInput) SetApprovalRuleTemplateName(v string) *CreateApprovalRuleTemplateInput

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (CreateApprovalRuleTemplateInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApprovalRuleTemplateInput) Validate

func (s *CreateApprovalRuleTemplateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApprovalRuleTemplateOutput

type CreateApprovalRuleTemplateOutput struct {

	// The content and structure of the created approval rule template.
	//
	// ApprovalRuleTemplate is a required field
	ApprovalRuleTemplate *ApprovalRuleTemplate `locationName:"approvalRuleTemplate" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateApprovalRuleTemplateOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApprovalRuleTemplateOutput) SetApprovalRuleTemplate

SetApprovalRuleTemplate sets the ApprovalRuleTemplate field's value.

func (CreateApprovalRuleTemplateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateBranchInput

type CreateBranchInput struct {

	// The name of the new branch to create.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// The ID of the commit to point the new branch to.
	//
	// CommitId is a required field
	CommitId *string `locationName:"commitId" type:"string" required:"true"`

	// The name of the repository in which you want to create the new branch.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a create branch operation.

func (CreateBranchInput) GoString

func (s CreateBranchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBranchInput) SetBranchName

func (s *CreateBranchInput) SetBranchName(v string) *CreateBranchInput

SetBranchName sets the BranchName field's value.

func (*CreateBranchInput) SetCommitId

func (s *CreateBranchInput) SetCommitId(v string) *CreateBranchInput

SetCommitId sets the CommitId field's value.

func (*CreateBranchInput) SetRepositoryName

func (s *CreateBranchInput) SetRepositoryName(v string) *CreateBranchInput

SetRepositoryName sets the RepositoryName field's value.

func (CreateBranchInput) String

func (s CreateBranchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBranchInput) Validate

func (s *CreateBranchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBranchOutput

type CreateBranchOutput struct {
	// contains filtered or unexported fields
}

func (CreateBranchOutput) GoString

func (s CreateBranchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateBranchOutput) String

func (s CreateBranchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateCommitInput

type CreateCommitInput struct {

	// The name of the author who created the commit. This information is used as
	// both the author and committer for the commit.
	AuthorName *string `locationName:"authorName" type:"string"`

	// The name of the branch where you create the commit.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// The commit message you want to include in the commit. Commit messages are
	// limited to 256 KB. If no message is specified, a default message is used.
	CommitMessage *string `locationName:"commitMessage" type:"string"`

	// The files to delete in this commit. These files still exist in earlier commits.
	DeleteFiles []*DeleteFileEntry `locationName:"deleteFiles" type:"list"`

	// The email address of the person who created the commit.
	Email *string `locationName:"email" type:"string"`

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If true, a ..gitkeep file is created
	// for empty folders. The default is false.
	KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

	// The ID of the commit that is the parent of the commit you create. Not required
	// if this is an empty repository.
	ParentCommitId *string `locationName:"parentCommitId" type:"string"`

	// The files to add or update in this commit.
	PutFiles []*PutFileEntry `locationName:"putFiles" type:"list"`

	// The name of the repository where you create the commit.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The file modes to update for files in this commit.
	SetFileModes []*SetFileModeEntry `locationName:"setFileModes" type:"list"`
	// contains filtered or unexported fields
}

func (CreateCommitInput) GoString

func (s CreateCommitInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateCommitInput) SetAuthorName

func (s *CreateCommitInput) SetAuthorName(v string) *CreateCommitInput

SetAuthorName sets the AuthorName field's value.

func (*CreateCommitInput) SetBranchName

func (s *CreateCommitInput) SetBranchName(v string) *CreateCommitInput

SetBranchName sets the BranchName field's value.

func (*CreateCommitInput) SetCommitMessage

func (s *CreateCommitInput) SetCommitMessage(v string) *CreateCommitInput

SetCommitMessage sets the CommitMessage field's value.

func (*CreateCommitInput) SetDeleteFiles

func (s *CreateCommitInput) SetDeleteFiles(v []*DeleteFileEntry) *CreateCommitInput

SetDeleteFiles sets the DeleteFiles field's value.

func (*CreateCommitInput) SetEmail

func (s *CreateCommitInput) SetEmail(v string) *CreateCommitInput

SetEmail sets the Email field's value.

func (*CreateCommitInput) SetKeepEmptyFolders

func (s *CreateCommitInput) SetKeepEmptyFolders(v bool) *CreateCommitInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*CreateCommitInput) SetParentCommitId

func (s *CreateCommitInput) SetParentCommitId(v string) *CreateCommitInput

SetParentCommitId sets the ParentCommitId field's value.

func (*CreateCommitInput) SetPutFiles

func (s *CreateCommitInput) SetPutFiles(v []*PutFileEntry) *CreateCommitInput

SetPutFiles sets the PutFiles field's value.

func (*CreateCommitInput) SetRepositoryName

func (s *CreateCommitInput) SetRepositoryName(v string) *CreateCommitInput

SetRepositoryName sets the RepositoryName field's value.

func (*CreateCommitInput) SetSetFileModes

func (s *CreateCommitInput) SetSetFileModes(v []*SetFileModeEntry) *CreateCommitInput

SetSetFileModes sets the SetFileModes field's value.

func (CreateCommitInput) String

func (s CreateCommitInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateCommitInput) Validate

func (s *CreateCommitInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateCommitOutput

type CreateCommitOutput struct {

	// The full commit ID of the commit that contains your committed file changes.
	CommitId *string `locationName:"commitId" type:"string"`

	// The files added as part of the committed file changes.
	FilesAdded []*FileMetadata `locationName:"filesAdded" type:"list"`

	// The files deleted as part of the committed file changes.
	FilesDeleted []*FileMetadata `locationName:"filesDeleted" type:"list"`

	// The files updated as part of the commited file changes.
	FilesUpdated []*FileMetadata `locationName:"filesUpdated" type:"list"`

	// The full SHA-1 pointer of the tree information for the commit that contains
	// the commited file changes.
	TreeId *string `locationName:"treeId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateCommitOutput) GoString

func (s CreateCommitOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateCommitOutput) SetCommitId

func (s *CreateCommitOutput) SetCommitId(v string) *CreateCommitOutput

SetCommitId sets the CommitId field's value.

func (*CreateCommitOutput) SetFilesAdded

func (s *CreateCommitOutput) SetFilesAdded(v []*FileMetadata) *CreateCommitOutput

SetFilesAdded sets the FilesAdded field's value.

func (*CreateCommitOutput) SetFilesDeleted

func (s *CreateCommitOutput) SetFilesDeleted(v []*FileMetadata) *CreateCommitOutput

SetFilesDeleted sets the FilesDeleted field's value.

func (*CreateCommitOutput) SetFilesUpdated

func (s *CreateCommitOutput) SetFilesUpdated(v []*FileMetadata) *CreateCommitOutput

SetFilesUpdated sets the FilesUpdated field's value.

func (*CreateCommitOutput) SetTreeId

func (s *CreateCommitOutput) SetTreeId(v string) *CreateCommitOutput

SetTreeId sets the TreeId field's value.

func (CreateCommitOutput) String

func (s CreateCommitOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreatePullRequestApprovalRuleInput

type CreatePullRequestApprovalRuleInput struct {

	// The content of the approval rule, including the number of approvals needed
	// and the structure of an approval pool defined for approvals, if any. For
	// more information about approval pools, see the CodeCommit User Guide.
	//
	// When you create the content of the approval rule, you can specify approvers
	// in an approval pool in one of two ways:
	//
	//    * CodeCommitApprovers: This option only requires an Amazon Web Services
	//    account and a resource. It can be used for both IAM users and federated
	//    access users whose name matches the provided resource name. This is a
	//    very powerful option that offers a great deal of flexibility. For example,
	//    if you specify the Amazon Web Services account 123456789012 and Mary_Major,
	//    all of the following would be counted as approvals coming from that user:
	//    An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
	//    A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)
	//    This option does not recognize an active session of someone assuming the
	//    role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major)
	//    unless you include a wildcard (*Mary_Major).
	//
	//    * Fully qualified ARN: This option allows you to specify the fully qualified
	//    Amazon Resource Name (ARN) of the IAM user or role.
	//
	// For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
	// in the IAM User Guide.
	//
	// ApprovalRuleContent is a required field
	ApprovalRuleContent *string `locationName:"approvalRuleContent" min:"1" type:"string" required:"true"`

	// The name for the approval rule.
	//
	// ApprovalRuleName is a required field
	ApprovalRuleName *string `locationName:"approvalRuleName" min:"1" type:"string" required:"true"`

	// The system-generated ID of the pull request for which you want to create
	// the approval rule.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreatePullRequestApprovalRuleInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePullRequestApprovalRuleInput) SetApprovalRuleContent

SetApprovalRuleContent sets the ApprovalRuleContent field's value.

func (*CreatePullRequestApprovalRuleInput) SetApprovalRuleName

SetApprovalRuleName sets the ApprovalRuleName field's value.

func (*CreatePullRequestApprovalRuleInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (CreatePullRequestApprovalRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePullRequestApprovalRuleInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type CreatePullRequestApprovalRuleOutput

type CreatePullRequestApprovalRuleOutput struct {

	// Information about the created approval rule.
	//
	// ApprovalRule is a required field
	ApprovalRule *ApprovalRule `locationName:"approvalRule" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreatePullRequestApprovalRuleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePullRequestApprovalRuleOutput) SetApprovalRule

SetApprovalRule sets the ApprovalRule field's value.

func (CreatePullRequestApprovalRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreatePullRequestInput

type CreatePullRequestInput struct {

	// 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.
	//
	// The Amazon Web ServicesSDKs prepopulate client request tokens. If you are
	// using an Amazon Web ServicesSDK, an idempotency token is created for you.
	ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"`

	// A description of the pull request.
	Description *string `locationName:"description" type:"string"`

	// The targets for the pull request, including the source of the code to be
	// reviewed (the source branch) and the destination where the creator of the
	// pull request intends the code to be merged after the pull request is closed
	// (the destination branch).
	//
	// Targets is a required field
	Targets []*Target `locationName:"targets" type:"list" required:"true"`

	// The title of the pull request. This title is used to identify the pull request
	// to other users in the repository.
	//
	// Title is a required field
	Title *string `locationName:"title" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreatePullRequestInput) GoString

func (s CreatePullRequestInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePullRequestInput) SetClientRequestToken

func (s *CreatePullRequestInput) SetClientRequestToken(v string) *CreatePullRequestInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreatePullRequestInput) SetDescription

SetDescription sets the Description field's value.

func (*CreatePullRequestInput) SetTargets

SetTargets sets the Targets field's value.

func (*CreatePullRequestInput) SetTitle

SetTitle sets the Title field's value.

func (CreatePullRequestInput) String

func (s CreatePullRequestInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePullRequestInput) Validate

func (s *CreatePullRequestInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePullRequestOutput

type CreatePullRequestOutput struct {

	// Information about the newly created pull request.
	//
	// PullRequest is a required field
	PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreatePullRequestOutput) GoString

func (s CreatePullRequestOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePullRequestOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (CreatePullRequestOutput) String

func (s CreatePullRequestOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateRepositoryInput

type CreateRepositoryInput struct {

	// A comment or description about the new repository.
	//
	// The description field for a repository accepts all HTML characters and all
	// valid Unicode characters. Applications that do not HTML-encode the description
	// and display it in a webpage can expose users to potentially malicious code.
	// Make sure that you HTML-encode the description field in any application that
	// uses this API to display the repository description on a webpage.
	RepositoryDescription *string `locationName:"repositoryDescription" type:"string"`

	// The name of the new repository to be created.
	//
	// The repository name must be unique across the calling Amazon Web Services
	// account. Repository names are limited to 100 alphanumeric, dash, and underscore
	// characters, and cannot include certain characters. For more information about
	// the limits on repository names, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html)
	// in the CodeCommit User Guide. The suffix .git is prohibited.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// One or more tag key-value pairs to use when tagging this repository.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Represents the input of a create repository operation.

func (CreateRepositoryInput) GoString

func (s CreateRepositoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRepositoryInput) SetRepositoryDescription

func (s *CreateRepositoryInput) SetRepositoryDescription(v string) *CreateRepositoryInput

SetRepositoryDescription sets the RepositoryDescription field's value.

func (*CreateRepositoryInput) SetRepositoryName

func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput

SetRepositoryName sets the RepositoryName field's value.

func (*CreateRepositoryInput) SetTags

SetTags sets the Tags field's value.

func (CreateRepositoryInput) String

func (s CreateRepositoryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRepositoryInput) Validate

func (s *CreateRepositoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRepositoryOutput

type CreateRepositoryOutput struct {

	// Information about the newly created repository.
	RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a create repository operation.

func (CreateRepositoryOutput) GoString

func (s CreateRepositoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRepositoryOutput) SetRepositoryMetadata

SetRepositoryMetadata sets the RepositoryMetadata field's value.

func (CreateRepositoryOutput) String

func (s CreateRepositoryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateUnreferencedMergeCommitInput

type CreateUnreferencedMergeCommitInput struct {

	// The name of the author who created the unreferenced commit. This information
	// is used as both the author and committer for the commit.
	AuthorName *string `locationName:"authorName" type:"string"`

	// The commit message for the unreferenced commit.
	CommitMessage *string `locationName:"commitMessage" type:"string"`

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// If AUTOMERGE is the conflict resolution strategy, a list of inputs to use
	// when resolving conflicts during a merge.
	ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// DestinationCommitSpecifier is a required field
	DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

	// The email address for the person who created the unreferenced commit.
	Email *string `locationName:"email" type:"string"`

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If this is specified as true, a .gitkeep
	// file is created for empty folders. The default is false.
	KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

	// The merge option or strategy you want to use to merge the code.
	//
	// MergeOption is a required field
	MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"`

	// The name of the repository where you want to create the unreferenced merge
	// commit.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// SourceCommitSpecifier is a required field
	SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateUnreferencedMergeCommitInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUnreferencedMergeCommitInput) SetAuthorName

SetAuthorName sets the AuthorName field's value.

func (*CreateUnreferencedMergeCommitInput) SetCommitMessage

SetCommitMessage sets the CommitMessage field's value.

func (*CreateUnreferencedMergeCommitInput) SetConflictDetailLevel

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*CreateUnreferencedMergeCommitInput) SetConflictResolution

SetConflictResolution sets the ConflictResolution field's value.

func (*CreateUnreferencedMergeCommitInput) SetConflictResolutionStrategy

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*CreateUnreferencedMergeCommitInput) SetDestinationCommitSpecifier

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*CreateUnreferencedMergeCommitInput) SetEmail

SetEmail sets the Email field's value.

func (*CreateUnreferencedMergeCommitInput) SetKeepEmptyFolders

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*CreateUnreferencedMergeCommitInput) SetMergeOption

SetMergeOption sets the MergeOption field's value.

func (*CreateUnreferencedMergeCommitInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*CreateUnreferencedMergeCommitInput) SetSourceCommitSpecifier

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (CreateUnreferencedMergeCommitInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUnreferencedMergeCommitInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type CreateUnreferencedMergeCommitOutput

type CreateUnreferencedMergeCommitOutput struct {

	// The full commit ID of the commit that contains your merge results.
	CommitId *string `locationName:"commitId" type:"string"`

	// The full SHA-1 pointer of the tree information for the commit that contains
	// the merge results.
	TreeId *string `locationName:"treeId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateUnreferencedMergeCommitOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateUnreferencedMergeCommitOutput) SetCommitId

SetCommitId sets the CommitId field's value.

func (*CreateUnreferencedMergeCommitOutput) SetTreeId

SetTreeId sets the TreeId field's value.

func (CreateUnreferencedMergeCommitOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DefaultBranchCannotBeDeletedException

type DefaultBranchCannotBeDeletedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*DefaultBranchCannotBeDeletedException) Error

func (DefaultBranchCannotBeDeletedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DefaultBranchCannotBeDeletedException) Message

Message returns the exception's message.

func (*DefaultBranchCannotBeDeletedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DefaultBranchCannotBeDeletedException) RequestID

RequestID returns the service's response RequestID for request.

func (*DefaultBranchCannotBeDeletedException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (DefaultBranchCannotBeDeletedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteApprovalRuleTemplateInput

type DeleteApprovalRuleTemplateInput struct {

	// The name of the approval rule template to delete.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApprovalRuleTemplateInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteApprovalRuleTemplateInput) SetApprovalRuleTemplateName

func (s *DeleteApprovalRuleTemplateInput) SetApprovalRuleTemplateName(v string) *DeleteApprovalRuleTemplateInput

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (DeleteApprovalRuleTemplateInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteApprovalRuleTemplateInput) Validate

func (s *DeleteApprovalRuleTemplateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApprovalRuleTemplateOutput

type DeleteApprovalRuleTemplateOutput struct {

	// The system-generated ID of the deleted approval rule template. If the template
	// has been previously deleted, the only response is a 200 OK.
	//
	// ApprovalRuleTemplateId is a required field
	ApprovalRuleTemplateId *string `locationName:"approvalRuleTemplateId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApprovalRuleTemplateOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteApprovalRuleTemplateOutput) SetApprovalRuleTemplateId

SetApprovalRuleTemplateId sets the ApprovalRuleTemplateId field's value.

func (DeleteApprovalRuleTemplateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBranchInput

type DeleteBranchInput struct {

	// The name of the branch to delete.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// The name of the repository that contains the branch to be deleted.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a delete branch operation.

func (DeleteBranchInput) GoString

func (s DeleteBranchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBranchInput) SetBranchName

func (s *DeleteBranchInput) SetBranchName(v string) *DeleteBranchInput

SetBranchName sets the BranchName field's value.

func (*DeleteBranchInput) SetRepositoryName

func (s *DeleteBranchInput) SetRepositoryName(v string) *DeleteBranchInput

SetRepositoryName sets the RepositoryName field's value.

func (DeleteBranchInput) String

func (s DeleteBranchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBranchInput) Validate

func (s *DeleteBranchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBranchOutput

type DeleteBranchOutput struct {

	// Information about the branch deleted by the operation, including the branch
	// name and the commit ID that was the tip of the branch.
	DeletedBranch *BranchInfo `locationName:"deletedBranch" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a delete branch operation.

func (DeleteBranchOutput) GoString

func (s DeleteBranchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBranchOutput) SetDeletedBranch

func (s *DeleteBranchOutput) SetDeletedBranch(v *BranchInfo) *DeleteBranchOutput

SetDeletedBranch sets the DeletedBranch field's value.

func (DeleteBranchOutput) String

func (s DeleteBranchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteCommentContentInput

type DeleteCommentContentInput struct {

	// The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit
	// or GetCommentsForPullRequest.
	//
	// CommentId is a required field
	CommentId *string `locationName:"commentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCommentContentInput) GoString

func (s DeleteCommentContentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCommentContentInput) SetCommentId

SetCommentId sets the CommentId field's value.

func (DeleteCommentContentInput) String

func (s DeleteCommentContentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCommentContentInput) Validate

func (s *DeleteCommentContentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCommentContentOutput

type DeleteCommentContentOutput struct {

	// Information about the comment you just deleted.
	Comment *Comment `locationName:"comment" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteCommentContentOutput) GoString

func (s DeleteCommentContentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCommentContentOutput) SetComment

SetComment sets the Comment field's value.

func (DeleteCommentContentOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteFileEntry

type DeleteFileEntry struct {

	// The full path of the file to be deleted, including the name of the file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A file that is deleted as part of a commit.

func (DeleteFileEntry) GoString

func (s DeleteFileEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFileEntry) SetFilePath

func (s *DeleteFileEntry) SetFilePath(v string) *DeleteFileEntry

SetFilePath sets the FilePath field's value.

func (DeleteFileEntry) String

func (s DeleteFileEntry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFileEntry) Validate

func (s *DeleteFileEntry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteFileInput

type DeleteFileInput struct {

	// The name of the branch where the commit that deletes the file is made.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// The commit message you want to include as part of deleting the file. Commit
	// messages are limited to 256 KB. If no message is specified, a default message
	// is used.
	CommitMessage *string `locationName:"commitMessage" type:"string"`

	// The email address for the commit that deletes the file. If no email address
	// is specified, the email address is left blank.
	Email *string `locationName:"email" type:"string"`

	// The fully qualified path to the file that to be deleted, including the full
	// name and extension of that file. For example, /examples/file.md is a fully
	// qualified path to a file named file.md in a folder named examples.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// If a file is the only object in the folder or directory, specifies whether
	// to delete the folder or directory that contains the file. By default, empty
	// folders are deleted. This includes empty folders that are part of the directory
	// structure. For example, if the path to a file is dir1/dir2/dir3/dir4, and
	// dir2 and dir3 are empty, deleting the last file in dir4 also deletes the
	// empty folders dir4, dir3, and dir2.
	KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

	// The name of the author of the commit that deletes the file. If no name is
	// specified, the user's ARN is used as the author name and committer name.
	Name *string `locationName:"name" type:"string"`

	// The ID of the commit that is the tip of the branch where you want to create
	// the commit that deletes the file. This must be the HEAD commit for the branch.
	// The commit that deletes the file is created from this commit ID.
	//
	// ParentCommitId is a required field
	ParentCommitId *string `locationName:"parentCommitId" type:"string" required:"true"`

	// The name of the repository that contains the file to delete.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFileInput) GoString

func (s DeleteFileInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFileInput) SetBranchName

func (s *DeleteFileInput) SetBranchName(v string) *DeleteFileInput

SetBranchName sets the BranchName field's value.

func (*DeleteFileInput) SetCommitMessage

func (s *DeleteFileInput) SetCommitMessage(v string) *DeleteFileInput

SetCommitMessage sets the CommitMessage field's value.

func (*DeleteFileInput) SetEmail

func (s *DeleteFileInput) SetEmail(v string) *DeleteFileInput

SetEmail sets the Email field's value.

func (*DeleteFileInput) SetFilePath

func (s *DeleteFileInput) SetFilePath(v string) *DeleteFileInput

SetFilePath sets the FilePath field's value.

func (*DeleteFileInput) SetKeepEmptyFolders

func (s *DeleteFileInput) SetKeepEmptyFolders(v bool) *DeleteFileInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*DeleteFileInput) SetName

func (s *DeleteFileInput) SetName(v string) *DeleteFileInput

SetName sets the Name field's value.

func (*DeleteFileInput) SetParentCommitId

func (s *DeleteFileInput) SetParentCommitId(v string) *DeleteFileInput

SetParentCommitId sets the ParentCommitId field's value.

func (*DeleteFileInput) SetRepositoryName

func (s *DeleteFileInput) SetRepositoryName(v string) *DeleteFileInput

SetRepositoryName sets the RepositoryName field's value.

func (DeleteFileInput) String

func (s DeleteFileInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFileInput) Validate

func (s *DeleteFileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteFileOutput

type DeleteFileOutput struct {

	// The blob ID removed from the tree as part of deleting the file.
	//
	// BlobId is a required field
	BlobId *string `locationName:"blobId" type:"string" required:"true"`

	// The full commit ID of the commit that contains the change that deletes the
	// file.
	//
	// CommitId is a required field
	CommitId *string `locationName:"commitId" type:"string" required:"true"`

	// The fully qualified path to the file to be deleted, including the full name
	// and extension of that file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// The full SHA-1 pointer of the tree information for the commit that contains
	// the delete file change.
	//
	// TreeId is a required field
	TreeId *string `locationName:"treeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFileOutput) GoString

func (s DeleteFileOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFileOutput) SetBlobId

func (s *DeleteFileOutput) SetBlobId(v string) *DeleteFileOutput

SetBlobId sets the BlobId field's value.

func (*DeleteFileOutput) SetCommitId

func (s *DeleteFileOutput) SetCommitId(v string) *DeleteFileOutput

SetCommitId sets the CommitId field's value.

func (*DeleteFileOutput) SetFilePath

func (s *DeleteFileOutput) SetFilePath(v string) *DeleteFileOutput

SetFilePath sets the FilePath field's value.

func (*DeleteFileOutput) SetTreeId

func (s *DeleteFileOutput) SetTreeId(v string) *DeleteFileOutput

SetTreeId sets the TreeId field's value.

func (DeleteFileOutput) String

func (s DeleteFileOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePullRequestApprovalRuleInput

type DeletePullRequestApprovalRuleInput struct {

	// The name of the approval rule you want to delete.
	//
	// ApprovalRuleName is a required field
	ApprovalRuleName *string `locationName:"approvalRuleName" min:"1" type:"string" required:"true"`

	// The system-generated ID of the pull request that contains the approval rule
	// you want to delete.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePullRequestApprovalRuleInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePullRequestApprovalRuleInput) SetApprovalRuleName

SetApprovalRuleName sets the ApprovalRuleName field's value.

func (*DeletePullRequestApprovalRuleInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (DeletePullRequestApprovalRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePullRequestApprovalRuleInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeletePullRequestApprovalRuleOutput

type DeletePullRequestApprovalRuleOutput struct {

	// The ID of the deleted approval rule.
	//
	// If the approval rule was deleted in an earlier API call, the response is
	// 200 OK without content.
	//
	// ApprovalRuleId is a required field
	ApprovalRuleId *string `locationName:"approvalRuleId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePullRequestApprovalRuleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePullRequestApprovalRuleOutput) SetApprovalRuleId

SetApprovalRuleId sets the ApprovalRuleId field's value.

func (DeletePullRequestApprovalRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRepositoryInput

type DeleteRepositoryInput struct {

	// The name of the repository to delete.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a delete repository operation.

func (DeleteRepositoryInput) GoString

func (s DeleteRepositoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryInput) SetRepositoryName

func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput

SetRepositoryName sets the RepositoryName field's value.

func (DeleteRepositoryInput) String

func (s DeleteRepositoryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryInput) Validate

func (s *DeleteRepositoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRepositoryOutput

type DeleteRepositoryOutput struct {

	// The ID of the repository that was deleted.
	RepositoryId *string `locationName:"repositoryId" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a delete repository operation.

func (DeleteRepositoryOutput) GoString

func (s DeleteRepositoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryOutput) SetRepositoryId

func (s *DeleteRepositoryOutput) SetRepositoryId(v string) *DeleteRepositoryOutput

SetRepositoryId sets the RepositoryId field's value.

func (DeleteRepositoryOutput) String

func (s DeleteRepositoryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeMergeConflictsInput

type DescribeMergeConflictsInput struct {

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// DestinationCommitSpecifier is a required field
	DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

	// The path of the target files used to describe the conflicts.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// The maximum number of merge hunks to include in the output.
	MaxMergeHunks *int64 `locationName:"maxMergeHunks" type:"integer"`

	// The merge option or strategy you want to use to merge the code.
	//
	// MergeOption is a required field
	MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The name of the repository where you want to get information about a merge
	// conflict.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// SourceCommitSpecifier is a required field
	SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeMergeConflictsInput) GoString

func (s DescribeMergeConflictsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeMergeConflictsInput) SetConflictDetailLevel

func (s *DescribeMergeConflictsInput) SetConflictDetailLevel(v string) *DescribeMergeConflictsInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*DescribeMergeConflictsInput) SetConflictResolutionStrategy

func (s *DescribeMergeConflictsInput) SetConflictResolutionStrategy(v string) *DescribeMergeConflictsInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*DescribeMergeConflictsInput) SetDestinationCommitSpecifier

func (s *DescribeMergeConflictsInput) SetDestinationCommitSpecifier(v string) *DescribeMergeConflictsInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*DescribeMergeConflictsInput) SetFilePath

SetFilePath sets the FilePath field's value.

func (*DescribeMergeConflictsInput) SetMaxMergeHunks

SetMaxMergeHunks sets the MaxMergeHunks field's value.

func (*DescribeMergeConflictsInput) SetMergeOption

SetMergeOption sets the MergeOption field's value.

func (*DescribeMergeConflictsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeMergeConflictsInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*DescribeMergeConflictsInput) SetSourceCommitSpecifier

func (s *DescribeMergeConflictsInput) SetSourceCommitSpecifier(v string) *DescribeMergeConflictsInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (DescribeMergeConflictsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeMergeConflictsInput) Validate

func (s *DescribeMergeConflictsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeMergeConflictsOutput

type DescribeMergeConflictsOutput struct {

	// The commit ID of the merge base.
	BaseCommitId *string `locationName:"baseCommitId" type:"string"`

	// Contains metadata about the conflicts found in the merge.
	//
	// ConflictMetadata is a required field
	ConflictMetadata *ConflictMetadata `locationName:"conflictMetadata" type:"structure" required:"true"`

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	//
	// DestinationCommitId is a required field
	DestinationCommitId *string `locationName:"destinationCommitId" type:"string" required:"true"`

	// A list of merge hunks of the differences between the files or lines.
	//
	// MergeHunks is a required field
	MergeHunks []*MergeHunk `locationName:"mergeHunks" type:"list" required:"true"`

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The commit ID of the source commit specifier that was used in the merge evaluation.
	//
	// SourceCommitId is a required field
	SourceCommitId *string `locationName:"sourceCommitId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeMergeConflictsOutput) GoString

func (s DescribeMergeConflictsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeMergeConflictsOutput) SetBaseCommitId

SetBaseCommitId sets the BaseCommitId field's value.

func (*DescribeMergeConflictsOutput) SetConflictMetadata

SetConflictMetadata sets the ConflictMetadata field's value.

func (*DescribeMergeConflictsOutput) SetDestinationCommitId

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*DescribeMergeConflictsOutput) SetMergeHunks

SetMergeHunks sets the MergeHunks field's value.

func (*DescribeMergeConflictsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeMergeConflictsOutput) SetSourceCommitId

SetSourceCommitId sets the SourceCommitId field's value.

func (DescribeMergeConflictsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribePullRequestEventsInput

type DescribePullRequestEventsInput 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 `locationName:"actorArn" type:"string"`

	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is 100 events, which is also the maximum number of events that
	// can be returned in a result.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Optional. The pull request event type about which you want to return information.
	PullRequestEventType *string `locationName:"pullRequestEventType" type:"string" enum:"PullRequestEventType"`

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribePullRequestEventsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePullRequestEventsInput) SetActorArn

SetActorArn sets the ActorArn field's value.

func (*DescribePullRequestEventsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribePullRequestEventsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribePullRequestEventsInput) SetPullRequestEventType

SetPullRequestEventType sets the PullRequestEventType field's value.

func (*DescribePullRequestEventsInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (DescribePullRequestEventsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePullRequestEventsInput) Validate

func (s *DescribePullRequestEventsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribePullRequestEventsOutput

type DescribePullRequestEventsOutput struct {

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information about the pull request events.
	//
	// PullRequestEvents is a required field
	PullRequestEvents []*PullRequestEvent `locationName:"pullRequestEvents" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribePullRequestEventsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePullRequestEventsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribePullRequestEventsOutput) SetPullRequestEvents

SetPullRequestEvents sets the PullRequestEvents field's value.

func (DescribePullRequestEventsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `locationName:"afterBlob" type:"structure"`

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

	// Whether the change type of the difference is an addition (A), deletion (D),
	// or modification (M).
	ChangeType *string `locationName:"changeType" type:"string" enum:"ChangeTypeEnum"`
	// contains filtered or unexported fields
}

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

func (Difference) GoString

func (s Difference) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Difference) SetAfterBlob

func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference

SetAfterBlob sets the AfterBlob field's value.

func (*Difference) SetBeforeBlob

func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference

SetBeforeBlob sets the BeforeBlob field's value.

func (*Difference) SetChangeType

func (s *Difference) SetChangeType(v string) *Difference

SetChangeType sets the ChangeType field's value.

func (Difference) String

func (s Difference) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DirectoryNameConflictsWithFileNameException

type DirectoryNameConflictsWithFileNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*DirectoryNameConflictsWithFileNameException) Error

func (DirectoryNameConflictsWithFileNameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DirectoryNameConflictsWithFileNameException) Message

Message returns the exception's message.

func (*DirectoryNameConflictsWithFileNameException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DirectoryNameConflictsWithFileNameException) RequestID

RequestID returns the service's response RequestID for request.

func (*DirectoryNameConflictsWithFileNameException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (DirectoryNameConflictsWithFileNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateApprovalRuleTemplateFromRepositoryInput

type DisassociateApprovalRuleTemplateFromRepositoryInput struct {

	// The name of the approval rule template to disassociate from a specified repository.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`

	// The name of the repository you want to disassociate from the template.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateApprovalRuleTemplateFromRepositoryInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateApprovalRuleTemplateFromRepositoryInput) SetApprovalRuleTemplateName

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*DisassociateApprovalRuleTemplateFromRepositoryInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (DisassociateApprovalRuleTemplateFromRepositoryInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateApprovalRuleTemplateFromRepositoryInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DisassociateApprovalRuleTemplateFromRepositoryOutput

type DisassociateApprovalRuleTemplateFromRepositoryOutput struct {
	// contains filtered or unexported fields
}

func (DisassociateApprovalRuleTemplateFromRepositoryOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DisassociateApprovalRuleTemplateFromRepositoryOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EncryptionIntegrityChecksFailedException

type EncryptionIntegrityChecksFailedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An encryption integrity check failed.

func (*EncryptionIntegrityChecksFailedException) Code

Code returns the exception type name.

func (*EncryptionIntegrityChecksFailedException) Error

func (EncryptionIntegrityChecksFailedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionIntegrityChecksFailedException) Message

Message returns the exception's message.

func (*EncryptionIntegrityChecksFailedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EncryptionIntegrityChecksFailedException) RequestID

RequestID returns the service's response RequestID for request.

func (*EncryptionIntegrityChecksFailedException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (EncryptionIntegrityChecksFailedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EncryptionKeyAccessDeniedException

type EncryptionKeyAccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An encryption key could not be accessed.

func (*EncryptionKeyAccessDeniedException) Code

Code returns the exception type name.

func (*EncryptionKeyAccessDeniedException) Error

func (EncryptionKeyAccessDeniedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionKeyAccessDeniedException) Message

Message returns the exception's message.

func (*EncryptionKeyAccessDeniedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EncryptionKeyAccessDeniedException) RequestID

RequestID returns the service's response RequestID for request.

func (*EncryptionKeyAccessDeniedException) StatusCode

func (s *EncryptionKeyAccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EncryptionKeyAccessDeniedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EncryptionKeyDisabledException

type EncryptionKeyDisabledException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The encryption key is disabled.

func (*EncryptionKeyDisabledException) Code

Code returns the exception type name.

func (*EncryptionKeyDisabledException) Error

func (EncryptionKeyDisabledException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionKeyDisabledException) Message

Message returns the exception's message.

func (*EncryptionKeyDisabledException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EncryptionKeyDisabledException) RequestID

func (s *EncryptionKeyDisabledException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EncryptionKeyDisabledException) StatusCode

func (s *EncryptionKeyDisabledException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EncryptionKeyDisabledException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EncryptionKeyNotFoundException

type EncryptionKeyNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

No encryption key was found.

func (*EncryptionKeyNotFoundException) Code

Code returns the exception type name.

func (*EncryptionKeyNotFoundException) Error

func (EncryptionKeyNotFoundException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionKeyNotFoundException) Message

Message returns the exception's message.

func (*EncryptionKeyNotFoundException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EncryptionKeyNotFoundException) RequestID

func (s *EncryptionKeyNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EncryptionKeyNotFoundException) StatusCode

func (s *EncryptionKeyNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EncryptionKeyNotFoundException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EncryptionKeyUnavailableException

type EncryptionKeyUnavailableException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The encryption key is not available.

func (*EncryptionKeyUnavailableException) Code

Code returns the exception type name.

func (*EncryptionKeyUnavailableException) Error

func (EncryptionKeyUnavailableException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionKeyUnavailableException) Message

Message returns the exception's message.

func (*EncryptionKeyUnavailableException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EncryptionKeyUnavailableException) RequestID

RequestID returns the service's response RequestID for request.

func (*EncryptionKeyUnavailableException) StatusCode

func (s *EncryptionKeyUnavailableException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EncryptionKeyUnavailableException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EvaluatePullRequestApprovalRulesInput

type EvaluatePullRequestApprovalRulesInput struct {

	// The system-generated ID of the pull request you want to evaluate.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The system-generated ID for the pull request revision. To retrieve the most
	// recent revision ID for a pull request, use GetPullRequest.
	//
	// RevisionId is a required field
	RevisionId *string `locationName:"revisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (EvaluatePullRequestApprovalRulesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluatePullRequestApprovalRulesInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*EvaluatePullRequestApprovalRulesInput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (EvaluatePullRequestApprovalRulesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluatePullRequestApprovalRulesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type EvaluatePullRequestApprovalRulesOutput

type EvaluatePullRequestApprovalRulesOutput struct {

	// The result of the evaluation, including the names of the rules whose conditions
	// have been met (if any), the names of the rules whose conditions have not
	// been met (if any), whether the pull request is in the approved state, and
	// whether the pull request approval rule has been set aside by an override.
	//
	// Evaluation is a required field
	Evaluation *Evaluation `locationName:"evaluation" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (EvaluatePullRequestApprovalRulesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EvaluatePullRequestApprovalRulesOutput) SetEvaluation

SetEvaluation sets the Evaluation field's value.

func (EvaluatePullRequestApprovalRulesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Evaluation

type Evaluation struct {

	// The names of the approval rules that have not had their conditions met.
	ApprovalRulesNotSatisfied []*string `locationName:"approvalRulesNotSatisfied" type:"list"`

	// The names of the approval rules that have had their conditions met.
	ApprovalRulesSatisfied []*string `locationName:"approvalRulesSatisfied" type:"list"`

	// Whether the state of the pull request is approved.
	Approved *bool `locationName:"approved" type:"boolean"`

	// Whether the approval rule requirements for the pull request have been overridden
	// and no longer need to be met.
	Overridden *bool `locationName:"overridden" type:"boolean"`
	// contains filtered or unexported fields
}

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

func (Evaluation) GoString

func (s Evaluation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Evaluation) SetApprovalRulesNotSatisfied

func (s *Evaluation) SetApprovalRulesNotSatisfied(v []*string) *Evaluation

SetApprovalRulesNotSatisfied sets the ApprovalRulesNotSatisfied field's value.

func (*Evaluation) SetApprovalRulesSatisfied

func (s *Evaluation) SetApprovalRulesSatisfied(v []*string) *Evaluation

SetApprovalRulesSatisfied sets the ApprovalRulesSatisfied field's value.

func (*Evaluation) SetApproved

func (s *Evaluation) SetApproved(v bool) *Evaluation

SetApproved sets the Approved field's value.

func (*Evaluation) SetOverridden

func (s *Evaluation) SetOverridden(v bool) *Evaluation

SetOverridden sets the Overridden field's value.

func (Evaluation) String

func (s Evaluation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type File

type File struct {

	// The fully qualified path to the file in the repository.
	AbsolutePath *string `locationName:"absolutePath" type:"string"`

	// The blob ID that contains the file information.
	BlobId *string `locationName:"blobId" type:"string"`

	// The extrapolated file mode permissions for the file. Valid values include
	// EXECUTABLE and NORMAL.
	FileMode *string `locationName:"fileMode" type:"string" enum:"FileModeTypeEnum"`

	// The relative path of the file from the folder where the query originated.
	RelativePath *string `locationName:"relativePath" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a file in a repository.

func (File) GoString

func (s File) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*File) SetAbsolutePath

func (s *File) SetAbsolutePath(v string) *File

SetAbsolutePath sets the AbsolutePath field's value.

func (*File) SetBlobId

func (s *File) SetBlobId(v string) *File

SetBlobId sets the BlobId field's value.

func (*File) SetFileMode

func (s *File) SetFileMode(v string) *File

SetFileMode sets the FileMode field's value.

func (*File) SetRelativePath

func (s *File) SetRelativePath(v string) *File

SetRelativePath sets the RelativePath field's value.

func (File) String

func (s File) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileContentAndSourceFileSpecifiedException

type FileContentAndSourceFileSpecifiedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*FileContentAndSourceFileSpecifiedException) Error

func (FileContentAndSourceFileSpecifiedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileContentAndSourceFileSpecifiedException) Message

Message returns the exception's message.

func (*FileContentAndSourceFileSpecifiedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FileContentAndSourceFileSpecifiedException) RequestID

RequestID returns the service's response RequestID for request.

func (*FileContentAndSourceFileSpecifiedException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (FileContentAndSourceFileSpecifiedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileContentRequiredException

type FileContentRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*FileContentRequiredException) Code

Code returns the exception type name.

func (*FileContentRequiredException) Error

func (FileContentRequiredException) GoString

func (s FileContentRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileContentRequiredException) Message

func (s *FileContentRequiredException) Message() string

Message returns the exception's message.

func (*FileContentRequiredException) OrigErr

func (s *FileContentRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FileContentRequiredException) RequestID

func (s *FileContentRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FileContentRequiredException) StatusCode

func (s *FileContentRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (FileContentRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileContentSizeLimitExceededException

type FileContentSizeLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*FileContentSizeLimitExceededException) Error

func (FileContentSizeLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileContentSizeLimitExceededException) Message

Message returns the exception's message.

func (*FileContentSizeLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FileContentSizeLimitExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*FileContentSizeLimitExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (FileContentSizeLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileDoesNotExistException

type FileDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*FileDoesNotExistException) Code

Code returns the exception type name.

func (*FileDoesNotExistException) Error

func (s *FileDoesNotExistException) Error() string

func (FileDoesNotExistException) GoString

func (s FileDoesNotExistException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileDoesNotExistException) Message

func (s *FileDoesNotExistException) Message() string

Message returns the exception's message.

func (*FileDoesNotExistException) OrigErr

func (s *FileDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FileDoesNotExistException) RequestID

func (s *FileDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FileDoesNotExistException) StatusCode

func (s *FileDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (FileDoesNotExistException) String

func (s FileDoesNotExistException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileEntryRequiredException

type FileEntryRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*FileEntryRequiredException) Code

Code returns the exception type name.

func (*FileEntryRequiredException) Error

func (FileEntryRequiredException) GoString

func (s FileEntryRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileEntryRequiredException) Message

func (s *FileEntryRequiredException) Message() string

Message returns the exception's message.

func (*FileEntryRequiredException) OrigErr

func (s *FileEntryRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FileEntryRequiredException) RequestID

func (s *FileEntryRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FileEntryRequiredException) StatusCode

func (s *FileEntryRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (FileEntryRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileMetadata

type FileMetadata struct {

	// The full path to the file to be added or updated, including the name of the
	// file.
	AbsolutePath *string `locationName:"absolutePath" type:"string"`

	// The blob ID that contains the file information.
	BlobId *string `locationName:"blobId" type:"string"`

	// The extrapolated file mode permissions for the file. Valid values include
	// EXECUTABLE and NORMAL.
	FileMode *string `locationName:"fileMode" type:"string" enum:"FileModeTypeEnum"`
	// contains filtered or unexported fields
}

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

func (FileMetadata) GoString

func (s FileMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileMetadata) SetAbsolutePath

func (s *FileMetadata) SetAbsolutePath(v string) *FileMetadata

SetAbsolutePath sets the AbsolutePath field's value.

func (*FileMetadata) SetBlobId

func (s *FileMetadata) SetBlobId(v string) *FileMetadata

SetBlobId sets the BlobId field's value.

func (*FileMetadata) SetFileMode

func (s *FileMetadata) SetFileMode(v string) *FileMetadata

SetFileMode sets the FileMode field's value.

func (FileMetadata) String

func (s FileMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileModeRequiredException

type FileModeRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*FileModeRequiredException) Error

func (s *FileModeRequiredException) Error() string

func (FileModeRequiredException) GoString

func (s FileModeRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileModeRequiredException) Message

func (s *FileModeRequiredException) Message() string

Message returns the exception's message.

func (*FileModeRequiredException) OrigErr

func (s *FileModeRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FileModeRequiredException) RequestID

func (s *FileModeRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FileModeRequiredException) StatusCode

func (s *FileModeRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (FileModeRequiredException) String

func (s FileModeRequiredException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileModes

type FileModes struct {

	// The file mode of a file in the base of a merge or pull request.
	Base *string `locationName:"base" type:"string" enum:"FileModeTypeEnum"`

	// The file mode of a file in the destination of a merge or pull request.
	Destination *string `locationName:"destination" type:"string" enum:"FileModeTypeEnum"`

	// The file mode of a file in the source of a merge or pull request.
	Source *string `locationName:"source" type:"string" enum:"FileModeTypeEnum"`
	// contains filtered or unexported fields
}

Information about file modes in a merge or pull request.

func (FileModes) GoString

func (s FileModes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileModes) SetBase

func (s *FileModes) SetBase(v string) *FileModes

SetBase sets the Base field's value.

func (*FileModes) SetDestination

func (s *FileModes) SetDestination(v string) *FileModes

SetDestination sets the Destination field's value.

func (*FileModes) SetSource

func (s *FileModes) SetSource(v string) *FileModes

SetSource sets the Source field's value.

func (FileModes) String

func (s FileModes) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileNameConflictsWithDirectoryNameException

type FileNameConflictsWithDirectoryNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*FileNameConflictsWithDirectoryNameException) Error

func (FileNameConflictsWithDirectoryNameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileNameConflictsWithDirectoryNameException) Message

Message returns the exception's message.

func (*FileNameConflictsWithDirectoryNameException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FileNameConflictsWithDirectoryNameException) RequestID

RequestID returns the service's response RequestID for request.

func (*FileNameConflictsWithDirectoryNameException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (FileNameConflictsWithDirectoryNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FilePathConflictsWithSubmodulePathException

type FilePathConflictsWithSubmodulePathException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*FilePathConflictsWithSubmodulePathException) Error

func (FilePathConflictsWithSubmodulePathException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FilePathConflictsWithSubmodulePathException) Message

Message returns the exception's message.

func (*FilePathConflictsWithSubmodulePathException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FilePathConflictsWithSubmodulePathException) RequestID

RequestID returns the service's response RequestID for request.

func (*FilePathConflictsWithSubmodulePathException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (FilePathConflictsWithSubmodulePathException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileSizes

type FileSizes struct {

	// The size of a file in the base of a merge or pull request.
	Base *int64 `locationName:"base" type:"long"`

	// The size of a file in the destination of a merge or pull request.
	Destination *int64 `locationName:"destination" type:"long"`

	// The size of a file in the source of a merge or pull request.
	Source *int64 `locationName:"source" type:"long"`
	// contains filtered or unexported fields
}

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

func (FileSizes) GoString

func (s FileSizes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileSizes) SetBase

func (s *FileSizes) SetBase(v int64) *FileSizes

SetBase sets the Base field's value.

func (*FileSizes) SetDestination

func (s *FileSizes) SetDestination(v int64) *FileSizes

SetDestination sets the Destination field's value.

func (*FileSizes) SetSource

func (s *FileSizes) SetSource(v int64) *FileSizes

SetSource sets the Source field's value.

func (FileSizes) String

func (s FileSizes) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileTooLargeException

type FileTooLargeException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*FileTooLargeException) Code

func (s *FileTooLargeException) Code() string

Code returns the exception type name.

func (*FileTooLargeException) Error

func (s *FileTooLargeException) Error() string

func (FileTooLargeException) GoString

func (s FileTooLargeException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileTooLargeException) Message

func (s *FileTooLargeException) Message() string

Message returns the exception's message.

func (*FileTooLargeException) OrigErr

func (s *FileTooLargeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FileTooLargeException) RequestID

func (s *FileTooLargeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FileTooLargeException) StatusCode

func (s *FileTooLargeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (FileTooLargeException) String

func (s FileTooLargeException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FileVersion

type FileVersion struct {

	// The blob ID of the object that represents the content of the file in this
	// version.
	BlobId *string `locationName:"blobId" type:"string"`

	// Returns information about a specific commit.
	Commit *Commit `locationName:"commit" type:"structure"`

	// The name and path of the file at which this blob is indexed which contains
	// the data for this version of the file. This value will vary between file
	// versions if a file is renamed or if its path changes.
	Path *string `locationName:"path" type:"string"`

	// An array of commit IDs that contain more recent versions of this file. If
	// there are no additional versions of the file, this array will be empty.
	RevisionChildren []*string `locationName:"revisionChildren" type:"list"`
	// contains filtered or unexported fields
}

Information about a version of a file.

func (FileVersion) GoString

func (s FileVersion) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FileVersion) SetBlobId

func (s *FileVersion) SetBlobId(v string) *FileVersion

SetBlobId sets the BlobId field's value.

func (*FileVersion) SetCommit

func (s *FileVersion) SetCommit(v *Commit) *FileVersion

SetCommit sets the Commit field's value.

func (*FileVersion) SetPath

func (s *FileVersion) SetPath(v string) *FileVersion

SetPath sets the Path field's value.

func (*FileVersion) SetRevisionChildren

func (s *FileVersion) SetRevisionChildren(v []*string) *FileVersion

SetRevisionChildren sets the RevisionChildren field's value.

func (FileVersion) String

func (s FileVersion) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Folder

type Folder struct {

	// The fully qualified path of the folder in the repository.
	AbsolutePath *string `locationName:"absolutePath" type:"string"`

	// The relative path of the specified folder from the folder where the query
	// originated.
	RelativePath *string `locationName:"relativePath" type:"string"`

	// The full SHA-1 pointer of the tree information for the commit that contains
	// the folder.
	TreeId *string `locationName:"treeId" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a folder in a repository.

func (Folder) GoString

func (s Folder) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Folder) SetAbsolutePath

func (s *Folder) SetAbsolutePath(v string) *Folder

SetAbsolutePath sets the AbsolutePath field's value.

func (*Folder) SetRelativePath

func (s *Folder) SetRelativePath(v string) *Folder

SetRelativePath sets the RelativePath field's value.

func (*Folder) SetTreeId

func (s *Folder) SetTreeId(v string) *Folder

SetTreeId sets the TreeId field's value.

func (Folder) String

func (s Folder) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FolderContentSizeLimitExceededException

type FolderContentSizeLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*FolderContentSizeLimitExceededException) Error

func (FolderContentSizeLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FolderContentSizeLimitExceededException) Message

Message returns the exception's message.

func (*FolderContentSizeLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FolderContentSizeLimitExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*FolderContentSizeLimitExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (FolderContentSizeLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FolderDoesNotExistException

type FolderDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*FolderDoesNotExistException) Error

func (FolderDoesNotExistException) GoString

func (s FolderDoesNotExistException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FolderDoesNotExistException) Message

func (s *FolderDoesNotExistException) Message() string

Message returns the exception's message.

func (*FolderDoesNotExistException) OrigErr

func (s *FolderDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FolderDoesNotExistException) RequestID

func (s *FolderDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FolderDoesNotExistException) StatusCode

func (s *FolderDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (FolderDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetApprovalRuleTemplateInput

type GetApprovalRuleTemplateInput struct {

	// The name of the approval rule template for which you want to get information.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetApprovalRuleTemplateInput) GoString

func (s GetApprovalRuleTemplateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetApprovalRuleTemplateInput) SetApprovalRuleTemplateName

func (s *GetApprovalRuleTemplateInput) SetApprovalRuleTemplateName(v string) *GetApprovalRuleTemplateInput

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (GetApprovalRuleTemplateInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetApprovalRuleTemplateInput) Validate

func (s *GetApprovalRuleTemplateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApprovalRuleTemplateOutput

type GetApprovalRuleTemplateOutput struct {

	// The content and structure of the approval rule template.
	//
	// ApprovalRuleTemplate is a required field
	ApprovalRuleTemplate *ApprovalRuleTemplate `locationName:"approvalRuleTemplate" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetApprovalRuleTemplateOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetApprovalRuleTemplateOutput) SetApprovalRuleTemplate

SetApprovalRuleTemplate sets the ApprovalRuleTemplate field's value.

func (GetApprovalRuleTemplateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBlobInput

type GetBlobInput struct {

	// The ID of the blob, which is its SHA-1 pointer.
	//
	// BlobId is a required field
	BlobId *string `locationName:"blobId" type:"string" required:"true"`

	// The name of the repository that contains the blob.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a get blob operation.

func (GetBlobInput) GoString

func (s GetBlobInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBlobInput) SetBlobId

func (s *GetBlobInput) SetBlobId(v string) *GetBlobInput

SetBlobId sets the BlobId field's value.

func (*GetBlobInput) SetRepositoryName

func (s *GetBlobInput) SetRepositoryName(v string) *GetBlobInput

SetRepositoryName sets the RepositoryName field's value.

func (GetBlobInput) String

func (s GetBlobInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBlobInput) Validate

func (s *GetBlobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBlobOutput

type GetBlobOutput struct {

	// The content of the blob, usually a file.
	// Content is automatically base64 encoded/decoded by the SDK.
	//
	// Content is a required field
	Content []byte `locationName:"content" type:"blob" required:"true"`
	// contains filtered or unexported fields
}

Represents the output of a get blob operation.

func (GetBlobOutput) GoString

func (s GetBlobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBlobOutput) SetContent

func (s *GetBlobOutput) SetContent(v []byte) *GetBlobOutput

SetContent sets the Content field's value.

func (GetBlobOutput) String

func (s GetBlobOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBranchInput

type GetBranchInput struct {

	// The name of the branch for which you want to retrieve information.
	BranchName *string `locationName:"branchName" min:"1" type:"string"`

	// The name of the repository that contains the branch for which you want to
	// retrieve information.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Represents the input of a get branch operation.

func (GetBranchInput) GoString

func (s GetBranchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBranchInput) SetBranchName

func (s *GetBranchInput) SetBranchName(v string) *GetBranchInput

SetBranchName sets the BranchName field's value.

func (*GetBranchInput) SetRepositoryName

func (s *GetBranchInput) SetRepositoryName(v string) *GetBranchInput

SetRepositoryName sets the RepositoryName field's value.

func (GetBranchInput) String

func (s GetBranchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBranchInput) Validate

func (s *GetBranchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBranchOutput

type GetBranchOutput struct {

	// The name of the branch.
	Branch *BranchInfo `locationName:"branch" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a get branch operation.

func (GetBranchOutput) GoString

func (s GetBranchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBranchOutput) SetBranch

func (s *GetBranchOutput) SetBranch(v *BranchInfo) *GetBranchOutput

SetBranch sets the Branch field's value.

func (GetBranchOutput) String

func (s GetBranchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetCommentInput

type GetCommentInput struct {

	// The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit
	// or GetCommentsForPullRequest.
	//
	// CommentId is a required field
	CommentId *string `locationName:"commentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetCommentInput) GoString

func (s GetCommentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentInput) SetCommentId

func (s *GetCommentInput) SetCommentId(v string) *GetCommentInput

SetCommentId sets the CommentId field's value.

func (GetCommentInput) String

func (s GetCommentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentInput) Validate

func (s *GetCommentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCommentOutput

type GetCommentOutput struct {

	// The contents of the comment.
	Comment *Comment `locationName:"comment" type:"structure"`
	// contains filtered or unexported fields
}

func (GetCommentOutput) GoString

func (s GetCommentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentOutput) SetComment

func (s *GetCommentOutput) SetComment(v *Comment) *GetCommentOutput

SetComment sets the Comment field's value.

func (GetCommentOutput) String

func (s GetCommentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetCommentReactionsInput

type GetCommentReactionsInput struct {

	// The ID of the comment for which you want to get reactions information.
	//
	// CommentId is a required field
	CommentId *string `locationName:"commentId" type:"string" required:"true"`

	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is the same as the allowed maximum, 1,000.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Optional. The Amazon Resource Name (ARN) of the user or identity for which
	// you want to get reaction information.
	ReactionUserArn *string `locationName:"reactionUserArn" type:"string"`
	// contains filtered or unexported fields
}

func (GetCommentReactionsInput) GoString

func (s GetCommentReactionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentReactionsInput) SetCommentId

SetCommentId sets the CommentId field's value.

func (*GetCommentReactionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetCommentReactionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetCommentReactionsInput) SetReactionUserArn

func (s *GetCommentReactionsInput) SetReactionUserArn(v string) *GetCommentReactionsInput

SetReactionUserArn sets the ReactionUserArn field's value.

func (GetCommentReactionsInput) String

func (s GetCommentReactionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentReactionsInput) Validate

func (s *GetCommentReactionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCommentReactionsOutput

type GetCommentReactionsOutput struct {

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of reactions to the specified comment.
	//
	// ReactionsForComment is a required field
	ReactionsForComment []*ReactionForComment `locationName:"reactionsForComment" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (GetCommentReactionsOutput) GoString

func (s GetCommentReactionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentReactionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetCommentReactionsOutput) SetReactionsForComment

SetReactionsForComment sets the ReactionsForComment field's value.

func (GetCommentReactionsOutput) String

func (s GetCommentReactionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetCommentsForComparedCommitInput

type GetCommentsForComparedCommitInput struct {

	// To establish the directionality of the comparison, the full commit ID of
	// the after commit.
	//
	// AfterCommitId is a required field
	AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"`

	// To establish the directionality of the comparison, the full commit ID of
	// the before commit.
	BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is 100 comments, but you can configure up to 500.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// An enumeration token that when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The name of the repository where you want to compare commits.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetCommentsForComparedCommitInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentsForComparedCommitInput) SetAfterCommitId

SetAfterCommitId sets the AfterCommitId field's value.

func (*GetCommentsForComparedCommitInput) SetBeforeCommitId

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*GetCommentsForComparedCommitInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetCommentsForComparedCommitInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetCommentsForComparedCommitInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (GetCommentsForComparedCommitInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentsForComparedCommitInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetCommentsForComparedCommitOutput

type GetCommentsForComparedCommitOutput struct {

	// A list of comment objects on the compared commit.
	CommentsForComparedCommitData []*CommentsForComparedCommit `locationName:"commentsForComparedCommitData" type:"list"`

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetCommentsForComparedCommitOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentsForComparedCommitOutput) SetCommentsForComparedCommitData

SetCommentsForComparedCommitData sets the CommentsForComparedCommitData field's value.

func (*GetCommentsForComparedCommitOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetCommentsForComparedCommitOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetCommentsForPullRequestInput

type GetCommentsForPullRequestInput struct {

	// The full commit ID of the commit in the source branch that was the tip of
	// the branch at the time the comment was made. Requirement is conditional:
	// afterCommitId must be specified when repositoryName is included.
	AfterCommitId *string `locationName:"afterCommitId" type:"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 created. Requirement is conditional:
	// beforeCommitId must be specified when repositoryName is included.
	BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is 100 comments. You can return up to 500 comments with a single
	// request.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The name of the repository that contains the pull request. Requirement is
	// conditional: repositoryName must be specified when beforeCommitId and afterCommitId
	// are included.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetCommentsForPullRequestInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentsForPullRequestInput) SetAfterCommitId

SetAfterCommitId sets the AfterCommitId field's value.

func (*GetCommentsForPullRequestInput) SetBeforeCommitId

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*GetCommentsForPullRequestInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetCommentsForPullRequestInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetCommentsForPullRequestInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*GetCommentsForPullRequestInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (GetCommentsForPullRequestInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentsForPullRequestInput) Validate

func (s *GetCommentsForPullRequestInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCommentsForPullRequestOutput

type GetCommentsForPullRequestOutput struct {

	// An array of comment objects on the pull request.
	CommentsForPullRequestData []*CommentsForPullRequest `locationName:"commentsForPullRequestData" type:"list"`

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetCommentsForPullRequestOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommentsForPullRequestOutput) SetCommentsForPullRequestData

SetCommentsForPullRequestData sets the CommentsForPullRequestData field's value.

func (*GetCommentsForPullRequestOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetCommentsForPullRequestOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetCommitInput

type GetCommitInput struct {

	// The commit ID. Commit IDs are the full SHA ID of the commit.
	//
	// CommitId is a required field
	CommitId *string `locationName:"commitId" type:"string" required:"true"`

	// The name of the repository to which the commit was made.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a get commit operation.

func (GetCommitInput) GoString

func (s GetCommitInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommitInput) SetCommitId

func (s *GetCommitInput) SetCommitId(v string) *GetCommitInput

SetCommitId sets the CommitId field's value.

func (*GetCommitInput) SetRepositoryName

func (s *GetCommitInput) SetRepositoryName(v string) *GetCommitInput

SetRepositoryName sets the RepositoryName field's value.

func (GetCommitInput) String

func (s GetCommitInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommitInput) Validate

func (s *GetCommitInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCommitOutput

type GetCommitOutput struct {

	// A commit data type object that contains information about the specified commit.
	//
	// Commit is a required field
	Commit *Commit `locationName:"commit" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Represents the output of a get commit operation.

func (GetCommitOutput) GoString

func (s GetCommitOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCommitOutput) SetCommit

func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput

SetCommit sets the Commit field's value.

func (GetCommitOutput) String

func (s GetCommitOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDifferencesInput

type GetDifferencesInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit.
	//
	// AfterCommitSpecifier is a required field
	AfterCommitSpecifier *string `locationName:"afterCommitSpecifier" type:"string" required:"true"`

	// The file path in which to check differences. Limits the results to this path.
	// Can also be used to specify the changed name of a directory or folder, if
	// it has changed. If not specified, differences are shown for all paths.
	AfterPath *string `locationName:"afterPath" type:"string"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, the full commit ID). Optional. If not specified, all
	// changes before the afterCommitSpecifier value are shown. If you do not use
	// beforeCommitSpecifier in your request, consider limiting the results with
	// maxResults.
	BeforeCommitSpecifier *string `locationName:"beforeCommitSpecifier" type:"string"`

	// The file path in which to check for differences. Limits the results to this
	// path. Can also be used to specify the previous name of a directory or folder.
	// If beforePath and afterPath are not specified, differences are shown for
	// all paths.
	BeforePath *string `locationName:"beforePath" type:"string"`

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int64 `type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `type:"string"`

	// The name of the repository where you want to get differences.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDifferencesInput) GoString

func (s GetDifferencesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDifferencesInput) SetAfterCommitSpecifier

func (s *GetDifferencesInput) SetAfterCommitSpecifier(v string) *GetDifferencesInput

SetAfterCommitSpecifier sets the AfterCommitSpecifier field's value.

func (*GetDifferencesInput) SetAfterPath

func (s *GetDifferencesInput) SetAfterPath(v string) *GetDifferencesInput

SetAfterPath sets the AfterPath field's value.

func (*GetDifferencesInput) SetBeforeCommitSpecifier

func (s *GetDifferencesInput) SetBeforeCommitSpecifier(v string) *GetDifferencesInput

SetBeforeCommitSpecifier sets the BeforeCommitSpecifier field's value.

func (*GetDifferencesInput) SetBeforePath

func (s *GetDifferencesInput) SetBeforePath(v string) *GetDifferencesInput

SetBeforePath sets the BeforePath field's value.

func (*GetDifferencesInput) SetMaxResults

func (s *GetDifferencesInput) SetMaxResults(v int64) *GetDifferencesInput

SetMaxResults sets the MaxResults field's value.

func (*GetDifferencesInput) SetNextToken

func (s *GetDifferencesInput) SetNextToken(v string) *GetDifferencesInput

SetNextToken sets the NextToken field's value.

func (*GetDifferencesInput) SetRepositoryName

func (s *GetDifferencesInput) SetRepositoryName(v string) *GetDifferencesInput

SetRepositoryName sets the RepositoryName field's value.

func (GetDifferencesInput) String

func (s GetDifferencesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDifferencesInput) Validate

func (s *GetDifferencesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDifferencesOutput

type GetDifferencesOutput struct {

	// A data type object that contains information about the differences, including
	// whether the difference is added, modified, or deleted (A, D, M).
	Differences []*Difference `locationName:"differences" type:"list"`

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetDifferencesOutput) GoString

func (s GetDifferencesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDifferencesOutput) SetDifferences

func (s *GetDifferencesOutput) SetDifferences(v []*Difference) *GetDifferencesOutput

SetDifferences sets the Differences field's value.

func (*GetDifferencesOutput) SetNextToken

func (s *GetDifferencesOutput) SetNextToken(v string) *GetDifferencesOutput

SetNextToken sets the NextToken field's value.

func (GetDifferencesOutput) String

func (s GetDifferencesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetFileInput

type GetFileInput struct {

	// The fully quaified reference that identifies the commit that contains the
	// file. For example, you can specify a full commit ID, a tag, a branch name,
	// or a reference such as refs/heads/main. If none is provided, the head commit
	// is used.
	CommitSpecifier *string `locationName:"commitSpecifier" type:"string"`

	// The fully qualified path to the file, including the full name and extension
	// of the file. For example, /examples/file.md is the fully qualified path to
	// a file named file.md in a folder named examples.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// The name of the repository that contains the file.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetFileInput) GoString

func (s GetFileInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFileInput) SetCommitSpecifier

func (s *GetFileInput) SetCommitSpecifier(v string) *GetFileInput

SetCommitSpecifier sets the CommitSpecifier field's value.

func (*GetFileInput) SetFilePath

func (s *GetFileInput) SetFilePath(v string) *GetFileInput

SetFilePath sets the FilePath field's value.

func (*GetFileInput) SetRepositoryName

func (s *GetFileInput) SetRepositoryName(v string) *GetFileInput

SetRepositoryName sets the RepositoryName field's value.

func (GetFileInput) String

func (s GetFileInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFileInput) Validate

func (s *GetFileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFileOutput

type GetFileOutput struct {

	// The blob ID of the object that represents the file content.
	//
	// BlobId is a required field
	BlobId *string `locationName:"blobId" type:"string" required:"true"`

	// The full commit ID of the commit that contains the content returned by GetFile.
	//
	// CommitId is a required field
	CommitId *string `locationName:"commitId" type:"string" required:"true"`

	// The base-64 encoded binary data object that represents the content of the
	// file.
	// FileContent is automatically base64 encoded/decoded by the SDK.
	//
	// FileContent is a required field
	FileContent []byte `locationName:"fileContent" type:"blob" required:"true"`

	// The extrapolated file mode permissions of the blob. Valid values include
	// strings such as EXECUTABLE and not numeric values.
	//
	// The file mode permissions returned by this API are not the standard file
	// mode permission values, such as 100644, but rather extrapolated values. See
	// the supported return values.
	//
	// FileMode is a required field
	FileMode *string `locationName:"fileMode" type:"string" required:"true" enum:"FileModeTypeEnum"`

	// The fully qualified path to the specified file. Returns the name and extension
	// of the file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// The size of the contents of the file, in bytes.
	//
	// FileSize is a required field
	FileSize *int64 `locationName:"fileSize" type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (GetFileOutput) GoString

func (s GetFileOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFileOutput) SetBlobId

func (s *GetFileOutput) SetBlobId(v string) *GetFileOutput

SetBlobId sets the BlobId field's value.

func (*GetFileOutput) SetCommitId

func (s *GetFileOutput) SetCommitId(v string) *GetFileOutput

SetCommitId sets the CommitId field's value.

func (*GetFileOutput) SetFileContent

func (s *GetFileOutput) SetFileContent(v []byte) *GetFileOutput

SetFileContent sets the FileContent field's value.

func (*GetFileOutput) SetFileMode

func (s *GetFileOutput) SetFileMode(v string) *GetFileOutput

SetFileMode sets the FileMode field's value.

func (*GetFileOutput) SetFilePath

func (s *GetFileOutput) SetFilePath(v string) *GetFileOutput

SetFilePath sets the FilePath field's value.

func (*GetFileOutput) SetFileSize

func (s *GetFileOutput) SetFileSize(v int64) *GetFileOutput

SetFileSize sets the FileSize field's value.

func (GetFileOutput) String

func (s GetFileOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetFolderInput

type GetFolderInput struct {

	// A fully qualified reference used to identify a commit that contains the version
	// of the folder's content to return. A fully qualified reference can be a commit
	// ID, branch name, tag, or reference such as HEAD. If no specifier is provided,
	// the folder content is returned as it exists in the HEAD commit.
	CommitSpecifier *string `locationName:"commitSpecifier" type:"string"`

	// The fully qualified path to the folder whose contents are returned, including
	// the folder name. For example, /examples is a fully-qualified path to a folder
	// named examples that was created off of the root directory (/) of a repository.
	//
	// FolderPath is a required field
	FolderPath *string `locationName:"folderPath" type:"string" required:"true"`

	// The name of the repository.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetFolderInput) GoString

func (s GetFolderInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFolderInput) SetCommitSpecifier

func (s *GetFolderInput) SetCommitSpecifier(v string) *GetFolderInput

SetCommitSpecifier sets the CommitSpecifier field's value.

func (*GetFolderInput) SetFolderPath

func (s *GetFolderInput) SetFolderPath(v string) *GetFolderInput

SetFolderPath sets the FolderPath field's value.

func (*GetFolderInput) SetRepositoryName

func (s *GetFolderInput) SetRepositoryName(v string) *GetFolderInput

SetRepositoryName sets the RepositoryName field's value.

func (GetFolderInput) String

func (s GetFolderInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFolderInput) Validate

func (s *GetFolderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFolderOutput

type GetFolderOutput struct {

	// The full commit ID used as a reference for the returned version of the folder
	// content.
	//
	// CommitId is a required field
	CommitId *string `locationName:"commitId" type:"string" required:"true"`

	// The list of files in the specified folder, if any.
	Files []*File `locationName:"files" type:"list"`

	// The fully qualified path of the folder whose contents are returned.
	//
	// FolderPath is a required field
	FolderPath *string `locationName:"folderPath" type:"string" required:"true"`

	// The list of folders that exist under the specified folder, if any.
	SubFolders []*Folder `locationName:"subFolders" type:"list"`

	// The list of submodules in the specified folder, if any.
	SubModules []*SubModule `locationName:"subModules" type:"list"`

	// The list of symbolic links to other files and folders in the specified folder,
	// if any.
	SymbolicLinks []*SymbolicLink `locationName:"symbolicLinks" type:"list"`

	// The full SHA-1 pointer of the tree information for the commit that contains
	// the folder.
	TreeId *string `locationName:"treeId" type:"string"`
	// contains filtered or unexported fields
}

func (GetFolderOutput) GoString

func (s GetFolderOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetFolderOutput) SetCommitId

func (s *GetFolderOutput) SetCommitId(v string) *GetFolderOutput

SetCommitId sets the CommitId field's value.

func (*GetFolderOutput) SetFiles

func (s *GetFolderOutput) SetFiles(v []*File) *GetFolderOutput

SetFiles sets the Files field's value.

func (*GetFolderOutput) SetFolderPath

func (s *GetFolderOutput) SetFolderPath(v string) *GetFolderOutput

SetFolderPath sets the FolderPath field's value.

func (*GetFolderOutput) SetSubFolders

func (s *GetFolderOutput) SetSubFolders(v []*Folder) *GetFolderOutput

SetSubFolders sets the SubFolders field's value.

func (*GetFolderOutput) SetSubModules

func (s *GetFolderOutput) SetSubModules(v []*SubModule) *GetFolderOutput

SetSubModules sets the SubModules field's value.

func (s *GetFolderOutput) SetSymbolicLinks(v []*SymbolicLink) *GetFolderOutput

SetSymbolicLinks sets the SymbolicLinks field's value.

func (*GetFolderOutput) SetTreeId

func (s *GetFolderOutput) SetTreeId(v string) *GetFolderOutput

SetTreeId sets the TreeId field's value.

func (GetFolderOutput) String

func (s GetFolderOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMergeCommitInput

type GetMergeCommitInput struct {

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// DestinationCommitSpecifier is a required field
	DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

	// The name of the repository that contains the merge commit about which you
	// want to get information.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// SourceCommitSpecifier is a required field
	SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMergeCommitInput) GoString

func (s GetMergeCommitInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMergeCommitInput) SetConflictDetailLevel

func (s *GetMergeCommitInput) SetConflictDetailLevel(v string) *GetMergeCommitInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*GetMergeCommitInput) SetConflictResolutionStrategy

func (s *GetMergeCommitInput) SetConflictResolutionStrategy(v string) *GetMergeCommitInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*GetMergeCommitInput) SetDestinationCommitSpecifier

func (s *GetMergeCommitInput) SetDestinationCommitSpecifier(v string) *GetMergeCommitInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*GetMergeCommitInput) SetRepositoryName

func (s *GetMergeCommitInput) SetRepositoryName(v string) *GetMergeCommitInput

SetRepositoryName sets the RepositoryName field's value.

func (*GetMergeCommitInput) SetSourceCommitSpecifier

func (s *GetMergeCommitInput) SetSourceCommitSpecifier(v string) *GetMergeCommitInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (GetMergeCommitInput) String

func (s GetMergeCommitInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMergeCommitInput) Validate

func (s *GetMergeCommitInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetMergeCommitOutput

type GetMergeCommitOutput struct {

	// The commit ID of the merge base.
	BaseCommitId *string `locationName:"baseCommitId" type:"string"`

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	DestinationCommitId *string `locationName:"destinationCommitId" type:"string"`

	// The commit ID for the merge commit created when the source branch was merged
	// into the destination branch. If the fast-forward merge strategy was used,
	// there is no merge commit.
	MergedCommitId *string `locationName:"mergedCommitId" type:"string"`

	// The commit ID of the source commit specifier that was used in the merge evaluation.
	SourceCommitId *string `locationName:"sourceCommitId" type:"string"`
	// contains filtered or unexported fields
}

func (GetMergeCommitOutput) GoString

func (s GetMergeCommitOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMergeCommitOutput) SetBaseCommitId

func (s *GetMergeCommitOutput) SetBaseCommitId(v string) *GetMergeCommitOutput

SetBaseCommitId sets the BaseCommitId field's value.

func (*GetMergeCommitOutput) SetDestinationCommitId

func (s *GetMergeCommitOutput) SetDestinationCommitId(v string) *GetMergeCommitOutput

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*GetMergeCommitOutput) SetMergedCommitId

func (s *GetMergeCommitOutput) SetMergedCommitId(v string) *GetMergeCommitOutput

SetMergedCommitId sets the MergedCommitId field's value.

func (*GetMergeCommitOutput) SetSourceCommitId

func (s *GetMergeCommitOutput) SetSourceCommitId(v string) *GetMergeCommitOutput

SetSourceCommitId sets the SourceCommitId field's value.

func (GetMergeCommitOutput) String

func (s GetMergeCommitOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMergeConflictsInput

type GetMergeConflictsInput struct {

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// DestinationCommitSpecifier is a required field
	DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

	// The maximum number of files to include in the output.
	MaxConflictFiles *int64 `locationName:"maxConflictFiles" type:"integer"`

	// The merge option or strategy you want to use to merge the code.
	//
	// MergeOption is a required field
	MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The name of the repository where the pull request was created.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// SourceCommitSpecifier is a required field
	SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMergeConflictsInput) GoString

func (s GetMergeConflictsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMergeConflictsInput) SetConflictDetailLevel

func (s *GetMergeConflictsInput) SetConflictDetailLevel(v string) *GetMergeConflictsInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*GetMergeConflictsInput) SetConflictResolutionStrategy

func (s *GetMergeConflictsInput) SetConflictResolutionStrategy(v string) *GetMergeConflictsInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*GetMergeConflictsInput) SetDestinationCommitSpecifier

func (s *GetMergeConflictsInput) SetDestinationCommitSpecifier(v string) *GetMergeConflictsInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*GetMergeConflictsInput) SetMaxConflictFiles

func (s *GetMergeConflictsInput) SetMaxConflictFiles(v int64) *GetMergeConflictsInput

SetMaxConflictFiles sets the MaxConflictFiles field's value.

func (*GetMergeConflictsInput) SetMergeOption

SetMergeOption sets the MergeOption field's value.

func (*GetMergeConflictsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetMergeConflictsInput) SetRepositoryName

func (s *GetMergeConflictsInput) SetRepositoryName(v string) *GetMergeConflictsInput

SetRepositoryName sets the RepositoryName field's value.

func (*GetMergeConflictsInput) SetSourceCommitSpecifier

func (s *GetMergeConflictsInput) SetSourceCommitSpecifier(v string) *GetMergeConflictsInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (GetMergeConflictsInput) String

func (s GetMergeConflictsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMergeConflictsInput) Validate

func (s *GetMergeConflictsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetMergeConflictsOutput

type GetMergeConflictsOutput struct {

	// The commit ID of the merge base.
	BaseCommitId *string `locationName:"baseCommitId" type:"string"`

	// A list of metadata for any conflicting files. If the specified merge strategy
	// is FAST_FORWARD_MERGE, this list is always empty.
	//
	// ConflictMetadataList is a required field
	ConflictMetadataList []*ConflictMetadata `locationName:"conflictMetadataList" type:"list" required:"true"`

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	//
	// DestinationCommitId is a required field
	DestinationCommitId *string `locationName:"destinationCommitId" type:"string" required:"true"`

	// A Boolean value that indicates whether the code is mergeable by the specified
	// merge option.
	//
	// Mergeable is a required field
	Mergeable *bool `locationName:"mergeable" type:"boolean" required:"true"`

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The commit ID of the source commit specifier that was used in the merge evaluation.
	//
	// SourceCommitId is a required field
	SourceCommitId *string `locationName:"sourceCommitId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMergeConflictsOutput) GoString

func (s GetMergeConflictsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMergeConflictsOutput) SetBaseCommitId

SetBaseCommitId sets the BaseCommitId field's value.

func (*GetMergeConflictsOutput) SetConflictMetadataList

func (s *GetMergeConflictsOutput) SetConflictMetadataList(v []*ConflictMetadata) *GetMergeConflictsOutput

SetConflictMetadataList sets the ConflictMetadataList field's value.

func (*GetMergeConflictsOutput) SetDestinationCommitId

func (s *GetMergeConflictsOutput) SetDestinationCommitId(v string) *GetMergeConflictsOutput

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*GetMergeConflictsOutput) SetMergeable

SetMergeable sets the Mergeable field's value.

func (*GetMergeConflictsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetMergeConflictsOutput) SetSourceCommitId

func (s *GetMergeConflictsOutput) SetSourceCommitId(v string) *GetMergeConflictsOutput

SetSourceCommitId sets the SourceCommitId field's value.

func (GetMergeConflictsOutput) String

func (s GetMergeConflictsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetMergeOptionsInput

type GetMergeOptionsInput struct {

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// DestinationCommitSpecifier is a required field
	DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

	// The name of the repository that contains the commits about which you want
	// to get merge options.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// SourceCommitSpecifier is a required field
	SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMergeOptionsInput) GoString

func (s GetMergeOptionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMergeOptionsInput) SetConflictDetailLevel

func (s *GetMergeOptionsInput) SetConflictDetailLevel(v string) *GetMergeOptionsInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*GetMergeOptionsInput) SetConflictResolutionStrategy

func (s *GetMergeOptionsInput) SetConflictResolutionStrategy(v string) *GetMergeOptionsInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*GetMergeOptionsInput) SetDestinationCommitSpecifier

func (s *GetMergeOptionsInput) SetDestinationCommitSpecifier(v string) *GetMergeOptionsInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*GetMergeOptionsInput) SetRepositoryName

func (s *GetMergeOptionsInput) SetRepositoryName(v string) *GetMergeOptionsInput

SetRepositoryName sets the RepositoryName field's value.

func (*GetMergeOptionsInput) SetSourceCommitSpecifier

func (s *GetMergeOptionsInput) SetSourceCommitSpecifier(v string) *GetMergeOptionsInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (GetMergeOptionsInput) String

func (s GetMergeOptionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMergeOptionsInput) Validate

func (s *GetMergeOptionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetMergeOptionsOutput

type GetMergeOptionsOutput struct {

	// The commit ID of the merge base.
	//
	// BaseCommitId is a required field
	BaseCommitId *string `locationName:"baseCommitId" type:"string" required:"true"`

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	//
	// DestinationCommitId is a required field
	DestinationCommitId *string `locationName:"destinationCommitId" type:"string" required:"true"`

	// The merge option or strategy used to merge the code.
	//
	// MergeOptions is a required field
	MergeOptions []*string `locationName:"mergeOptions" type:"list" required:"true" enum:"MergeOptionTypeEnum"`

	// The commit ID of the source commit specifier that was used in the merge evaluation.
	//
	// SourceCommitId is a required field
	SourceCommitId *string `locationName:"sourceCommitId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMergeOptionsOutput) GoString

func (s GetMergeOptionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetMergeOptionsOutput) SetBaseCommitId

func (s *GetMergeOptionsOutput) SetBaseCommitId(v string) *GetMergeOptionsOutput

SetBaseCommitId sets the BaseCommitId field's value.

func (*GetMergeOptionsOutput) SetDestinationCommitId

func (s *GetMergeOptionsOutput) SetDestinationCommitId(v string) *GetMergeOptionsOutput

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*GetMergeOptionsOutput) SetMergeOptions

func (s *GetMergeOptionsOutput) SetMergeOptions(v []*string) *GetMergeOptionsOutput

SetMergeOptions sets the MergeOptions field's value.

func (*GetMergeOptionsOutput) SetSourceCommitId

func (s *GetMergeOptionsOutput) SetSourceCommitId(v string) *GetMergeOptionsOutput

SetSourceCommitId sets the SourceCommitId field's value.

func (GetMergeOptionsOutput) String

func (s GetMergeOptionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetPullRequestApprovalStatesInput

type GetPullRequestApprovalStatesInput struct {

	// The system-generated ID for the pull request.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The system-generated ID for the pull request revision.
	//
	// RevisionId is a required field
	RevisionId *string `locationName:"revisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetPullRequestApprovalStatesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPullRequestApprovalStatesInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*GetPullRequestApprovalStatesInput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (GetPullRequestApprovalStatesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPullRequestApprovalStatesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetPullRequestApprovalStatesOutput

type GetPullRequestApprovalStatesOutput struct {

	// Information about users who have approved the pull request.
	Approvals []*Approval `locationName:"approvals" type:"list"`
	// contains filtered or unexported fields
}

func (GetPullRequestApprovalStatesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPullRequestApprovalStatesOutput) SetApprovals

SetApprovals sets the Approvals field's value.

func (GetPullRequestApprovalStatesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetPullRequestInput

type GetPullRequestInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetPullRequestInput) GoString

func (s GetPullRequestInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPullRequestInput) SetPullRequestId

func (s *GetPullRequestInput) SetPullRequestId(v string) *GetPullRequestInput

SetPullRequestId sets the PullRequestId field's value.

func (GetPullRequestInput) String

func (s GetPullRequestInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPullRequestInput) Validate

func (s *GetPullRequestInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetPullRequestOutput

type GetPullRequestOutput struct {

	// Information about the specified pull request.
	//
	// PullRequest is a required field
	PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetPullRequestOutput) GoString

func (s GetPullRequestOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPullRequestOutput) SetPullRequest

func (s *GetPullRequestOutput) SetPullRequest(v *PullRequest) *GetPullRequestOutput

SetPullRequest sets the PullRequest field's value.

func (GetPullRequestOutput) String

func (s GetPullRequestOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetPullRequestOverrideStateInput

type GetPullRequestOverrideStateInput struct {

	// The ID of the pull request for which you want to get information about whether
	// approval rules have been set aside (overridden).
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The system-generated ID of the revision for the pull request. To retrieve
	// the most recent revision ID, use GetPullRequest.
	//
	// RevisionId is a required field
	RevisionId *string `locationName:"revisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetPullRequestOverrideStateInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPullRequestOverrideStateInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*GetPullRequestOverrideStateInput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (GetPullRequestOverrideStateInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPullRequestOverrideStateInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetPullRequestOverrideStateOutput

type GetPullRequestOverrideStateOutput struct {

	// A Boolean value that indicates whether a pull request has had its rules set
	// aside (TRUE) or whether all approval rules still apply (FALSE).
	Overridden *bool `locationName:"overridden" type:"boolean"`

	// The Amazon Resource Name (ARN) of the user or identity that overrode the
	// rules and their requirements for the pull request.
	Overrider *string `locationName:"overrider" type:"string"`
	// contains filtered or unexported fields
}

func (GetPullRequestOverrideStateOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPullRequestOverrideStateOutput) SetOverridden

SetOverridden sets the Overridden field's value.

func (*GetPullRequestOverrideStateOutput) SetOverrider

SetOverrider sets the Overrider field's value.

func (GetPullRequestOverrideStateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetRepositoryInput

type GetRepositoryInput struct {

	// The name of the repository to get information about.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a get repository operation.

func (GetRepositoryInput) GoString

func (s GetRepositoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryInput) SetRepositoryName

func (s *GetRepositoryInput) SetRepositoryName(v string) *GetRepositoryInput

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryInput) String

func (s GetRepositoryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryInput) Validate

func (s *GetRepositoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRepositoryOutput

type GetRepositoryOutput struct {

	// Information about the repository.
	RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a get repository operation.

func (GetRepositoryOutput) GoString

func (s GetRepositoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryOutput) SetRepositoryMetadata

func (s *GetRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *GetRepositoryOutput

SetRepositoryMetadata sets the RepositoryMetadata field's value.

func (GetRepositoryOutput) String

func (s GetRepositoryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetRepositoryTriggersInput

type GetRepositoryTriggersInput struct {

	// The name of the repository for which the trigger is configured.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a get repository triggers operation.

func (GetRepositoryTriggersInput) GoString

func (s GetRepositoryTriggersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryTriggersInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryTriggersInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryTriggersInput) Validate

func (s *GetRepositoryTriggersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRepositoryTriggersOutput

type GetRepositoryTriggersOutput struct {

	// The system-generated unique ID for the trigger.
	ConfigurationId *string `locationName:"configurationId" type:"string"`

	// The JSON block of configuration information for each trigger.
	Triggers []*RepositoryTrigger `locationName:"triggers" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a get repository triggers operation.

func (GetRepositoryTriggersOutput) GoString

func (s GetRepositoryTriggersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryTriggersOutput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (*GetRepositoryTriggersOutput) SetTriggers

SetTriggers sets the Triggers field's value.

func (GetRepositoryTriggersOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type IdempotencyParameterMismatchException

type IdempotencyParameterMismatchException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*IdempotencyParameterMismatchException) Error

func (IdempotencyParameterMismatchException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IdempotencyParameterMismatchException) Message

Message returns the exception's message.

func (*IdempotencyParameterMismatchException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*IdempotencyParameterMismatchException) RequestID

RequestID returns the service's response RequestID for request.

func (*IdempotencyParameterMismatchException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (IdempotencyParameterMismatchException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidActorArnException

type InvalidActorArnException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

func (s *InvalidActorArnException) Code() string

Code returns the exception type name.

func (*InvalidActorArnException) Error

func (s *InvalidActorArnException) Error() string

func (InvalidActorArnException) GoString

func (s InvalidActorArnException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidActorArnException) Message

func (s *InvalidActorArnException) Message() string

Message returns the exception's message.

func (*InvalidActorArnException) OrigErr

func (s *InvalidActorArnException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidActorArnException) RequestID

func (s *InvalidActorArnException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidActorArnException) StatusCode

func (s *InvalidActorArnException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidActorArnException) String

func (s InvalidActorArnException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidApprovalRuleContentException

type InvalidApprovalRuleContentException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The content for the approval rule is not valid.

func (*InvalidApprovalRuleContentException) Code

Code returns the exception type name.

func (*InvalidApprovalRuleContentException) Error

func (InvalidApprovalRuleContentException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidApprovalRuleContentException) Message

Message returns the exception's message.

func (*InvalidApprovalRuleContentException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidApprovalRuleContentException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidApprovalRuleContentException) StatusCode

func (s *InvalidApprovalRuleContentException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidApprovalRuleContentException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidApprovalRuleNameException

type InvalidApprovalRuleNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The name for the approval rule is not valid.

func (*InvalidApprovalRuleNameException) Code

Code returns the exception type name.

func (*InvalidApprovalRuleNameException) Error

func (InvalidApprovalRuleNameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidApprovalRuleNameException) Message

Message returns the exception's message.

func (*InvalidApprovalRuleNameException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidApprovalRuleNameException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidApprovalRuleNameException) StatusCode

func (s *InvalidApprovalRuleNameException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidApprovalRuleNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidApprovalRuleTemplateContentException

type InvalidApprovalRuleTemplateContentException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The content of the approval rule template is not valid.

func (*InvalidApprovalRuleTemplateContentException) Code

Code returns the exception type name.

func (*InvalidApprovalRuleTemplateContentException) Error

func (InvalidApprovalRuleTemplateContentException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidApprovalRuleTemplateContentException) Message

Message returns the exception's message.

func (*InvalidApprovalRuleTemplateContentException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidApprovalRuleTemplateContentException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidApprovalRuleTemplateContentException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidApprovalRuleTemplateContentException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidApprovalRuleTemplateDescriptionException

type InvalidApprovalRuleTemplateDescriptionException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

func (*InvalidApprovalRuleTemplateDescriptionException) Code

Code returns the exception type name.

func (*InvalidApprovalRuleTemplateDescriptionException) Error

func (InvalidApprovalRuleTemplateDescriptionException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidApprovalRuleTemplateDescriptionException) Message

Message returns the exception's message.

func (*InvalidApprovalRuleTemplateDescriptionException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidApprovalRuleTemplateDescriptionException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidApprovalRuleTemplateDescriptionException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidApprovalRuleTemplateDescriptionException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidApprovalRuleTemplateNameException

type InvalidApprovalRuleTemplateNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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 CodeCommit, see Quotas (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the CodeCommit User Guide.

func (*InvalidApprovalRuleTemplateNameException) Code

Code returns the exception type name.

func (*InvalidApprovalRuleTemplateNameException) Error

func (InvalidApprovalRuleTemplateNameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidApprovalRuleTemplateNameException) Message

Message returns the exception's message.

func (*InvalidApprovalRuleTemplateNameException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidApprovalRuleTemplateNameException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidApprovalRuleTemplateNameException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidApprovalRuleTemplateNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidApprovalStateException

type InvalidApprovalStateException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidApprovalStateException) Code

Code returns the exception type name.

func (*InvalidApprovalStateException) Error

func (InvalidApprovalStateException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidApprovalStateException) Message

Message returns the exception's message.

func (*InvalidApprovalStateException) OrigErr

func (s *InvalidApprovalStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidApprovalStateException) RequestID

func (s *InvalidApprovalStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidApprovalStateException) StatusCode

func (s *InvalidApprovalStateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidApprovalStateException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidAuthorArnException

type InvalidAuthorArnException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*InvalidAuthorArnException) Error

func (s *InvalidAuthorArnException) Error() string

func (InvalidAuthorArnException) GoString

func (s InvalidAuthorArnException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidAuthorArnException) Message

func (s *InvalidAuthorArnException) Message() string

Message returns the exception's message.

func (*InvalidAuthorArnException) OrigErr

func (s *InvalidAuthorArnException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidAuthorArnException) RequestID

func (s *InvalidAuthorArnException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidAuthorArnException) StatusCode

func (s *InvalidAuthorArnException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidAuthorArnException) String

func (s InvalidAuthorArnException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidBlobIdException

type InvalidBlobIdException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified blob is not valid.

func (*InvalidBlobIdException) Code

func (s *InvalidBlobIdException) Code() string

Code returns the exception type name.

func (*InvalidBlobIdException) Error

func (s *InvalidBlobIdException) Error() string

func (InvalidBlobIdException) GoString

func (s InvalidBlobIdException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidBlobIdException) Message

func (s *InvalidBlobIdException) Message() string

Message returns the exception's message.

func (*InvalidBlobIdException) OrigErr

func (s *InvalidBlobIdException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidBlobIdException) RequestID

func (s *InvalidBlobIdException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidBlobIdException) StatusCode

func (s *InvalidBlobIdException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidBlobIdException) String

func (s InvalidBlobIdException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidBranchNameException

type InvalidBranchNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified reference name is not valid.

func (*InvalidBranchNameException) Code

Code returns the exception type name.

func (*InvalidBranchNameException) Error

func (InvalidBranchNameException) GoString

func (s InvalidBranchNameException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidBranchNameException) Message

func (s *InvalidBranchNameException) Message() string

Message returns the exception's message.

func (*InvalidBranchNameException) OrigErr

func (s *InvalidBranchNameException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidBranchNameException) RequestID

func (s *InvalidBranchNameException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidBranchNameException) StatusCode

func (s *InvalidBranchNameException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidBranchNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidClientRequestTokenException

type InvalidClientRequestTokenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The client request token is not valid.

func (*InvalidClientRequestTokenException) Code

Code returns the exception type name.

func (*InvalidClientRequestTokenException) Error

func (InvalidClientRequestTokenException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidClientRequestTokenException) Message

Message returns the exception's message.

func (*InvalidClientRequestTokenException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidClientRequestTokenException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidClientRequestTokenException) StatusCode

func (s *InvalidClientRequestTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidClientRequestTokenException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidCommentIdException

type InvalidCommentIdException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidCommentIdException) Code

Code returns the exception type name.

func (*InvalidCommentIdException) Error

func (s *InvalidCommentIdException) Error() string

func (InvalidCommentIdException) GoString

func (s InvalidCommentIdException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidCommentIdException) Message

func (s *InvalidCommentIdException) Message() string

Message returns the exception's message.

func (*InvalidCommentIdException) OrigErr

func (s *InvalidCommentIdException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidCommentIdException) RequestID

func (s *InvalidCommentIdException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidCommentIdException) StatusCode

func (s *InvalidCommentIdException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidCommentIdException) String

func (s InvalidCommentIdException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidCommitException

type InvalidCommitException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified commit is not valid.

func (*InvalidCommitException) Code

func (s *InvalidCommitException) Code() string

Code returns the exception type name.

func (*InvalidCommitException) Error

func (s *InvalidCommitException) Error() string

func (InvalidCommitException) GoString

func (s InvalidCommitException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidCommitException) Message

func (s *InvalidCommitException) Message() string

Message returns the exception's message.

func (*InvalidCommitException) OrigErr

func (s *InvalidCommitException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidCommitException) RequestID

func (s *InvalidCommitException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidCommitException) StatusCode

func (s *InvalidCommitException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidCommitException) String

func (s InvalidCommitException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidCommitIdException

type InvalidCommitIdException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified commit ID is not valid.

func (*InvalidCommitIdException) Code

func (s *InvalidCommitIdException) Code() string

Code returns the exception type name.

func (*InvalidCommitIdException) Error

func (s *InvalidCommitIdException) Error() string

func (InvalidCommitIdException) GoString

func (s InvalidCommitIdException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidCommitIdException) Message

func (s *InvalidCommitIdException) Message() string

Message returns the exception's message.

func (*InvalidCommitIdException) OrigErr

func (s *InvalidCommitIdException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidCommitIdException) RequestID

func (s *InvalidCommitIdException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidCommitIdException) StatusCode

func (s *InvalidCommitIdException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidCommitIdException) String

func (s InvalidCommitIdException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidConflictDetailLevelException

type InvalidConflictDetailLevelException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified conflict detail level is not valid.

func (*InvalidConflictDetailLevelException) Code

Code returns the exception type name.

func (*InvalidConflictDetailLevelException) Error

func (InvalidConflictDetailLevelException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidConflictDetailLevelException) Message

Message returns the exception's message.

func (*InvalidConflictDetailLevelException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidConflictDetailLevelException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidConflictDetailLevelException) StatusCode

func (s *InvalidConflictDetailLevelException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidConflictDetailLevelException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidConflictResolutionException

type InvalidConflictResolutionException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified conflict resolution list is not valid.

func (*InvalidConflictResolutionException) Code

Code returns the exception type name.

func (*InvalidConflictResolutionException) Error

func (InvalidConflictResolutionException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidConflictResolutionException) Message

Message returns the exception's message.

func (*InvalidConflictResolutionException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidConflictResolutionException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidConflictResolutionException) StatusCode

func (s *InvalidConflictResolutionException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidConflictResolutionException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidConflictResolutionStrategyException

type InvalidConflictResolutionStrategyException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified conflict resolution strategy is not valid.

func (*InvalidConflictResolutionStrategyException) Code

Code returns the exception type name.

func (*InvalidConflictResolutionStrategyException) Error

func (InvalidConflictResolutionStrategyException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidConflictResolutionStrategyException) Message

Message returns the exception's message.

func (*InvalidConflictResolutionStrategyException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidConflictResolutionStrategyException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidConflictResolutionStrategyException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidConflictResolutionStrategyException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidContinuationTokenException

type InvalidContinuationTokenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified continuation token is not valid.

func (*InvalidContinuationTokenException) Code

Code returns the exception type name.

func (*InvalidContinuationTokenException) Error

func (InvalidContinuationTokenException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidContinuationTokenException) Message

Message returns the exception's message.

func (*InvalidContinuationTokenException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidContinuationTokenException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidContinuationTokenException) StatusCode

func (s *InvalidContinuationTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidContinuationTokenException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidDeletionParameterException

type InvalidDeletionParameterException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified deletion parameter is not valid.

func (*InvalidDeletionParameterException) Code

Code returns the exception type name.

func (*InvalidDeletionParameterException) Error

func (InvalidDeletionParameterException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidDeletionParameterException) Message

Message returns the exception's message.

func (*InvalidDeletionParameterException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidDeletionParameterException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidDeletionParameterException) StatusCode

func (s *InvalidDeletionParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidDeletionParameterException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidDescriptionException

type InvalidDescriptionException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidDescriptionException) Code

Code returns the exception type name.

func (*InvalidDescriptionException) Error

func (InvalidDescriptionException) GoString

func (s InvalidDescriptionException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidDescriptionException) Message

func (s *InvalidDescriptionException) Message() string

Message returns the exception's message.

func (*InvalidDescriptionException) OrigErr

func (s *InvalidDescriptionException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidDescriptionException) RequestID

func (s *InvalidDescriptionException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidDescriptionException) StatusCode

func (s *InvalidDescriptionException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidDescriptionException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidDestinationCommitSpecifierException

type InvalidDestinationCommitSpecifierException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidDestinationCommitSpecifierException) Code

Code returns the exception type name.

func (*InvalidDestinationCommitSpecifierException) Error

func (InvalidDestinationCommitSpecifierException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidDestinationCommitSpecifierException) Message

Message returns the exception's message.

func (*InvalidDestinationCommitSpecifierException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidDestinationCommitSpecifierException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidDestinationCommitSpecifierException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidDestinationCommitSpecifierException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidEmailException

type InvalidEmailException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

func (s *InvalidEmailException) Code() string

Code returns the exception type name.

func (*InvalidEmailException) Error

func (s *InvalidEmailException) Error() string

func (InvalidEmailException) GoString

func (s InvalidEmailException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidEmailException) Message

func (s *InvalidEmailException) Message() string

Message returns the exception's message.

func (*InvalidEmailException) OrigErr

func (s *InvalidEmailException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidEmailException) RequestID

func (s *InvalidEmailException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidEmailException) StatusCode

func (s *InvalidEmailException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidEmailException) String

func (s InvalidEmailException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidFileLocationException

type InvalidFileLocationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidFileLocationException) Code

Code returns the exception type name.

func (*InvalidFileLocationException) Error

func (InvalidFileLocationException) GoString

func (s InvalidFileLocationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidFileLocationException) Message

func (s *InvalidFileLocationException) Message() string

Message returns the exception's message.

func (*InvalidFileLocationException) OrigErr

func (s *InvalidFileLocationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidFileLocationException) RequestID

func (s *InvalidFileLocationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidFileLocationException) StatusCode

func (s *InvalidFileLocationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidFileLocationException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidFileModeException

type InvalidFileModeException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidFileModeException) Code

func (s *InvalidFileModeException) Code() string

Code returns the exception type name.

func (*InvalidFileModeException) Error

func (s *InvalidFileModeException) Error() string

func (InvalidFileModeException) GoString

func (s InvalidFileModeException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidFileModeException) Message

func (s *InvalidFileModeException) Message() string

Message returns the exception's message.

func (*InvalidFileModeException) OrigErr

func (s *InvalidFileModeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidFileModeException) RequestID

func (s *InvalidFileModeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidFileModeException) StatusCode

func (s *InvalidFileModeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidFileModeException) String

func (s InvalidFileModeException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidFilePositionException

type InvalidFilePositionException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*InvalidFilePositionException) Error

func (InvalidFilePositionException) GoString

func (s InvalidFilePositionException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidFilePositionException) Message

func (s *InvalidFilePositionException) Message() string

Message returns the exception's message.

func (*InvalidFilePositionException) OrigErr

func (s *InvalidFilePositionException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidFilePositionException) RequestID

func (s *InvalidFilePositionException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidFilePositionException) StatusCode

func (s *InvalidFilePositionException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidFilePositionException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidMaxConflictFilesException

type InvalidMaxConflictFilesException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidMaxConflictFilesException) Code

Code returns the exception type name.

func (*InvalidMaxConflictFilesException) Error

func (InvalidMaxConflictFilesException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidMaxConflictFilesException) Message

Message returns the exception's message.

func (*InvalidMaxConflictFilesException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidMaxConflictFilesException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidMaxConflictFilesException) StatusCode

func (s *InvalidMaxConflictFilesException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidMaxConflictFilesException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidMaxMergeHunksException

type InvalidMaxMergeHunksException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidMaxMergeHunksException) Code

Code returns the exception type name.

func (*InvalidMaxMergeHunksException) Error

func (InvalidMaxMergeHunksException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidMaxMergeHunksException) Message

Message returns the exception's message.

func (*InvalidMaxMergeHunksException) OrigErr

func (s *InvalidMaxMergeHunksException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidMaxMergeHunksException) RequestID

func (s *InvalidMaxMergeHunksException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidMaxMergeHunksException) StatusCode

func (s *InvalidMaxMergeHunksException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidMaxMergeHunksException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidMaxResultsException

type InvalidMaxResultsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified number of maximum results is not valid.

func (*InvalidMaxResultsException) Code

Code returns the exception type name.

func (*InvalidMaxResultsException) Error

func (InvalidMaxResultsException) GoString

func (s InvalidMaxResultsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidMaxResultsException) Message

func (s *InvalidMaxResultsException) Message() string

Message returns the exception's message.

func (*InvalidMaxResultsException) OrigErr

func (s *InvalidMaxResultsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidMaxResultsException) RequestID

func (s *InvalidMaxResultsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidMaxResultsException) StatusCode

func (s *InvalidMaxResultsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidMaxResultsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidMergeOptionException

type InvalidMergeOptionException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidMergeOptionException) Code

Code returns the exception type name.

func (*InvalidMergeOptionException) Error

func (InvalidMergeOptionException) GoString

func (s InvalidMergeOptionException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidMergeOptionException) Message

func (s *InvalidMergeOptionException) Message() string

Message returns the exception's message.

func (*InvalidMergeOptionException) OrigErr

func (s *InvalidMergeOptionException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidMergeOptionException) RequestID

func (s *InvalidMergeOptionException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidMergeOptionException) StatusCode

func (s *InvalidMergeOptionException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidMergeOptionException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidOrderException

type InvalidOrderException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified sort order is not valid.

func (*InvalidOrderException) Code

func (s *InvalidOrderException) Code() string

Code returns the exception type name.

func (*InvalidOrderException) Error

func (s *InvalidOrderException) Error() string

func (InvalidOrderException) GoString

func (s InvalidOrderException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidOrderException) Message

func (s *InvalidOrderException) Message() string

Message returns the exception's message.

func (*InvalidOrderException) OrigErr

func (s *InvalidOrderException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidOrderException) RequestID

func (s *InvalidOrderException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidOrderException) StatusCode

func (s *InvalidOrderException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidOrderException) String

func (s InvalidOrderException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidOverrideStatusException

type InvalidOverrideStatusException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidOverrideStatusException) Code

Code returns the exception type name.

func (*InvalidOverrideStatusException) Error

func (InvalidOverrideStatusException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidOverrideStatusException) Message

Message returns the exception's message.

func (*InvalidOverrideStatusException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidOverrideStatusException) RequestID

func (s *InvalidOverrideStatusException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidOverrideStatusException) StatusCode

func (s *InvalidOverrideStatusException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidOverrideStatusException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidParentCommitIdException

type InvalidParentCommitIdException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*InvalidParentCommitIdException) Error

func (InvalidParentCommitIdException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidParentCommitIdException) Message

Message returns the exception's message.

func (*InvalidParentCommitIdException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParentCommitIdException) RequestID

func (s *InvalidParentCommitIdException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParentCommitIdException) StatusCode

func (s *InvalidParentCommitIdException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParentCommitIdException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidPathException

type InvalidPathException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified path is not valid.

func (*InvalidPathException) Code

func (s *InvalidPathException) Code() string

Code returns the exception type name.

func (*InvalidPathException) Error

func (s *InvalidPathException) Error() string

func (InvalidPathException) GoString

func (s InvalidPathException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidPathException) Message

func (s *InvalidPathException) Message() string

Message returns the exception's message.

func (*InvalidPathException) OrigErr

func (s *InvalidPathException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPathException) RequestID

func (s *InvalidPathException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidPathException) StatusCode

func (s *InvalidPathException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidPathException) String

func (s InvalidPathException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidPullRequestEventTypeException

type InvalidPullRequestEventTypeException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The pull request event type is not valid.

func (*InvalidPullRequestEventTypeException) Code

Code returns the exception type name.

func (*InvalidPullRequestEventTypeException) Error

func (InvalidPullRequestEventTypeException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidPullRequestEventTypeException) Message

Message returns the exception's message.

func (*InvalidPullRequestEventTypeException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPullRequestEventTypeException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidPullRequestEventTypeException) StatusCode

func (s *InvalidPullRequestEventTypeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidPullRequestEventTypeException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidPullRequestIdException

type InvalidPullRequestIdException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*InvalidPullRequestIdException) Error

func (InvalidPullRequestIdException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidPullRequestIdException) Message

Message returns the exception's message.

func (*InvalidPullRequestIdException) OrigErr

func (s *InvalidPullRequestIdException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPullRequestIdException) RequestID

func (s *InvalidPullRequestIdException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidPullRequestIdException) StatusCode

func (s *InvalidPullRequestIdException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidPullRequestIdException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidPullRequestStatusException

type InvalidPullRequestStatusException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidPullRequestStatusException) Code

Code returns the exception type name.

func (*InvalidPullRequestStatusException) Error

func (InvalidPullRequestStatusException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidPullRequestStatusException) Message

Message returns the exception's message.

func (*InvalidPullRequestStatusException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPullRequestStatusException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidPullRequestStatusException) StatusCode

func (s *InvalidPullRequestStatusException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidPullRequestStatusException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidPullRequestStatusUpdateException

type InvalidPullRequestStatusUpdateException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidPullRequestStatusUpdateException) Code

Code returns the exception type name.

func (*InvalidPullRequestStatusUpdateException) Error

func (InvalidPullRequestStatusUpdateException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidPullRequestStatusUpdateException) Message

Message returns the exception's message.

func (*InvalidPullRequestStatusUpdateException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPullRequestStatusUpdateException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidPullRequestStatusUpdateException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidPullRequestStatusUpdateException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidReactionUserArnException

type InvalidReactionUserArnException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidReactionUserArnException) Code

Code returns the exception type name.

func (*InvalidReactionUserArnException) Error

func (InvalidReactionUserArnException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidReactionUserArnException) Message

Message returns the exception's message.

func (*InvalidReactionUserArnException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidReactionUserArnException) RequestID

func (s *InvalidReactionUserArnException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidReactionUserArnException) StatusCode

func (s *InvalidReactionUserArnException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidReactionUserArnException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidReactionValueException

type InvalidReactionValueException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidReactionValueException) Code

Code returns the exception type name.

func (*InvalidReactionValueException) Error

func (InvalidReactionValueException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidReactionValueException) Message

Message returns the exception's message.

func (*InvalidReactionValueException) OrigErr

func (s *InvalidReactionValueException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidReactionValueException) RequestID

func (s *InvalidReactionValueException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidReactionValueException) StatusCode

func (s *InvalidReactionValueException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidReactionValueException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidReferenceNameException

type InvalidReferenceNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified reference name format is not valid. Reference names must conform to the Git references format (for example, refs/heads/main). 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) Code

Code returns the exception type name.

func (*InvalidReferenceNameException) Error

func (InvalidReferenceNameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidReferenceNameException) Message

Message returns the exception's message.

func (*InvalidReferenceNameException) OrigErr

func (s *InvalidReferenceNameException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidReferenceNameException) RequestID

func (s *InvalidReferenceNameException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidReferenceNameException) StatusCode

func (s *InvalidReferenceNameException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidReferenceNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRelativeFileVersionEnumException

type InvalidRelativeFileVersionEnumException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*InvalidRelativeFileVersionEnumException) Error

func (InvalidRelativeFileVersionEnumException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRelativeFileVersionEnumException) Message

Message returns the exception's message.

func (*InvalidRelativeFileVersionEnumException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRelativeFileVersionEnumException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidRelativeFileVersionEnumException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidRelativeFileVersionEnumException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidReplacementContentException

type InvalidReplacementContentException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidReplacementContentException) Code

Code returns the exception type name.

func (*InvalidReplacementContentException) Error

func (InvalidReplacementContentException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidReplacementContentException) Message

Message returns the exception's message.

func (*InvalidReplacementContentException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidReplacementContentException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidReplacementContentException) StatusCode

func (s *InvalidReplacementContentException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidReplacementContentException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidReplacementTypeException

type InvalidReplacementTypeException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidReplacementTypeException) Code

Code returns the exception type name.

func (*InvalidReplacementTypeException) Error

func (InvalidReplacementTypeException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidReplacementTypeException) Message

Message returns the exception's message.

func (*InvalidReplacementTypeException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidReplacementTypeException) RequestID

func (s *InvalidReplacementTypeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidReplacementTypeException) StatusCode

func (s *InvalidReplacementTypeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidReplacementTypeException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRepositoryDescriptionException

type InvalidRepositoryDescriptionException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified repository description is not valid.

func (*InvalidRepositoryDescriptionException) Code

Code returns the exception type name.

func (*InvalidRepositoryDescriptionException) Error

func (InvalidRepositoryDescriptionException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRepositoryDescriptionException) Message

Message returns the exception's message.

func (*InvalidRepositoryDescriptionException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRepositoryDescriptionException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidRepositoryDescriptionException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidRepositoryDescriptionException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRepositoryNameException

type InvalidRepositoryNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*InvalidRepositoryNameException) Error

func (InvalidRepositoryNameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRepositoryNameException) Message

Message returns the exception's message.

func (*InvalidRepositoryNameException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRepositoryNameException) RequestID

func (s *InvalidRepositoryNameException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidRepositoryNameException) StatusCode

func (s *InvalidRepositoryNameException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidRepositoryNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRepositoryTriggerBranchNameException

type InvalidRepositoryTriggerBranchNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidRepositoryTriggerBranchNameException) Code

Code returns the exception type name.

func (*InvalidRepositoryTriggerBranchNameException) Error

func (InvalidRepositoryTriggerBranchNameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRepositoryTriggerBranchNameException) Message

Message returns the exception's message.

func (*InvalidRepositoryTriggerBranchNameException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRepositoryTriggerBranchNameException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidRepositoryTriggerBranchNameException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidRepositoryTriggerBranchNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRepositoryTriggerCustomDataException

type InvalidRepositoryTriggerCustomDataException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The custom data provided for the trigger is not valid.

func (*InvalidRepositoryTriggerCustomDataException) Code

Code returns the exception type name.

func (*InvalidRepositoryTriggerCustomDataException) Error

func (InvalidRepositoryTriggerCustomDataException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRepositoryTriggerCustomDataException) Message

Message returns the exception's message.

func (*InvalidRepositoryTriggerCustomDataException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRepositoryTriggerCustomDataException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidRepositoryTriggerCustomDataException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidRepositoryTriggerCustomDataException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRepositoryTriggerDestinationArnException

type InvalidRepositoryTriggerDestinationArnException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*InvalidRepositoryTriggerDestinationArnException) Error

func (InvalidRepositoryTriggerDestinationArnException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRepositoryTriggerDestinationArnException) Message

Message returns the exception's message.

func (*InvalidRepositoryTriggerDestinationArnException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRepositoryTriggerDestinationArnException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidRepositoryTriggerDestinationArnException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidRepositoryTriggerDestinationArnException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRepositoryTriggerEventsException

type InvalidRepositoryTriggerEventsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*InvalidRepositoryTriggerEventsException) Error

func (InvalidRepositoryTriggerEventsException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRepositoryTriggerEventsException) Message

Message returns the exception's message.

func (*InvalidRepositoryTriggerEventsException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRepositoryTriggerEventsException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidRepositoryTriggerEventsException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidRepositoryTriggerEventsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRepositoryTriggerNameException

type InvalidRepositoryTriggerNameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The name of the trigger is not valid.

func (*InvalidRepositoryTriggerNameException) Code

Code returns the exception type name.

func (*InvalidRepositoryTriggerNameException) Error

func (InvalidRepositoryTriggerNameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRepositoryTriggerNameException) Message

Message returns the exception's message.

func (*InvalidRepositoryTriggerNameException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRepositoryTriggerNameException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidRepositoryTriggerNameException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidRepositoryTriggerNameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRepositoryTriggerRegionException

type InvalidRepositoryTriggerRegionException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidRepositoryTriggerRegionException) Code

Code returns the exception type name.

func (*InvalidRepositoryTriggerRegionException) Error

func (InvalidRepositoryTriggerRegionException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRepositoryTriggerRegionException) Message

Message returns the exception's message.

func (*InvalidRepositoryTriggerRegionException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRepositoryTriggerRegionException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidRepositoryTriggerRegionException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidRepositoryTriggerRegionException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidResourceArnException

type InvalidResourceArnException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The value for the resource ARN is not valid. For more information about resources in 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 CodeCommit User Guide.

func (*InvalidResourceArnException) Code

Code returns the exception type name.

func (*InvalidResourceArnException) Error

func (InvalidResourceArnException) GoString

func (s InvalidResourceArnException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidResourceArnException) Message

func (s *InvalidResourceArnException) Message() string

Message returns the exception's message.

func (*InvalidResourceArnException) OrigErr

func (s *InvalidResourceArnException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidResourceArnException) RequestID

func (s *InvalidResourceArnException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidResourceArnException) StatusCode

func (s *InvalidResourceArnException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidResourceArnException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRevisionIdException

type InvalidRevisionIdException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidRevisionIdException) Code

Code returns the exception type name.

func (*InvalidRevisionIdException) Error

func (InvalidRevisionIdException) GoString

func (s InvalidRevisionIdException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRevisionIdException) Message

func (s *InvalidRevisionIdException) Message() string

Message returns the exception's message.

func (*InvalidRevisionIdException) OrigErr

func (s *InvalidRevisionIdException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRevisionIdException) RequestID

func (s *InvalidRevisionIdException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidRevisionIdException) StatusCode

func (s *InvalidRevisionIdException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidRevisionIdException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRuleContentSha256Exception

type InvalidRuleContentSha256Exception struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidRuleContentSha256Exception) Code

Code returns the exception type name.

func (*InvalidRuleContentSha256Exception) Error

func (InvalidRuleContentSha256Exception) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRuleContentSha256Exception) Message

Message returns the exception's message.

func (*InvalidRuleContentSha256Exception) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRuleContentSha256Exception) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidRuleContentSha256Exception) StatusCode

func (s *InvalidRuleContentSha256Exception) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidRuleContentSha256Exception) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidSortByException

type InvalidSortByException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified sort by value is not valid.

func (*InvalidSortByException) Code

func (s *InvalidSortByException) Code() string

Code returns the exception type name.

func (*InvalidSortByException) Error

func (s *InvalidSortByException) Error() string

func (InvalidSortByException) GoString

func (s InvalidSortByException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidSortByException) Message

func (s *InvalidSortByException) Message() string

Message returns the exception's message.

func (*InvalidSortByException) OrigErr

func (s *InvalidSortByException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidSortByException) RequestID

func (s *InvalidSortByException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidSortByException) StatusCode

func (s *InvalidSortByException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidSortByException) String

func (s InvalidSortByException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidSourceCommitSpecifierException

type InvalidSourceCommitSpecifierException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidSourceCommitSpecifierException) Code

Code returns the exception type name.

func (*InvalidSourceCommitSpecifierException) Error

func (InvalidSourceCommitSpecifierException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidSourceCommitSpecifierException) Message

Message returns the exception's message.

func (*InvalidSourceCommitSpecifierException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidSourceCommitSpecifierException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidSourceCommitSpecifierException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidSourceCommitSpecifierException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidSystemTagUsageException

type InvalidSystemTagUsageException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidSystemTagUsageException) Code

Code returns the exception type name.

func (*InvalidSystemTagUsageException) Error

func (InvalidSystemTagUsageException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidSystemTagUsageException) Message

Message returns the exception's message.

func (*InvalidSystemTagUsageException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidSystemTagUsageException) RequestID

func (s *InvalidSystemTagUsageException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidSystemTagUsageException) StatusCode

func (s *InvalidSystemTagUsageException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidSystemTagUsageException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidTagKeysListException

type InvalidTagKeysListException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The list of tags is not valid.

func (*InvalidTagKeysListException) Code

Code returns the exception type name.

func (*InvalidTagKeysListException) Error

func (InvalidTagKeysListException) GoString

func (s InvalidTagKeysListException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidTagKeysListException) Message

func (s *InvalidTagKeysListException) Message() string

Message returns the exception's message.

func (*InvalidTagKeysListException) OrigErr

func (s *InvalidTagKeysListException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTagKeysListException) RequestID

func (s *InvalidTagKeysListException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTagKeysListException) StatusCode

func (s *InvalidTagKeysListException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTagKeysListException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidTagsMapException

type InvalidTagsMapException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The map of tags is not valid.

func (*InvalidTagsMapException) Code

func (s *InvalidTagsMapException) Code() string

Code returns the exception type name.

func (*InvalidTagsMapException) Error

func (s *InvalidTagsMapException) Error() string

func (InvalidTagsMapException) GoString

func (s InvalidTagsMapException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidTagsMapException) Message

func (s *InvalidTagsMapException) Message() string

Message returns the exception's message.

func (*InvalidTagsMapException) OrigErr

func (s *InvalidTagsMapException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTagsMapException) RequestID

func (s *InvalidTagsMapException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTagsMapException) StatusCode

func (s *InvalidTagsMapException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTagsMapException) String

func (s InvalidTagsMapException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidTargetBranchException

type InvalidTargetBranchException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified target branch is not valid.

func (*InvalidTargetBranchException) Code

Code returns the exception type name.

func (*InvalidTargetBranchException) Error

func (InvalidTargetBranchException) GoString

func (s InvalidTargetBranchException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidTargetBranchException) Message

func (s *InvalidTargetBranchException) Message() string

Message returns the exception's message.

func (*InvalidTargetBranchException) OrigErr

func (s *InvalidTargetBranchException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTargetBranchException) RequestID

func (s *InvalidTargetBranchException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTargetBranchException) StatusCode

func (s *InvalidTargetBranchException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTargetBranchException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidTargetException

type InvalidTargetException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

func (s *InvalidTargetException) Code() string

Code returns the exception type name.

func (*InvalidTargetException) Error

func (s *InvalidTargetException) Error() string

func (InvalidTargetException) GoString

func (s InvalidTargetException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidTargetException) Message

func (s *InvalidTargetException) Message() string

Message returns the exception's message.

func (*InvalidTargetException) OrigErr

func (s *InvalidTargetException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTargetException) RequestID

func (s *InvalidTargetException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTargetException) StatusCode

func (s *InvalidTargetException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTargetException) String

func (s InvalidTargetException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidTargetsException

type InvalidTargetsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

func (s *InvalidTargetsException) Code() string

Code returns the exception type name.

func (*InvalidTargetsException) Error

func (s *InvalidTargetsException) Error() string

func (InvalidTargetsException) GoString

func (s InvalidTargetsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidTargetsException) Message

func (s *InvalidTargetsException) Message() string

Message returns the exception's message.

func (*InvalidTargetsException) OrigErr

func (s *InvalidTargetsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTargetsException) RequestID

func (s *InvalidTargetsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTargetsException) StatusCode

func (s *InvalidTargetsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTargetsException) String

func (s InvalidTargetsException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidTitleException

type InvalidTitleException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidTitleException) Code

func (s *InvalidTitleException) Code() string

Code returns the exception type name.

func (*InvalidTitleException) Error

func (s *InvalidTitleException) Error() string

func (InvalidTitleException) GoString

func (s InvalidTitleException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidTitleException) Message

func (s *InvalidTitleException) Message() string

Message returns the exception's message.

func (*InvalidTitleException) OrigErr

func (s *InvalidTitleException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTitleException) RequestID

func (s *InvalidTitleException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTitleException) StatusCode

func (s *InvalidTitleException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTitleException) String

func (s InvalidTitleException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `locationName:"base" type:"boolean"`

	// The binary or non-binary status of a file in the destination of a merge or
	// pull request.
	Destination *bool `locationName:"destination" type:"boolean"`

	// The binary or non-binary status of file in the source of a merge or pull
	// request.
	Source *bool `locationName:"source" type:"boolean"`
	// contains filtered or unexported fields
}

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

func (IsBinaryFile) GoString

func (s IsBinaryFile) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IsBinaryFile) SetBase

func (s *IsBinaryFile) SetBase(v bool) *IsBinaryFile

SetBase sets the Base field's value.

func (*IsBinaryFile) SetDestination

func (s *IsBinaryFile) SetDestination(v bool) *IsBinaryFile

SetDestination sets the Destination field's value.

func (*IsBinaryFile) SetSource

func (s *IsBinaryFile) SetSource(v bool) *IsBinaryFile

SetSource sets the Source field's value.

func (IsBinaryFile) String

func (s IsBinaryFile) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListApprovalRuleTemplatesInput

type ListApprovalRuleTemplatesInput struct {

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListApprovalRuleTemplatesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListApprovalRuleTemplatesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListApprovalRuleTemplatesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListApprovalRuleTemplatesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListApprovalRuleTemplatesOutput

type ListApprovalRuleTemplatesOutput struct {

	// The names of all the approval rule templates found in the Amazon Web Services
	// Region for your Amazon Web Services account.
	ApprovalRuleTemplateNames []*string `locationName:"approvalRuleTemplateNames" type:"list"`

	// An enumeration token that allows the operation to batch the next results
	// of the operation.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListApprovalRuleTemplatesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListApprovalRuleTemplatesOutput) SetApprovalRuleTemplateNames

func (s *ListApprovalRuleTemplatesOutput) SetApprovalRuleTemplateNames(v []*string) *ListApprovalRuleTemplatesOutput

SetApprovalRuleTemplateNames sets the ApprovalRuleTemplateNames field's value.

func (*ListApprovalRuleTemplatesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListApprovalRuleTemplatesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAssociatedApprovalRuleTemplatesForRepositoryInput

type ListAssociatedApprovalRuleTemplatesForRepositoryInput struct {

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The name of the repository for which you want to list all associated approval
	// rule templates.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListAssociatedApprovalRuleTemplatesForRepositoryInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssociatedApprovalRuleTemplatesForRepositoryInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAssociatedApprovalRuleTemplatesForRepositoryInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAssociatedApprovalRuleTemplatesForRepositoryInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (ListAssociatedApprovalRuleTemplatesForRepositoryInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssociatedApprovalRuleTemplatesForRepositoryInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListAssociatedApprovalRuleTemplatesForRepositoryOutput

type ListAssociatedApprovalRuleTemplatesForRepositoryOutput struct {

	// The names of all approval rule templates associated with the repository.
	ApprovalRuleTemplateNames []*string `locationName:"approvalRuleTemplateNames" type:"list"`

	// An enumeration token that allows the operation to batch the next results
	// of the operation.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAssociatedApprovalRuleTemplatesForRepositoryOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput) SetApprovalRuleTemplateNames

SetApprovalRuleTemplateNames sets the ApprovalRuleTemplateNames field's value.

func (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAssociatedApprovalRuleTemplatesForRepositoryOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListBranchesInput

type ListBranchesInput struct {

	// An enumeration token that allows the operation to batch the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The name of the repository that contains the branches.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a list branches operation.

func (ListBranchesInput) GoString

func (s ListBranchesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBranchesInput) SetNextToken

func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput

SetNextToken sets the NextToken field's value.

func (*ListBranchesInput) SetRepositoryName

func (s *ListBranchesInput) SetRepositoryName(v string) *ListBranchesInput

SetRepositoryName sets the RepositoryName field's value.

func (ListBranchesInput) String

func (s ListBranchesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBranchesInput) Validate

func (s *ListBranchesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListBranchesOutput

type ListBranchesOutput struct {

	// The list of branch names.
	Branches []*string `locationName:"branches" type:"list"`

	// An enumeration token that returns the batch of the results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a list branches operation.

func (ListBranchesOutput) GoString

func (s ListBranchesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBranchesOutput) SetBranches

func (s *ListBranchesOutput) SetBranches(v []*string) *ListBranchesOutput

SetBranches sets the Branches field's value.

func (*ListBranchesOutput) SetNextToken

func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput

SetNextToken sets the NextToken field's value.

func (ListBranchesOutput) String

func (s ListBranchesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListFileCommitHistoryInput

type ListFileCommitHistoryInput struct {

	// The fully quaified reference that identifies the commit that contains the
	// file. For example, you can specify a full commit ID, a tag, a branch name,
	// or a reference such as refs/heads/main. If none is provided, the head commit
	// is used.
	CommitSpecifier *string `locationName:"commitSpecifier" type:"string"`

	// The full path of the file whose history you want to retrieve, including the
	// name of the file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// An enumeration token that allows the operation to batch the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The name of the repository that contains the file.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListFileCommitHistoryInput) GoString

func (s ListFileCommitHistoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFileCommitHistoryInput) SetCommitSpecifier

SetCommitSpecifier sets the CommitSpecifier field's value.

func (*ListFileCommitHistoryInput) SetFilePath

SetFilePath sets the FilePath field's value.

func (*ListFileCommitHistoryInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListFileCommitHistoryInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListFileCommitHistoryInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (ListFileCommitHistoryInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFileCommitHistoryInput) Validate

func (s *ListFileCommitHistoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFileCommitHistoryOutput

type ListFileCommitHistoryOutput struct {

	// An enumeration token that can be used to return the next batch of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of FileVersion objects that form a directed acyclic graph (DAG)
	// of the changes to the file made by the commits that changed the file.
	//
	// RevisionDag is a required field
	RevisionDag []*FileVersion `locationName:"revisionDag" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListFileCommitHistoryOutput) GoString

func (s ListFileCommitHistoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFileCommitHistoryOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListFileCommitHistoryOutput) SetRevisionDag

SetRevisionDag sets the RevisionDag field's value.

func (ListFileCommitHistoryOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPullRequestsInput

type ListPullRequestsInput struct {

	// Optional. The Amazon Resource Name (ARN) of the user who created the pull
	// request. If used, this filters the results to pull requests created by that
	// user.
	AuthorArn *string `locationName:"authorArn" type:"string"`

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Optional. The status of the pull request. If used, this refines the results
	// to the pull requests that match the specified status.
	PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" enum:"PullRequestStatusEnum"`

	// The name of the repository for which you want to list pull requests.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPullRequestsInput) GoString

func (s ListPullRequestsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPullRequestsInput) SetAuthorArn

SetAuthorArn sets the AuthorArn field's value.

func (*ListPullRequestsInput) SetMaxResults

func (s *ListPullRequestsInput) SetMaxResults(v int64) *ListPullRequestsInput

SetMaxResults sets the MaxResults field's value.

func (*ListPullRequestsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPullRequestsInput) SetPullRequestStatus

func (s *ListPullRequestsInput) SetPullRequestStatus(v string) *ListPullRequestsInput

SetPullRequestStatus sets the PullRequestStatus field's value.

func (*ListPullRequestsInput) SetRepositoryName

func (s *ListPullRequestsInput) SetRepositoryName(v string) *ListPullRequestsInput

SetRepositoryName sets the RepositoryName field's value.

func (ListPullRequestsInput) String

func (s ListPullRequestsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPullRequestsInput) Validate

func (s *ListPullRequestsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPullRequestsOutput

type ListPullRequestsOutput struct {

	// An enumeration token that allows the operation to batch the next results
	// of the operation.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The system-generated IDs of the pull requests.
	//
	// PullRequestIds is a required field
	PullRequestIds []*string `locationName:"pullRequestIds" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListPullRequestsOutput) GoString

func (s ListPullRequestsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPullRequestsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPullRequestsOutput) SetPullRequestIds

func (s *ListPullRequestsOutput) SetPullRequestIds(v []*string) *ListPullRequestsOutput

SetPullRequestIds sets the PullRequestIds field's value.

func (ListPullRequestsOutput) String

func (s ListPullRequestsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListRepositoriesForApprovalRuleTemplateInput

type ListRepositoriesForApprovalRuleTemplateInput struct {

	// The name of the approval rule template for which you want to list repositories
	// that are associated with that template.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListRepositoriesForApprovalRuleTemplateInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesForApprovalRuleTemplateInput) SetApprovalRuleTemplateName

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*ListRepositoriesForApprovalRuleTemplateInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRepositoriesForApprovalRuleTemplateInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListRepositoriesForApprovalRuleTemplateInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesForApprovalRuleTemplateInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListRepositoriesForApprovalRuleTemplateOutput

type ListRepositoriesForApprovalRuleTemplateOutput struct {

	// An enumeration token that allows the operation to batch the next results
	// of the operation.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of repository names that are associated with the specified approval
	// rule template.
	RepositoryNames []*string `locationName:"repositoryNames" type:"list"`
	// contains filtered or unexported fields
}

func (ListRepositoriesForApprovalRuleTemplateOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesForApprovalRuleTemplateOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesForApprovalRuleTemplateOutput) SetRepositoryNames

SetRepositoryNames sets the RepositoryNames field's value.

func (ListRepositoriesForApprovalRuleTemplateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListRepositoriesInput

type ListRepositoriesInput struct {

	// An enumeration token that allows the operation to batch the results of the
	// operation. Batch sizes are 1,000 for list repository operations. When the
	// client sends the token back to CodeCommit, another page of 1,000 records
	// is retrieved.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The order in which to sort the results of a list repositories operation.
	Order *string `locationName:"order" type:"string" enum:"OrderEnum"`

	// The criteria used to sort the results of a list repositories operation.
	SortBy *string `locationName:"sortBy" type:"string" enum:"SortByEnum"`
	// contains filtered or unexported fields
}

Represents the input of a list repositories operation.

func (ListRepositoriesInput) GoString

func (s ListRepositoriesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesInput) SetOrder

SetOrder sets the Order field's value.

func (*ListRepositoriesInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (ListRepositoriesInput) String

func (s ListRepositoriesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListRepositoriesOutput

type ListRepositoriesOutput struct {

	// An enumeration token that allows the operation to batch the results of the
	// operation. Batch sizes are 1,000 for list repository operations. When the
	// client sends the token back to CodeCommit, another page of 1,000 records
	// is retrieved.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Lists the repositories called by the list repositories operation.
	Repositories []*RepositoryNameIdPair `locationName:"repositories" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a list repositories operation.

func (ListRepositoriesOutput) GoString

func (s ListRepositoriesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRepositoriesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRepositoriesOutput) SetRepositories

SetRepositories sets the Repositories field's value.

func (ListRepositoriesOutput) String

func (s ListRepositoriesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The Amazon Resource Name (ARN) of the resource for which you want to get
	// information about tags, if any.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// An enumeration token that allows the operation to batch the next results
	// of the operation.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of tag key and value pairs associated with the specified resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Location

type Location struct {

	// The name of the file being compared, including its extension and subdirectory,
	// if any.
	FilePath *string `locationName:"filePath" type:"string"`

	// The position of a change in a compared file, in line number format.
	FilePosition *int64 `locationName:"filePosition" type:"long"`

	// In a comparison of commits or a pull request, whether the change is in the
	// before or after of that comparison.
	RelativeFileVersion *string `locationName:"relativeFileVersion" type:"string" enum:"RelativeFileVersionEnum"`
	// contains filtered or unexported fields
}

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

func (Location) GoString

func (s Location) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Location) SetFilePath

func (s *Location) SetFilePath(v string) *Location

SetFilePath sets the FilePath field's value.

func (*Location) SetFilePosition

func (s *Location) SetFilePosition(v int64) *Location

SetFilePosition sets the FilePosition field's value.

func (*Location) SetRelativeFileVersion

func (s *Location) SetRelativeFileVersion(v string) *Location

SetRelativeFileVersion sets the RelativeFileVersion field's value.

func (Location) String

func (s Location) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ManualMergeRequiredException

type ManualMergeRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ManualMergeRequiredException) Code

Code returns the exception type name.

func (*ManualMergeRequiredException) Error

func (ManualMergeRequiredException) GoString

func (s ManualMergeRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ManualMergeRequiredException) Message

func (s *ManualMergeRequiredException) Message() string

Message returns the exception's message.

func (*ManualMergeRequiredException) OrigErr

func (s *ManualMergeRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ManualMergeRequiredException) RequestID

func (s *ManualMergeRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ManualMergeRequiredException) StatusCode

func (s *ManualMergeRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ManualMergeRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumBranchesExceededException

type MaximumBranchesExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The number of branches for the trigger was exceeded.

func (*MaximumBranchesExceededException) Code

Code returns the exception type name.

func (*MaximumBranchesExceededException) Error

func (MaximumBranchesExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumBranchesExceededException) Message

Message returns the exception's message.

func (*MaximumBranchesExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumBranchesExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumBranchesExceededException) StatusCode

func (s *MaximumBranchesExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MaximumBranchesExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumConflictResolutionEntriesExceededException

type MaximumConflictResolutionEntriesExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The number of allowed conflict resolution entries was exceeded.

func (*MaximumConflictResolutionEntriesExceededException) Code

Code returns the exception type name.

func (*MaximumConflictResolutionEntriesExceededException) Error

func (MaximumConflictResolutionEntriesExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumConflictResolutionEntriesExceededException) Message

Message returns the exception's message.

func (*MaximumConflictResolutionEntriesExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumConflictResolutionEntriesExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumConflictResolutionEntriesExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MaximumConflictResolutionEntriesExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumFileContentToLoadExceededException

type MaximumFileContentToLoadExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The number of files to load exceeds the allowed limit.

func (*MaximumFileContentToLoadExceededException) Code

Code returns the exception type name.

func (*MaximumFileContentToLoadExceededException) Error

func (MaximumFileContentToLoadExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumFileContentToLoadExceededException) Message

Message returns the exception's message.

func (*MaximumFileContentToLoadExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumFileContentToLoadExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumFileContentToLoadExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MaximumFileContentToLoadExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumFileEntriesExceededException

type MaximumFileEntriesExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*MaximumFileEntriesExceededException) Error

func (MaximumFileEntriesExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumFileEntriesExceededException) Message

Message returns the exception's message.

func (*MaximumFileEntriesExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumFileEntriesExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumFileEntriesExceededException) StatusCode

func (s *MaximumFileEntriesExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MaximumFileEntriesExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumItemsToCompareExceededException

type MaximumItemsToCompareExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*MaximumItemsToCompareExceededException) Code

Code returns the exception type name.

func (*MaximumItemsToCompareExceededException) Error

func (MaximumItemsToCompareExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumItemsToCompareExceededException) Message

Message returns the exception's message.

func (*MaximumItemsToCompareExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumItemsToCompareExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumItemsToCompareExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MaximumItemsToCompareExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumNumberOfApprovalsExceededException

type MaximumNumberOfApprovalsExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*MaximumNumberOfApprovalsExceededException) Code

Code returns the exception type name.

func (*MaximumNumberOfApprovalsExceededException) Error

func (MaximumNumberOfApprovalsExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumNumberOfApprovalsExceededException) Message

Message returns the exception's message.

func (*MaximumNumberOfApprovalsExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumNumberOfApprovalsExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumNumberOfApprovalsExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MaximumNumberOfApprovalsExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumOpenPullRequestsExceededException

type MaximumOpenPullRequestsExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*MaximumOpenPullRequestsExceededException) Error

func (MaximumOpenPullRequestsExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumOpenPullRequestsExceededException) Message

Message returns the exception's message.

func (*MaximumOpenPullRequestsExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumOpenPullRequestsExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumOpenPullRequestsExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MaximumOpenPullRequestsExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumRepositoryNamesExceededException

type MaximumRepositoryNamesExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*MaximumRepositoryNamesExceededException) Code

Code returns the exception type name.

func (*MaximumRepositoryNamesExceededException) Error

func (MaximumRepositoryNamesExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumRepositoryNamesExceededException) Message

Message returns the exception's message.

func (*MaximumRepositoryNamesExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumRepositoryNamesExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumRepositoryNamesExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MaximumRepositoryNamesExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumRepositoryTriggersExceededException

type MaximumRepositoryTriggersExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The number of triggers allowed for the repository was exceeded.

func (*MaximumRepositoryTriggersExceededException) Code

Code returns the exception type name.

func (*MaximumRepositoryTriggersExceededException) Error

func (MaximumRepositoryTriggersExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumRepositoryTriggersExceededException) Message

Message returns the exception's message.

func (*MaximumRepositoryTriggersExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumRepositoryTriggersExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumRepositoryTriggersExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MaximumRepositoryTriggersExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MaximumRuleTemplatesAssociatedWithRepositoryException

type MaximumRuleTemplatesAssociatedWithRepositoryException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*MaximumRuleTemplatesAssociatedWithRepositoryException) Error

func (MaximumRuleTemplatesAssociatedWithRepositoryException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MaximumRuleTemplatesAssociatedWithRepositoryException) Message

Message returns the exception's message.

func (*MaximumRuleTemplatesAssociatedWithRepositoryException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MaximumRuleTemplatesAssociatedWithRepositoryException) RequestID

RequestID returns the service's response RequestID for request.

func (*MaximumRuleTemplatesAssociatedWithRepositoryException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MaximumRuleTemplatesAssociatedWithRepositoryException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergeBranchesByFastForwardInput

type MergeBranchesByFastForwardInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// DestinationCommitSpecifier is a required field
	DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

	// The name of the repository where you want to merge two branches.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// SourceCommitSpecifier is a required field
	SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`

	// The branch where the merge is applied.
	TargetBranch *string `locationName:"targetBranch" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (MergeBranchesByFastForwardInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeBranchesByFastForwardInput) SetDestinationCommitSpecifier

func (s *MergeBranchesByFastForwardInput) SetDestinationCommitSpecifier(v string) *MergeBranchesByFastForwardInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*MergeBranchesByFastForwardInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*MergeBranchesByFastForwardInput) SetSourceCommitSpecifier

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (*MergeBranchesByFastForwardInput) SetTargetBranch

SetTargetBranch sets the TargetBranch field's value.

func (MergeBranchesByFastForwardInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeBranchesByFastForwardInput) Validate

func (s *MergeBranchesByFastForwardInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MergeBranchesByFastForwardOutput

type MergeBranchesByFastForwardOutput struct {

	// The commit ID of the merge in the destination or target branch.
	CommitId *string `locationName:"commitId" type:"string"`

	// The tree ID of the merge in the destination or target branch.
	TreeId *string `locationName:"treeId" type:"string"`
	// contains filtered or unexported fields
}

func (MergeBranchesByFastForwardOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeBranchesByFastForwardOutput) SetCommitId

SetCommitId sets the CommitId field's value.

func (*MergeBranchesByFastForwardOutput) SetTreeId

SetTreeId sets the TreeId field's value.

func (MergeBranchesByFastForwardOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergeBranchesBySquashInput

type MergeBranchesBySquashInput struct {

	// The name of the author who created the commit. This information is used as
	// both the author and committer for the commit.
	AuthorName *string `locationName:"authorName" type:"string"`

	// The commit message for the merge.
	CommitMessage *string `locationName:"commitMessage" type:"string"`

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// If AUTOMERGE is the conflict resolution strategy, a list of inputs to use
	// when resolving conflicts during a merge.
	ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// DestinationCommitSpecifier is a required field
	DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

	// The email address of the person merging the branches. This information is
	// used in the commit information for the merge.
	Email *string `locationName:"email" type:"string"`

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If this is specified as true, a .gitkeep
	// file is created for empty folders. The default is false.
	KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

	// The name of the repository where you want to merge two branches.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// SourceCommitSpecifier is a required field
	SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`

	// The branch where the merge is applied.
	TargetBranch *string `locationName:"targetBranch" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (MergeBranchesBySquashInput) GoString

func (s MergeBranchesBySquashInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeBranchesBySquashInput) SetAuthorName

SetAuthorName sets the AuthorName field's value.

func (*MergeBranchesBySquashInput) SetCommitMessage

SetCommitMessage sets the CommitMessage field's value.

func (*MergeBranchesBySquashInput) SetConflictDetailLevel

func (s *MergeBranchesBySquashInput) SetConflictDetailLevel(v string) *MergeBranchesBySquashInput

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*MergeBranchesBySquashInput) SetConflictResolution

SetConflictResolution sets the ConflictResolution field's value.

func (*MergeBranchesBySquashInput) SetConflictResolutionStrategy

func (s *MergeBranchesBySquashInput) SetConflictResolutionStrategy(v string) *MergeBranchesBySquashInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*MergeBranchesBySquashInput) SetDestinationCommitSpecifier

func (s *MergeBranchesBySquashInput) SetDestinationCommitSpecifier(v string) *MergeBranchesBySquashInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*MergeBranchesBySquashInput) SetEmail

SetEmail sets the Email field's value.

func (*MergeBranchesBySquashInput) SetKeepEmptyFolders

func (s *MergeBranchesBySquashInput) SetKeepEmptyFolders(v bool) *MergeBranchesBySquashInput

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*MergeBranchesBySquashInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*MergeBranchesBySquashInput) SetSourceCommitSpecifier

func (s *MergeBranchesBySquashInput) SetSourceCommitSpecifier(v string) *MergeBranchesBySquashInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (*MergeBranchesBySquashInput) SetTargetBranch

SetTargetBranch sets the TargetBranch field's value.

func (MergeBranchesBySquashInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeBranchesBySquashInput) Validate

func (s *MergeBranchesBySquashInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MergeBranchesBySquashOutput

type MergeBranchesBySquashOutput struct {

	// The commit ID of the merge in the destination or target branch.
	CommitId *string `locationName:"commitId" type:"string"`

	// The tree ID of the merge in the destination or target branch.
	TreeId *string `locationName:"treeId" type:"string"`
	// contains filtered or unexported fields
}

func (MergeBranchesBySquashOutput) GoString

func (s MergeBranchesBySquashOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeBranchesBySquashOutput) SetCommitId

SetCommitId sets the CommitId field's value.

func (*MergeBranchesBySquashOutput) SetTreeId

SetTreeId sets the TreeId field's value.

func (MergeBranchesBySquashOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergeBranchesByThreeWayInput

type MergeBranchesByThreeWayInput struct {

	// The name of the author who created the commit. This information is used as
	// both the author and committer for the commit.
	AuthorName *string `locationName:"authorName" type:"string"`

	// The commit message to include in the commit information for the merge.
	CommitMessage *string `locationName:"commitMessage" type:"string"`

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// If AUTOMERGE is the conflict resolution strategy, a list of inputs to use
	// when resolving conflicts during a merge.
	ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// DestinationCommitSpecifier is a required field
	DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"`

	// The email address of the person merging the branches. This information is
	// used in the commit information for the merge.
	Email *string `locationName:"email" type:"string"`

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If true, a .gitkeep file is created
	// for empty folders. The default is false.
	KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

	// The name of the repository where you want to merge two branches.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch, tag, HEAD, or other fully qualified reference used to identify
	// a commit (for example, a branch name or a full commit ID).
	//
	// SourceCommitSpecifier is a required field
	SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"`

	// The branch where the merge is applied.
	TargetBranch *string `locationName:"targetBranch" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (MergeBranchesByThreeWayInput) GoString

func (s MergeBranchesByThreeWayInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeBranchesByThreeWayInput) SetAuthorName

SetAuthorName sets the AuthorName field's value.

func (*MergeBranchesByThreeWayInput) SetCommitMessage

SetCommitMessage sets the CommitMessage field's value.

func (*MergeBranchesByThreeWayInput) SetConflictDetailLevel

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*MergeBranchesByThreeWayInput) SetConflictResolution

SetConflictResolution sets the ConflictResolution field's value.

func (*MergeBranchesByThreeWayInput) SetConflictResolutionStrategy

func (s *MergeBranchesByThreeWayInput) SetConflictResolutionStrategy(v string) *MergeBranchesByThreeWayInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*MergeBranchesByThreeWayInput) SetDestinationCommitSpecifier

func (s *MergeBranchesByThreeWayInput) SetDestinationCommitSpecifier(v string) *MergeBranchesByThreeWayInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*MergeBranchesByThreeWayInput) SetEmail

SetEmail sets the Email field's value.

func (*MergeBranchesByThreeWayInput) SetKeepEmptyFolders

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*MergeBranchesByThreeWayInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*MergeBranchesByThreeWayInput) SetSourceCommitSpecifier

func (s *MergeBranchesByThreeWayInput) SetSourceCommitSpecifier(v string) *MergeBranchesByThreeWayInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (*MergeBranchesByThreeWayInput) SetTargetBranch

SetTargetBranch sets the TargetBranch field's value.

func (MergeBranchesByThreeWayInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeBranchesByThreeWayInput) Validate

func (s *MergeBranchesByThreeWayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MergeBranchesByThreeWayOutput

type MergeBranchesByThreeWayOutput struct {

	// The commit ID of the merge in the destination or target branch.
	CommitId *string `locationName:"commitId" type:"string"`

	// The tree ID of the merge in the destination or target branch.
	TreeId *string `locationName:"treeId" type:"string"`
	// contains filtered or unexported fields
}

func (MergeBranchesByThreeWayOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeBranchesByThreeWayOutput) SetCommitId

SetCommitId sets the CommitId field's value.

func (*MergeBranchesByThreeWayOutput) SetTreeId

SetTreeId sets the TreeId field's value.

func (MergeBranchesByThreeWayOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergeHunk

type MergeHunk struct {

	// Information about the merge hunk in the base of a merge or pull request.
	Base *MergeHunkDetail `locationName:"base" type:"structure"`

	// Information about the merge hunk in the destination of a merge or pull request.
	Destination *MergeHunkDetail `locationName:"destination" type:"structure"`

	// 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 `locationName:"isConflict" type:"boolean"`

	// Information about the merge hunk in the source of a merge or pull request.
	Source *MergeHunkDetail `locationName:"source" type:"structure"`
	// contains filtered or unexported fields
}

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

func (MergeHunk) GoString

func (s MergeHunk) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeHunk) SetBase

func (s *MergeHunk) SetBase(v *MergeHunkDetail) *MergeHunk

SetBase sets the Base field's value.

func (*MergeHunk) SetDestination

func (s *MergeHunk) SetDestination(v *MergeHunkDetail) *MergeHunk

SetDestination sets the Destination field's value.

func (*MergeHunk) SetIsConflict

func (s *MergeHunk) SetIsConflict(v bool) *MergeHunk

SetIsConflict sets the IsConflict field's value.

func (*MergeHunk) SetSource

func (s *MergeHunk) SetSource(v *MergeHunkDetail) *MergeHunk

SetSource sets the Source field's value.

func (MergeHunk) String

func (s MergeHunk) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergeHunkDetail

type MergeHunkDetail struct {

	// The end position of the hunk in the merge result.
	EndLine *int64 `locationName:"endLine" type:"integer"`

	// The base-64 encoded content of the hunk merged region that might contain
	// a conflict.
	HunkContent *string `locationName:"hunkContent" type:"string"`

	// The start position of the hunk in the merge result.
	StartLine *int64 `locationName:"startLine" type:"integer"`
	// contains filtered or unexported fields
}

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

func (MergeHunkDetail) GoString

func (s MergeHunkDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeHunkDetail) SetEndLine

func (s *MergeHunkDetail) SetEndLine(v int64) *MergeHunkDetail

SetEndLine sets the EndLine field's value.

func (*MergeHunkDetail) SetHunkContent

func (s *MergeHunkDetail) SetHunkContent(v string) *MergeHunkDetail

SetHunkContent sets the HunkContent field's value.

func (*MergeHunkDetail) SetStartLine

func (s *MergeHunkDetail) SetStartLine(v int64) *MergeHunkDetail

SetStartLine sets the StartLine field's value.

func (MergeHunkDetail) String

func (s MergeHunkDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergeMetadata

type MergeMetadata struct {

	// A Boolean value indicating whether the merge has been made.
	IsMerged *bool `locationName:"isMerged" type:"boolean"`

	// The commit ID for the merge commit, if any.
	MergeCommitId *string `locationName:"mergeCommitId" type:"string"`

	// The merge strategy used in the merge.
	MergeOption *string `locationName:"mergeOption" type:"string" enum:"MergeOptionTypeEnum"`

	// The Amazon Resource Name (ARN) of the user who merged the branches.
	MergedBy *string `locationName:"mergedBy" type:"string"`
	// contains filtered or unexported fields
}

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

func (MergeMetadata) GoString

func (s MergeMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeMetadata) SetIsMerged

func (s *MergeMetadata) SetIsMerged(v bool) *MergeMetadata

SetIsMerged sets the IsMerged field's value.

func (*MergeMetadata) SetMergeCommitId

func (s *MergeMetadata) SetMergeCommitId(v string) *MergeMetadata

SetMergeCommitId sets the MergeCommitId field's value.

func (*MergeMetadata) SetMergeOption

func (s *MergeMetadata) SetMergeOption(v string) *MergeMetadata

SetMergeOption sets the MergeOption field's value.

func (*MergeMetadata) SetMergedBy

func (s *MergeMetadata) SetMergedBy(v string) *MergeMetadata

SetMergedBy sets the MergedBy field's value.

func (MergeMetadata) String

func (s MergeMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergeOperations

type MergeOperations struct {

	// The operation on a file in the destination of a merge or pull request.
	Destination *string `locationName:"destination" type:"string" enum:"ChangeTypeEnum"`

	// The operation (add, modify, or delete) on a file in the source of a merge
	// or pull request.
	Source *string `locationName:"source" type:"string" enum:"ChangeTypeEnum"`
	// contains filtered or unexported fields
}

Information about the file operation conflicts in a merge operation.

func (MergeOperations) GoString

func (s MergeOperations) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeOperations) SetDestination

func (s *MergeOperations) SetDestination(v string) *MergeOperations

SetDestination sets the Destination field's value.

func (*MergeOperations) SetSource

func (s *MergeOperations) SetSource(v string) *MergeOperations

SetSource sets the Source field's value.

func (MergeOperations) String

func (s MergeOperations) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergeOptionRequiredException

type MergeOptionRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*MergeOptionRequiredException) Code

Code returns the exception type name.

func (*MergeOptionRequiredException) Error

func (MergeOptionRequiredException) GoString

func (s MergeOptionRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergeOptionRequiredException) Message

func (s *MergeOptionRequiredException) Message() string

Message returns the exception's message.

func (*MergeOptionRequiredException) OrigErr

func (s *MergeOptionRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MergeOptionRequiredException) RequestID

func (s *MergeOptionRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*MergeOptionRequiredException) StatusCode

func (s *MergeOptionRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MergeOptionRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergePullRequestByFastForwardInput

type MergePullRequestByFastForwardInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The name of the repository where the pull request was created.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The full commit ID of the original or updated commit in the pull request
	// source branch. Pass this value if you want an exception thrown if the current
	// commit ID of the tip of the source branch does not match this commit ID.
	SourceCommitId *string `locationName:"sourceCommitId" type:"string"`
	// contains filtered or unexported fields
}

func (MergePullRequestByFastForwardInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergePullRequestByFastForwardInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*MergePullRequestByFastForwardInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*MergePullRequestByFastForwardInput) SetSourceCommitId

SetSourceCommitId sets the SourceCommitId field's value.

func (MergePullRequestByFastForwardInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergePullRequestByFastForwardInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type MergePullRequestByFastForwardOutput

type MergePullRequestByFastForwardOutput struct {

	// Information about the specified pull request, including the merge.
	PullRequest *PullRequest `locationName:"pullRequest" type:"structure"`
	// contains filtered or unexported fields
}

func (MergePullRequestByFastForwardOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergePullRequestByFastForwardOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (MergePullRequestByFastForwardOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergePullRequestBySquashInput

type MergePullRequestBySquashInput struct {

	// The name of the author who created the commit. This information is used as
	// both the author and committer for the commit.
	AuthorName *string `locationName:"authorName" type:"string"`

	// The commit message to include in the commit information for the merge.
	CommitMessage *string `locationName:"commitMessage" type:"string"`

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// If AUTOMERGE is the conflict resolution strategy, a list of inputs to use
	// when resolving conflicts during a merge.
	ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The email address of the person merging the branches. This information is
	// used in the commit information for the merge.
	Email *string `locationName:"email" type:"string"`

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If true, a .gitkeep file is created
	// for empty folders. The default is false.
	KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The name of the repository where the pull request was created.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The full commit ID of the original or updated commit in the pull request
	// source branch. Pass this value if you want an exception thrown if the current
	// commit ID of the tip of the source branch does not match this commit ID.
	SourceCommitId *string `locationName:"sourceCommitId" type:"string"`
	// contains filtered or unexported fields
}

func (MergePullRequestBySquashInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergePullRequestBySquashInput) SetAuthorName

SetAuthorName sets the AuthorName field's value.

func (*MergePullRequestBySquashInput) SetCommitMessage

SetCommitMessage sets the CommitMessage field's value.

func (*MergePullRequestBySquashInput) SetConflictDetailLevel

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*MergePullRequestBySquashInput) SetConflictResolution

SetConflictResolution sets the ConflictResolution field's value.

func (*MergePullRequestBySquashInput) SetConflictResolutionStrategy

func (s *MergePullRequestBySquashInput) SetConflictResolutionStrategy(v string) *MergePullRequestBySquashInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*MergePullRequestBySquashInput) SetEmail

SetEmail sets the Email field's value.

func (*MergePullRequestBySquashInput) SetKeepEmptyFolders

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*MergePullRequestBySquashInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*MergePullRequestBySquashInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*MergePullRequestBySquashInput) SetSourceCommitId

SetSourceCommitId sets the SourceCommitId field's value.

func (MergePullRequestBySquashInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergePullRequestBySquashInput) Validate

func (s *MergePullRequestBySquashInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MergePullRequestBySquashOutput

type MergePullRequestBySquashOutput struct {

	// Returns information about a pull request.
	PullRequest *PullRequest `locationName:"pullRequest" type:"structure"`
	// contains filtered or unexported fields
}

func (MergePullRequestBySquashOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergePullRequestBySquashOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (MergePullRequestBySquashOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MergePullRequestByThreeWayInput

type MergePullRequestByThreeWayInput struct {

	// The name of the author who created the commit. This information is used as
	// both the author and committer for the commit.
	AuthorName *string `locationName:"authorName" type:"string"`

	// The commit message to include in the commit information for the merge.
	CommitMessage *string `locationName:"commitMessage" type:"string"`

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL
	// is used, which returns a not-mergeable result if the same file has differences
	// in both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel *string `locationName:"conflictDetailLevel" type:"string" enum:"ConflictDetailLevelTypeEnum"`

	// If AUTOMERGE is the conflict resolution strategy, a list of inputs to use
	// when resolving conflicts during a merge.
	ConflictResolution *ConflictResolution `locationName:"conflictResolution" type:"structure"`

	// Specifies which branch to use when resolving conflicts, or whether to attempt
	// automatically merging two versions of a file. The default is NONE, which
	// requires any conflicts to be resolved manually before the merge operation
	// is successful.
	ConflictResolutionStrategy *string `locationName:"conflictResolutionStrategy" type:"string" enum:"ConflictResolutionStrategyTypeEnum"`

	// The email address of the person merging the branches. This information is
	// used in the commit information for the merge.
	Email *string `locationName:"email" type:"string"`

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If true, a .gitkeep file is created
	// for empty folders. The default is false.
	KeepEmptyFolders *bool `locationName:"keepEmptyFolders" type:"boolean"`

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The name of the repository where the pull request was created.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The full commit ID of the original or updated commit in the pull request
	// source branch. Pass this value if you want an exception thrown if the current
	// commit ID of the tip of the source branch does not match this commit ID.
	SourceCommitId *string `locationName:"sourceCommitId" type:"string"`
	// contains filtered or unexported fields
}

func (MergePullRequestByThreeWayInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergePullRequestByThreeWayInput) SetAuthorName

SetAuthorName sets the AuthorName field's value.

func (*MergePullRequestByThreeWayInput) SetCommitMessage

SetCommitMessage sets the CommitMessage field's value.

func (*MergePullRequestByThreeWayInput) SetConflictDetailLevel

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*MergePullRequestByThreeWayInput) SetConflictResolution

SetConflictResolution sets the ConflictResolution field's value.

func (*MergePullRequestByThreeWayInput) SetConflictResolutionStrategy

func (s *MergePullRequestByThreeWayInput) SetConflictResolutionStrategy(v string) *MergePullRequestByThreeWayInput

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*MergePullRequestByThreeWayInput) SetEmail

SetEmail sets the Email field's value.

func (*MergePullRequestByThreeWayInput) SetKeepEmptyFolders

SetKeepEmptyFolders sets the KeepEmptyFolders field's value.

func (*MergePullRequestByThreeWayInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*MergePullRequestByThreeWayInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*MergePullRequestByThreeWayInput) SetSourceCommitId

SetSourceCommitId sets the SourceCommitId field's value.

func (MergePullRequestByThreeWayInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergePullRequestByThreeWayInput) Validate

func (s *MergePullRequestByThreeWayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MergePullRequestByThreeWayOutput

type MergePullRequestByThreeWayOutput struct {

	// Returns information about a pull request.
	PullRequest *PullRequest `locationName:"pullRequest" type:"structure"`
	// contains filtered or unexported fields
}

func (MergePullRequestByThreeWayOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MergePullRequestByThreeWayOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (MergePullRequestByThreeWayOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MultipleConflictResolutionEntriesException

type MultipleConflictResolutionEntriesException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*MultipleConflictResolutionEntriesException) Code

Code returns the exception type name.

func (*MultipleConflictResolutionEntriesException) Error

func (MultipleConflictResolutionEntriesException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MultipleConflictResolutionEntriesException) Message

Message returns the exception's message.

func (*MultipleConflictResolutionEntriesException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MultipleConflictResolutionEntriesException) RequestID

RequestID returns the service's response RequestID for request.

func (*MultipleConflictResolutionEntriesException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MultipleConflictResolutionEntriesException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MultipleRepositoriesInPullRequestException

type MultipleRepositoriesInPullRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*MultipleRepositoriesInPullRequestException) Error

func (MultipleRepositoriesInPullRequestException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MultipleRepositoriesInPullRequestException) Message

Message returns the exception's message.

func (*MultipleRepositoriesInPullRequestException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MultipleRepositoriesInPullRequestException) RequestID

RequestID returns the service's response RequestID for request.

func (*MultipleRepositoriesInPullRequestException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (MultipleRepositoriesInPullRequestException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NameLengthExceededException

type NameLengthExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*NameLengthExceededException) Code

Code returns the exception type name.

func (*NameLengthExceededException) Error

func (NameLengthExceededException) GoString

func (s NameLengthExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NameLengthExceededException) Message

func (s *NameLengthExceededException) Message() string

Message returns the exception's message.

func (*NameLengthExceededException) OrigErr

func (s *NameLengthExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NameLengthExceededException) RequestID

func (s *NameLengthExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NameLengthExceededException) StatusCode

func (s *NameLengthExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NameLengthExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NoChangeException

type NoChangeException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

func (s *NoChangeException) Code() string

Code returns the exception type name.

func (*NoChangeException) Error

func (s *NoChangeException) Error() string

func (NoChangeException) GoString

func (s NoChangeException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NoChangeException) Message

func (s *NoChangeException) Message() string

Message returns the exception's message.

func (*NoChangeException) OrigErr

func (s *NoChangeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NoChangeException) RequestID

func (s *NoChangeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NoChangeException) StatusCode

func (s *NoChangeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NoChangeException) String

func (s NoChangeException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NumberOfRuleTemplatesExceededException

type NumberOfRuleTemplatesExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The maximum number of approval rule templates has been exceeded for this Amazon Web Services Region.

func (*NumberOfRuleTemplatesExceededException) Code

Code returns the exception type name.

func (*NumberOfRuleTemplatesExceededException) Error

func (NumberOfRuleTemplatesExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NumberOfRuleTemplatesExceededException) Message

Message returns the exception's message.

func (*NumberOfRuleTemplatesExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NumberOfRuleTemplatesExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*NumberOfRuleTemplatesExceededException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (NumberOfRuleTemplatesExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NumberOfRulesExceededException

type NumberOfRulesExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*NumberOfRulesExceededException) Code

Code returns the exception type name.

func (*NumberOfRulesExceededException) Error

func (NumberOfRulesExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NumberOfRulesExceededException) Message

Message returns the exception's message.

func (*NumberOfRulesExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NumberOfRulesExceededException) RequestID

func (s *NumberOfRulesExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NumberOfRulesExceededException) StatusCode

func (s *NumberOfRulesExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NumberOfRulesExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ObjectTypes

type ObjectTypes struct {

	// The type of the object in the base commit of the merge.
	Base *string `locationName:"base" type:"string" enum:"ObjectTypeEnum"`

	// The type of the object in the destination branch.
	Destination *string `locationName:"destination" type:"string" enum:"ObjectTypeEnum"`

	// The type of the object in the source branch.
	Source *string `locationName:"source" type:"string" enum:"ObjectTypeEnum"`
	// contains filtered or unexported fields
}

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

func (ObjectTypes) GoString

func (s ObjectTypes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ObjectTypes) SetBase

func (s *ObjectTypes) SetBase(v string) *ObjectTypes

SetBase sets the Base field's value.

func (*ObjectTypes) SetDestination

func (s *ObjectTypes) SetDestination(v string) *ObjectTypes

SetDestination sets the Destination field's value.

func (*ObjectTypes) SetSource

func (s *ObjectTypes) SetSource(v string) *ObjectTypes

SetSource sets the Source field's value.

func (ObjectTypes) String

func (s ObjectTypes) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OriginApprovalRuleTemplate

type OriginApprovalRuleTemplate struct {

	// The ID of the template that created the approval rule.
	ApprovalRuleTemplateId *string `locationName:"approvalRuleTemplateId" type:"string"`

	// The name of the template that created the approval rule.
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (OriginApprovalRuleTemplate) GoString

func (s OriginApprovalRuleTemplate) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OriginApprovalRuleTemplate) SetApprovalRuleTemplateId

func (s *OriginApprovalRuleTemplate) SetApprovalRuleTemplateId(v string) *OriginApprovalRuleTemplate

SetApprovalRuleTemplateId sets the ApprovalRuleTemplateId field's value.

func (*OriginApprovalRuleTemplate) SetApprovalRuleTemplateName

func (s *OriginApprovalRuleTemplate) SetApprovalRuleTemplateName(v string) *OriginApprovalRuleTemplate

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (OriginApprovalRuleTemplate) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OverrideAlreadySetException

type OverrideAlreadySetException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*OverrideAlreadySetException) Code

Code returns the exception type name.

func (*OverrideAlreadySetException) Error

func (OverrideAlreadySetException) GoString

func (s OverrideAlreadySetException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OverrideAlreadySetException) Message

func (s *OverrideAlreadySetException) Message() string

Message returns the exception's message.

func (*OverrideAlreadySetException) OrigErr

func (s *OverrideAlreadySetException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OverrideAlreadySetException) RequestID

func (s *OverrideAlreadySetException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OverrideAlreadySetException) StatusCode

func (s *OverrideAlreadySetException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (OverrideAlreadySetException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OverridePullRequestApprovalRulesInput

type OverridePullRequestApprovalRulesInput struct {

	// Whether you want to set aside approval rule requirements for the pull request
	// (OVERRIDE) or revoke a previous override and apply approval rule requirements
	// (REVOKE). REVOKE status is not stored.
	//
	// OverrideStatus is a required field
	OverrideStatus *string `locationName:"overrideStatus" type:"string" required:"true" enum:"OverrideStatus"`

	// The system-generated ID of the pull request for which you want to override
	// all approval rule requirements. To get this information, use GetPullRequest.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The system-generated ID of the most recent revision of the pull request.
	// You cannot override approval rules for anything but the most recent revision
	// of a pull request. To get the revision ID, use GetPullRequest.
	//
	// RevisionId is a required field
	RevisionId *string `locationName:"revisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (OverridePullRequestApprovalRulesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OverridePullRequestApprovalRulesInput) SetOverrideStatus

SetOverrideStatus sets the OverrideStatus field's value.

func (*OverridePullRequestApprovalRulesInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*OverridePullRequestApprovalRulesInput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (OverridePullRequestApprovalRulesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OverridePullRequestApprovalRulesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type OverridePullRequestApprovalRulesOutput

type OverridePullRequestApprovalRulesOutput struct {
	// contains filtered or unexported fields
}

func (OverridePullRequestApprovalRulesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (OverridePullRequestApprovalRulesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OverrideStatusRequiredException

type OverrideStatusRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*OverrideStatusRequiredException) Code

Code returns the exception type name.

func (*OverrideStatusRequiredException) Error

func (OverrideStatusRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OverrideStatusRequiredException) Message

Message returns the exception's message.

func (*OverrideStatusRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OverrideStatusRequiredException) RequestID

func (s *OverrideStatusRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OverrideStatusRequiredException) StatusCode

func (s *OverrideStatusRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (OverrideStatusRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ParentCommitDoesNotExistException

type ParentCommitDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*ParentCommitDoesNotExistException) Error

func (ParentCommitDoesNotExistException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ParentCommitDoesNotExistException) Message

Message returns the exception's message.

func (*ParentCommitDoesNotExistException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ParentCommitDoesNotExistException) RequestID

RequestID returns the service's response RequestID for request.

func (*ParentCommitDoesNotExistException) StatusCode

func (s *ParentCommitDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ParentCommitDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ParentCommitIdOutdatedException

type ParentCommitIdOutdatedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*ParentCommitIdOutdatedException) Error

func (ParentCommitIdOutdatedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ParentCommitIdOutdatedException) Message

Message returns the exception's message.

func (*ParentCommitIdOutdatedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ParentCommitIdOutdatedException) RequestID

func (s *ParentCommitIdOutdatedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ParentCommitIdOutdatedException) StatusCode

func (s *ParentCommitIdOutdatedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ParentCommitIdOutdatedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ParentCommitIdRequiredException

type ParentCommitIdRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*ParentCommitIdRequiredException) Error

func (ParentCommitIdRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ParentCommitIdRequiredException) Message

Message returns the exception's message.

func (*ParentCommitIdRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ParentCommitIdRequiredException) RequestID

func (s *ParentCommitIdRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ParentCommitIdRequiredException) StatusCode

func (s *ParentCommitIdRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ParentCommitIdRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PathDoesNotExistException

type PathDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified path does not exist.

func (*PathDoesNotExistException) Code

Code returns the exception type name.

func (*PathDoesNotExistException) Error

func (s *PathDoesNotExistException) Error() string

func (PathDoesNotExistException) GoString

func (s PathDoesNotExistException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PathDoesNotExistException) Message

func (s *PathDoesNotExistException) Message() string

Message returns the exception's message.

func (*PathDoesNotExistException) OrigErr

func (s *PathDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PathDoesNotExistException) RequestID

func (s *PathDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*PathDoesNotExistException) StatusCode

func (s *PathDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PathDoesNotExistException) String

func (s PathDoesNotExistException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PathRequiredException

type PathRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The folderPath for a location cannot be null.

func (*PathRequiredException) Code

func (s *PathRequiredException) Code() string

Code returns the exception type name.

func (*PathRequiredException) Error

func (s *PathRequiredException) Error() string

func (PathRequiredException) GoString

func (s PathRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PathRequiredException) Message

func (s *PathRequiredException) Message() string

Message returns the exception's message.

func (*PathRequiredException) OrigErr

func (s *PathRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PathRequiredException) RequestID

func (s *PathRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*PathRequiredException) StatusCode

func (s *PathRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PathRequiredException) String

func (s PathRequiredException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PostCommentForComparedCommitInput

type PostCommentForComparedCommitInput struct {

	// To establish the directionality of the comparison, the full commit ID of
	// the after commit.
	//
	// AfterCommitId is a required field
	AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"`

	// To establish the directionality of the comparison, the full commit ID of
	// the before commit. Required for commenting on any commit unless that commit
	// is the initial commit.
	BeforeCommitId *string `locationName:"beforeCommitId" type:"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 `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"`

	// The content of the comment you want to make.
	//
	// Content is a required field
	Content *string `locationName:"content" type:"string" required:"true"`

	// The location of the comparison where you want to comment.
	Location *Location `locationName:"location" type:"structure"`

	// The name of the repository where you want to post a comment on the comparison
	// between commits.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PostCommentForComparedCommitInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PostCommentForComparedCommitInput) SetAfterCommitId

SetAfterCommitId sets the AfterCommitId field's value.

func (*PostCommentForComparedCommitInput) SetBeforeCommitId

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*PostCommentForComparedCommitInput) SetClientRequestToken

SetClientRequestToken sets the ClientRequestToken field's value.

func (*PostCommentForComparedCommitInput) SetContent

SetContent sets the Content field's value.

func (*PostCommentForComparedCommitInput) SetLocation

SetLocation sets the Location field's value.

func (*PostCommentForComparedCommitInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (PostCommentForComparedCommitInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PostCommentForComparedCommitInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type PostCommentForComparedCommitOutput

type PostCommentForComparedCommitOutput struct {

	// In the directionality you established, the blob ID of the after blob.
	AfterBlobId *string `locationName:"afterBlobId" type:"string"`

	// In the directionality you established, the full commit ID of the after commit.
	AfterCommitId *string `locationName:"afterCommitId" type:"string"`

	// In the directionality you established, the blob ID of the before blob.
	BeforeBlobId *string `locationName:"beforeBlobId" type:"string"`

	// In the directionality you established, the full commit ID of the before commit.
	BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

	// The content of the comment you posted.
	Comment *Comment `locationName:"comment" type:"structure"`

	// The location of the comment in the comparison between the two commits.
	Location *Location `locationName:"location" type:"structure"`

	// The name of the repository where you posted a comment on the comparison between
	// commits.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PostCommentForComparedCommitOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PostCommentForComparedCommitOutput) SetAfterBlobId

SetAfterBlobId sets the AfterBlobId field's value.

func (*PostCommentForComparedCommitOutput) SetAfterCommitId

SetAfterCommitId sets the AfterCommitId field's value.

func (*PostCommentForComparedCommitOutput) SetBeforeBlobId

SetBeforeBlobId sets the BeforeBlobId field's value.

func (*PostCommentForComparedCommitOutput) SetBeforeCommitId

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*PostCommentForComparedCommitOutput) SetComment

SetComment sets the Comment field's value.

func (*PostCommentForComparedCommitOutput) SetLocation

SetLocation sets the Location field's value.

func (*PostCommentForComparedCommitOutput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (PostCommentForComparedCommitOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PostCommentForPullRequestInput

type PostCommentForPullRequestInput struct {

	// The full commit ID of the commit in the source branch that is the current
	// tip of the branch for the pull request when you post the comment.
	//
	// AfterCommitId is a required field
	AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"`

	// 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 created.
	//
	// BeforeCommitId is a required field
	BeforeCommitId *string `locationName:"beforeCommitId" type:"string" required:"true"`

	// 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 `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"`

	// The content of your comment on the change.
	//
	// Content is a required field
	Content *string `locationName:"content" type:"string" required:"true"`

	// The location of the change where you want to post your comment. If no location
	// is provided, the comment is posted as a general comment on the pull request
	// difference between the before commit ID and the after commit ID.
	Location *Location `locationName:"location" type:"structure"`

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The name of the repository where you want to post a comment on a pull request.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PostCommentForPullRequestInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PostCommentForPullRequestInput) SetAfterCommitId

SetAfterCommitId sets the AfterCommitId field's value.

func (*PostCommentForPullRequestInput) SetBeforeCommitId

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*PostCommentForPullRequestInput) SetClientRequestToken

SetClientRequestToken sets the ClientRequestToken field's value.

func (*PostCommentForPullRequestInput) SetContent

SetContent sets the Content field's value.

func (*PostCommentForPullRequestInput) SetLocation

SetLocation sets the Location field's value.

func (*PostCommentForPullRequestInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*PostCommentForPullRequestInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (PostCommentForPullRequestInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PostCommentForPullRequestInput) Validate

func (s *PostCommentForPullRequestInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PostCommentForPullRequestOutput

type PostCommentForPullRequestOutput struct {

	// In the directionality of the pull request, the blob ID of the after blob.
	AfterBlobId *string `locationName:"afterBlobId" type:"string"`

	// The full commit ID of the commit in the destination branch where the pull
	// request is merged.
	AfterCommitId *string `locationName:"afterCommitId" type:"string"`

	// In the directionality of the pull request, the blob ID of the before blob.
	BeforeBlobId *string `locationName:"beforeBlobId" type:"string"`

	// The full commit ID of the commit in the source branch used to create the
	// pull request, or in the case of an updated pull request, the full commit
	// ID of the commit used to update the pull request.
	BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

	// The content of the comment you posted.
	Comment *Comment `locationName:"comment" type:"structure"`

	// The location of the change where you posted your comment.
	Location *Location `locationName:"location" type:"structure"`

	// The system-generated ID of the pull request.
	PullRequestId *string `locationName:"pullRequestId" type:"string"`

	// The name of the repository where you posted a comment on a pull request.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PostCommentForPullRequestOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PostCommentForPullRequestOutput) SetAfterBlobId

SetAfterBlobId sets the AfterBlobId field's value.

func (*PostCommentForPullRequestOutput) SetAfterCommitId

SetAfterCommitId sets the AfterCommitId field's value.

func (*PostCommentForPullRequestOutput) SetBeforeBlobId

SetBeforeBlobId sets the BeforeBlobId field's value.

func (*PostCommentForPullRequestOutput) SetBeforeCommitId

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*PostCommentForPullRequestOutput) SetComment

SetComment sets the Comment field's value.

func (*PostCommentForPullRequestOutput) SetLocation

SetLocation sets the Location field's value.

func (*PostCommentForPullRequestOutput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*PostCommentForPullRequestOutput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (PostCommentForPullRequestOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PostCommentReplyInput

type PostCommentReplyInput struct {

	// 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 `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"`

	// The contents of your reply to a comment.
	//
	// Content is a required field
	Content *string `locationName:"content" type:"string" required:"true"`

	// The system-generated ID of the comment to which you want to reply. To get
	// this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
	//
	// InReplyTo is a required field
	InReplyTo *string `locationName:"inReplyTo" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PostCommentReplyInput) GoString

func (s PostCommentReplyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PostCommentReplyInput) SetClientRequestToken

func (s *PostCommentReplyInput) SetClientRequestToken(v string) *PostCommentReplyInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*PostCommentReplyInput) SetContent

SetContent sets the Content field's value.

func (*PostCommentReplyInput) SetInReplyTo

SetInReplyTo sets the InReplyTo field's value.

func (PostCommentReplyInput) String

func (s PostCommentReplyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PostCommentReplyInput) Validate

func (s *PostCommentReplyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PostCommentReplyOutput

type PostCommentReplyOutput struct {

	// Information about the reply to a comment.
	Comment *Comment `locationName:"comment" type:"structure"`
	// contains filtered or unexported fields
}

func (PostCommentReplyOutput) GoString

func (s PostCommentReplyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PostCommentReplyOutput) SetComment

SetComment sets the Comment field's value.

func (PostCommentReplyOutput) String

func (s PostCommentReplyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PullRequest

type PullRequest struct {

	// The approval rules applied to the pull request.
	ApprovalRules []*ApprovalRule `locationName:"approvalRules" type:"list"`

	// The Amazon Resource Name (ARN) of the user who created the pull request.
	AuthorArn *string `locationName:"authorArn" type:"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 `locationName:"clientRequestToken" type:"string"`

	// The date and time the pull request was originally created, in timestamp format.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// 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 `locationName:"description" type:"string"`

	// The day and time of the last user or system activity on the pull request,
	// in timestamp format.
	LastActivityDate *time.Time `locationName:"lastActivityDate" type:"timestamp"`

	// The system-generated ID of the pull request.
	PullRequestId *string `locationName:"pullRequestId" type:"string"`

	// The status of the pull request. Pull request status can only change from
	// OPEN to CLOSED.
	PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" enum:"PullRequestStatusEnum"`

	// The targets of the pull request, including the source branch and destination
	// branch for the pull request.
	PullRequestTargets []*PullRequestTarget `locationName:"pullRequestTargets" type:"list"`

	// The system-generated revision ID for the pull request.
	RevisionId *string `locationName:"revisionId" type:"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 `locationName:"title" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a pull request.

func (PullRequest) GoString

func (s PullRequest) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequest) SetApprovalRules

func (s *PullRequest) SetApprovalRules(v []*ApprovalRule) *PullRequest

SetApprovalRules sets the ApprovalRules field's value.

func (*PullRequest) SetAuthorArn

func (s *PullRequest) SetAuthorArn(v string) *PullRequest

SetAuthorArn sets the AuthorArn field's value.

func (*PullRequest) SetClientRequestToken

func (s *PullRequest) SetClientRequestToken(v string) *PullRequest

SetClientRequestToken sets the ClientRequestToken field's value.

func (*PullRequest) SetCreationDate

func (s *PullRequest) SetCreationDate(v time.Time) *PullRequest

SetCreationDate sets the CreationDate field's value.

func (*PullRequest) SetDescription

func (s *PullRequest) SetDescription(v string) *PullRequest

SetDescription sets the Description field's value.

func (*PullRequest) SetLastActivityDate

func (s *PullRequest) SetLastActivityDate(v time.Time) *PullRequest

SetLastActivityDate sets the LastActivityDate field's value.

func (*PullRequest) SetPullRequestId

func (s *PullRequest) SetPullRequestId(v string) *PullRequest

SetPullRequestId sets the PullRequestId field's value.

func (*PullRequest) SetPullRequestStatus

func (s *PullRequest) SetPullRequestStatus(v string) *PullRequest

SetPullRequestStatus sets the PullRequestStatus field's value.

func (*PullRequest) SetPullRequestTargets

func (s *PullRequest) SetPullRequestTargets(v []*PullRequestTarget) *PullRequest

SetPullRequestTargets sets the PullRequestTargets field's value.

func (*PullRequest) SetRevisionId

func (s *PullRequest) SetRevisionId(v string) *PullRequest

SetRevisionId sets the RevisionId field's value.

func (*PullRequest) SetTitle

func (s *PullRequest) SetTitle(v string) *PullRequest

SetTitle sets the Title field's value.

func (PullRequest) String

func (s PullRequest) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PullRequestAlreadyClosedException

type PullRequestAlreadyClosedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*PullRequestAlreadyClosedException) Code

Code returns the exception type name.

func (*PullRequestAlreadyClosedException) Error

func (PullRequestAlreadyClosedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestAlreadyClosedException) Message

Message returns the exception's message.

func (*PullRequestAlreadyClosedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PullRequestAlreadyClosedException) RequestID

RequestID returns the service's response RequestID for request.

func (*PullRequestAlreadyClosedException) StatusCode

func (s *PullRequestAlreadyClosedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PullRequestAlreadyClosedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PullRequestApprovalRulesNotSatisfiedException

type PullRequestApprovalRulesNotSatisfiedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*PullRequestApprovalRulesNotSatisfiedException) Error

func (PullRequestApprovalRulesNotSatisfiedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestApprovalRulesNotSatisfiedException) Message

Message returns the exception's message.

func (*PullRequestApprovalRulesNotSatisfiedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PullRequestApprovalRulesNotSatisfiedException) RequestID

RequestID returns the service's response RequestID for request.

func (*PullRequestApprovalRulesNotSatisfiedException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (PullRequestApprovalRulesNotSatisfiedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PullRequestCannotBeApprovedByAuthorException

type PullRequestCannotBeApprovedByAuthorException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*PullRequestCannotBeApprovedByAuthorException) Error

func (PullRequestCannotBeApprovedByAuthorException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestCannotBeApprovedByAuthorException) Message

Message returns the exception's message.

func (*PullRequestCannotBeApprovedByAuthorException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PullRequestCannotBeApprovedByAuthorException) RequestID

RequestID returns the service's response RequestID for request.

func (*PullRequestCannotBeApprovedByAuthorException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (PullRequestCannotBeApprovedByAuthorException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `locationName:"destinationCommitId" type:"string"`

	// The commit ID of the most recent commit that the source branch and the destination
	// branch have in common.
	MergeBase *string `locationName:"mergeBase" type:"string"`

	// The name of the repository where the pull request was created.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`

	// The commit ID on the source branch used when the pull request was created.
	SourceCommitId *string `locationName:"sourceCommitId" type:"string"`
	// contains filtered or unexported fields
}

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

func (PullRequestCreatedEventMetadata) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestCreatedEventMetadata) SetDestinationCommitId

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*PullRequestCreatedEventMetadata) SetMergeBase

SetMergeBase sets the MergeBase field's value.

func (*PullRequestCreatedEventMetadata) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*PullRequestCreatedEventMetadata) SetSourceCommitId

SetSourceCommitId sets the SourceCommitId field's value.

func (PullRequestCreatedEventMetadata) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PullRequestDoesNotExistException

type PullRequestDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*PullRequestDoesNotExistException) Error

func (PullRequestDoesNotExistException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestDoesNotExistException) Message

Message returns the exception's message.

func (*PullRequestDoesNotExistException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PullRequestDoesNotExistException) RequestID

RequestID returns the service's response RequestID for request.

func (*PullRequestDoesNotExistException) StatusCode

func (s *PullRequestDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PullRequestDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `locationName:"actorArn" type:"string"`

	// Information about a pull request event.
	ApprovalRuleEventMetadata *ApprovalRuleEventMetadata `locationName:"approvalRuleEventMetadata" type:"structure"`

	// Information about an approval rule override event for a pull request.
	ApprovalRuleOverriddenEventMetadata *ApprovalRuleOverriddenEventMetadata `locationName:"approvalRuleOverriddenEventMetadata" type:"structure"`

	// Information about an approval state change for a pull request.
	ApprovalStateChangedEventMetadata *ApprovalStateChangedEventMetadata `locationName:"approvalStateChangedEventMetadata" type:"structure"`

	// The day and time of the pull request event, in timestamp format.
	EventDate *time.Time `locationName:"eventDate" type:"timestamp"`

	// Information about the source and destination branches for the pull request.
	PullRequestCreatedEventMetadata *PullRequestCreatedEventMetadata `locationName:"pullRequestCreatedEventMetadata" type:"structure"`

	// 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 *string `locationName:"pullRequestEventType" type:"string" enum:"PullRequestEventType"`

	// The system-generated ID of the pull request.
	PullRequestId *string `locationName:"pullRequestId" type:"string"`

	// Information about the change in mergability state for the pull request event.
	PullRequestMergedStateChangedEventMetadata *PullRequestMergedStateChangedEventMetadata `locationName:"pullRequestMergedStateChangedEventMetadata" type:"structure"`

	// Information about the updated source branch for the pull request event.
	PullRequestSourceReferenceUpdatedEventMetadata *PullRequestSourceReferenceUpdatedEventMetadata `locationName:"pullRequestSourceReferenceUpdatedEventMetadata" type:"structure"`

	// Information about the change in status for the pull request event.
	PullRequestStatusChangedEventMetadata *PullRequestStatusChangedEventMetadata `locationName:"pullRequestStatusChangedEventMetadata" type:"structure"`
	// contains filtered or unexported fields
}

Returns information about a pull request event.

func (PullRequestEvent) GoString

func (s PullRequestEvent) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestEvent) SetActorArn

func (s *PullRequestEvent) SetActorArn(v string) *PullRequestEvent

SetActorArn sets the ActorArn field's value.

func (*PullRequestEvent) SetApprovalRuleEventMetadata

func (s *PullRequestEvent) SetApprovalRuleEventMetadata(v *ApprovalRuleEventMetadata) *PullRequestEvent

SetApprovalRuleEventMetadata sets the ApprovalRuleEventMetadata field's value.

func (*PullRequestEvent) SetApprovalRuleOverriddenEventMetadata

func (s *PullRequestEvent) SetApprovalRuleOverriddenEventMetadata(v *ApprovalRuleOverriddenEventMetadata) *PullRequestEvent

SetApprovalRuleOverriddenEventMetadata sets the ApprovalRuleOverriddenEventMetadata field's value.

func (*PullRequestEvent) SetApprovalStateChangedEventMetadata

func (s *PullRequestEvent) SetApprovalStateChangedEventMetadata(v *ApprovalStateChangedEventMetadata) *PullRequestEvent

SetApprovalStateChangedEventMetadata sets the ApprovalStateChangedEventMetadata field's value.

func (*PullRequestEvent) SetEventDate

func (s *PullRequestEvent) SetEventDate(v time.Time) *PullRequestEvent

SetEventDate sets the EventDate field's value.

func (*PullRequestEvent) SetPullRequestCreatedEventMetadata

func (s *PullRequestEvent) SetPullRequestCreatedEventMetadata(v *PullRequestCreatedEventMetadata) *PullRequestEvent

SetPullRequestCreatedEventMetadata sets the PullRequestCreatedEventMetadata field's value.

func (*PullRequestEvent) SetPullRequestEventType

func (s *PullRequestEvent) SetPullRequestEventType(v string) *PullRequestEvent

SetPullRequestEventType sets the PullRequestEventType field's value.

func (*PullRequestEvent) SetPullRequestId

func (s *PullRequestEvent) SetPullRequestId(v string) *PullRequestEvent

SetPullRequestId sets the PullRequestId field's value.

func (*PullRequestEvent) SetPullRequestMergedStateChangedEventMetadata

func (s *PullRequestEvent) SetPullRequestMergedStateChangedEventMetadata(v *PullRequestMergedStateChangedEventMetadata) *PullRequestEvent

SetPullRequestMergedStateChangedEventMetadata sets the PullRequestMergedStateChangedEventMetadata field's value.

func (*PullRequestEvent) SetPullRequestSourceReferenceUpdatedEventMetadata

func (s *PullRequestEvent) SetPullRequestSourceReferenceUpdatedEventMetadata(v *PullRequestSourceReferenceUpdatedEventMetadata) *PullRequestEvent

SetPullRequestSourceReferenceUpdatedEventMetadata sets the PullRequestSourceReferenceUpdatedEventMetadata field's value.

func (*PullRequestEvent) SetPullRequestStatusChangedEventMetadata

func (s *PullRequestEvent) SetPullRequestStatusChangedEventMetadata(v *PullRequestStatusChangedEventMetadata) *PullRequestEvent

SetPullRequestStatusChangedEventMetadata sets the PullRequestStatusChangedEventMetadata field's value.

func (PullRequestEvent) String

func (s PullRequestEvent) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PullRequestIdRequiredException

type PullRequestIdRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*PullRequestIdRequiredException) Code

Code returns the exception type name.

func (*PullRequestIdRequiredException) Error

func (PullRequestIdRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestIdRequiredException) Message

Message returns the exception's message.

func (*PullRequestIdRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PullRequestIdRequiredException) RequestID

func (s *PullRequestIdRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*PullRequestIdRequiredException) StatusCode

func (s *PullRequestIdRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PullRequestIdRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PullRequestMergedStateChangedEventMetadata

type PullRequestMergedStateChangedEventMetadata struct {

	// The name of the branch that the pull request is merged into.
	DestinationReference *string `locationName:"destinationReference" type:"string"`

	// Information about the merge state change event.
	MergeMetadata *MergeMetadata `locationName:"mergeMetadata" type:"structure"`

	// The name of the repository where the pull request was created.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (PullRequestMergedStateChangedEventMetadata) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestMergedStateChangedEventMetadata) SetDestinationReference

SetDestinationReference sets the DestinationReference field's value.

func (*PullRequestMergedStateChangedEventMetadata) SetMergeMetadata

SetMergeMetadata sets the MergeMetadata field's value.

func (*PullRequestMergedStateChangedEventMetadata) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (PullRequestMergedStateChangedEventMetadata) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `locationName:"afterCommitId" type:"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 `locationName:"beforeCommitId" type:"string"`

	// The commit ID of the most recent commit that the source branch and the destination
	// branch have in common.
	MergeBase *string `locationName:"mergeBase" type:"string"`

	// The name of the repository where the pull request was updated.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (PullRequestSourceReferenceUpdatedEventMetadata) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestSourceReferenceUpdatedEventMetadata) SetAfterCommitId

SetAfterCommitId sets the AfterCommitId field's value.

func (*PullRequestSourceReferenceUpdatedEventMetadata) SetBeforeCommitId

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*PullRequestSourceReferenceUpdatedEventMetadata) SetMergeBase

SetMergeBase sets the MergeBase field's value.

func (*PullRequestSourceReferenceUpdatedEventMetadata) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (PullRequestSourceReferenceUpdatedEventMetadata) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PullRequestStatusChangedEventMetadata

type PullRequestStatusChangedEventMetadata struct {

	// The changed status of the pull request.
	PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" enum:"PullRequestStatusEnum"`
	// contains filtered or unexported fields
}

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

func (PullRequestStatusChangedEventMetadata) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestStatusChangedEventMetadata) SetPullRequestStatus

SetPullRequestStatus sets the PullRequestStatus field's value.

func (PullRequestStatusChangedEventMetadata) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PullRequestStatusRequiredException

type PullRequestStatusRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*PullRequestStatusRequiredException) Code

Code returns the exception type name.

func (*PullRequestStatusRequiredException) Error

func (PullRequestStatusRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestStatusRequiredException) Message

Message returns the exception's message.

func (*PullRequestStatusRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PullRequestStatusRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*PullRequestStatusRequiredException) StatusCode

func (s *PullRequestStatusRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PullRequestStatusRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `locationName:"destinationCommit" type:"string"`

	// The branch of the repository where the pull request changes are merged. Also
	// known as the destination branch.
	DestinationReference *string `locationName:"destinationReference" type:"string"`

	// The commit ID of the most recent commit that the source branch and the destination
	// branch have in common.
	MergeBase *string `locationName:"mergeBase" type:"string"`

	// Returns metadata about the state of the merge, including whether the merge
	// has been made.
	MergeMetadata *MergeMetadata `locationName:"mergeMetadata" type:"structure"`

	// The name of the repository that contains the pull request source and destination
	// branches.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"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 `locationName:"sourceCommit" type:"string"`

	// The branch of the repository that contains the changes for the pull request.
	// Also known as the source branch.
	SourceReference *string `locationName:"sourceReference" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a pull request target.

func (PullRequestTarget) GoString

func (s PullRequestTarget) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PullRequestTarget) SetDestinationCommit

func (s *PullRequestTarget) SetDestinationCommit(v string) *PullRequestTarget

SetDestinationCommit sets the DestinationCommit field's value.

func (*PullRequestTarget) SetDestinationReference

func (s *PullRequestTarget) SetDestinationReference(v string) *PullRequestTarget

SetDestinationReference sets the DestinationReference field's value.

func (*PullRequestTarget) SetMergeBase

func (s *PullRequestTarget) SetMergeBase(v string) *PullRequestTarget

SetMergeBase sets the MergeBase field's value.

func (*PullRequestTarget) SetMergeMetadata

func (s *PullRequestTarget) SetMergeMetadata(v *MergeMetadata) *PullRequestTarget

SetMergeMetadata sets the MergeMetadata field's value.

func (*PullRequestTarget) SetRepositoryName

func (s *PullRequestTarget) SetRepositoryName(v string) *PullRequestTarget

SetRepositoryName sets the RepositoryName field's value.

func (*PullRequestTarget) SetSourceCommit

func (s *PullRequestTarget) SetSourceCommit(v string) *PullRequestTarget

SetSourceCommit sets the SourceCommit field's value.

func (*PullRequestTarget) SetSourceReference

func (s *PullRequestTarget) SetSourceReference(v string) *PullRequestTarget

SetSourceReference sets the SourceReference field's value.

func (PullRequestTarget) String

func (s PullRequestTarget) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutCommentReactionInput

type PutCommentReactionInput struct {

	// The ID of the comment to which you want to add or update a reaction.
	//
	// CommentId is a required field
	CommentId *string `locationName:"commentId" type:"string" required:"true"`

	// The emoji reaction you want to add or update. To remove a reaction, provide
	// a value of blank or null. You can also provide the value of none. For information
	// about emoji reaction values supported in CodeCommit, see the CodeCommit User
	// Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table).
	//
	// ReactionValue is a required field
	ReactionValue *string `locationName:"reactionValue" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutCommentReactionInput) GoString

func (s PutCommentReactionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutCommentReactionInput) SetCommentId

SetCommentId sets the CommentId field's value.

func (*PutCommentReactionInput) SetReactionValue

func (s *PutCommentReactionInput) SetReactionValue(v string) *PutCommentReactionInput

SetReactionValue sets the ReactionValue field's value.

func (PutCommentReactionInput) String

func (s PutCommentReactionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutCommentReactionInput) Validate

func (s *PutCommentReactionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutCommentReactionOutput

type PutCommentReactionOutput struct {
	// contains filtered or unexported fields
}

func (PutCommentReactionOutput) GoString

func (s PutCommentReactionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutCommentReactionOutput) String

func (s PutCommentReactionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutFileEntry

type PutFileEntry struct {

	// The content of the file, if a source file is not specified.
	// FileContent is automatically base64 encoded/decoded by the SDK.
	FileContent []byte `locationName:"fileContent" type:"blob"`

	// The extrapolated file mode permissions for the file. Valid values include
	// EXECUTABLE and NORMAL.
	FileMode *string `locationName:"fileMode" type:"string" enum:"FileModeTypeEnum"`

	// The full path to the file in the repository, including the name of the file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// 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 `locationName:"sourceFile" type:"structure"`
	// contains filtered or unexported fields
}

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

func (PutFileEntry) GoString

func (s PutFileEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutFileEntry) SetFileContent

func (s *PutFileEntry) SetFileContent(v []byte) *PutFileEntry

SetFileContent sets the FileContent field's value.

func (*PutFileEntry) SetFileMode

func (s *PutFileEntry) SetFileMode(v string) *PutFileEntry

SetFileMode sets the FileMode field's value.

func (*PutFileEntry) SetFilePath

func (s *PutFileEntry) SetFilePath(v string) *PutFileEntry

SetFilePath sets the FilePath field's value.

func (*PutFileEntry) SetSourceFile

func (s *PutFileEntry) SetSourceFile(v *SourceFileSpecifier) *PutFileEntry

SetSourceFile sets the SourceFile field's value.

func (PutFileEntry) String

func (s PutFileEntry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutFileEntry) Validate

func (s *PutFileEntry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutFileEntryConflictException

type PutFileEntryConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*PutFileEntryConflictException) Code

Code returns the exception type name.

func (*PutFileEntryConflictException) Error

func (PutFileEntryConflictException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutFileEntryConflictException) Message

Message returns the exception's message.

func (*PutFileEntryConflictException) OrigErr

func (s *PutFileEntryConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PutFileEntryConflictException) RequestID

func (s *PutFileEntryConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*PutFileEntryConflictException) StatusCode

func (s *PutFileEntryConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PutFileEntryConflictException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutFileInput

type PutFileInput struct {

	// The name of the branch where you want to add or update the file. If this
	// is an empty repository, this branch is created.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// A message about why this file was added or updated. Although it is optional,
	// a message makes the commit history for your repository more useful.
	CommitMessage *string `locationName:"commitMessage" type:"string"`

	// An email address for the person adding or updating the file.
	Email *string `locationName:"email" type:"string"`

	// The content of the file, in binary object format.
	// FileContent is automatically base64 encoded/decoded by the SDK.
	//
	// FileContent is a required field
	FileContent []byte `locationName:"fileContent" type:"blob" required:"true"`

	// The file mode permissions of the blob. Valid file mode permissions are listed
	// here.
	FileMode *string `locationName:"fileMode" type:"string" enum:"FileModeTypeEnum"`

	// The name of the file you want to add or update, including the relative path
	// to the file in the repository.
	//
	// If the path does not currently exist in the repository, the path is created
	// as part of adding the file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// The name of the person adding or updating the file. Although it is optional,
	// a name makes the commit history for your repository more useful.
	Name *string `locationName:"name" type:"string"`

	// The full commit ID of the head commit in the branch where you want to add
	// or update the file. If this is an empty repository, no commit ID is required.
	// If this is not an empty repository, a commit ID is required.
	//
	// The commit ID must match the ID of the head commit at the time of the operation.
	// Otherwise, an error occurs, and the file is not added or updated.
	ParentCommitId *string `locationName:"parentCommitId" type:"string"`

	// The name of the repository where you want to add or update the file.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutFileInput) GoString

func (s PutFileInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutFileInput) SetBranchName

func (s *PutFileInput) SetBranchName(v string) *PutFileInput

SetBranchName sets the BranchName field's value.

func (*PutFileInput) SetCommitMessage

func (s *PutFileInput) SetCommitMessage(v string) *PutFileInput

SetCommitMessage sets the CommitMessage field's value.

func (*PutFileInput) SetEmail

func (s *PutFileInput) SetEmail(v string) *PutFileInput

SetEmail sets the Email field's value.

func (*PutFileInput) SetFileContent

func (s *PutFileInput) SetFileContent(v []byte) *PutFileInput

SetFileContent sets the FileContent field's value.

func (*PutFileInput) SetFileMode

func (s *PutFileInput) SetFileMode(v string) *PutFileInput

SetFileMode sets the FileMode field's value.

func (*PutFileInput) SetFilePath

func (s *PutFileInput) SetFilePath(v string) *PutFileInput

SetFilePath sets the FilePath field's value.

func (*PutFileInput) SetName

func (s *PutFileInput) SetName(v string) *PutFileInput

SetName sets the Name field's value.

func (*PutFileInput) SetParentCommitId

func (s *PutFileInput) SetParentCommitId(v string) *PutFileInput

SetParentCommitId sets the ParentCommitId field's value.

func (*PutFileInput) SetRepositoryName

func (s *PutFileInput) SetRepositoryName(v string) *PutFileInput

SetRepositoryName sets the RepositoryName field's value.

func (PutFileInput) String

func (s PutFileInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutFileInput) Validate

func (s *PutFileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutFileOutput

type PutFileOutput struct {

	// The ID of the blob, which is its SHA-1 pointer.
	//
	// BlobId is a required field
	BlobId *string `locationName:"blobId" type:"string" required:"true"`

	// The full SHA ID of the commit that contains this file change.
	//
	// CommitId is a required field
	CommitId *string `locationName:"commitId" type:"string" required:"true"`

	// The full SHA-1 pointer of the tree information for the commit that contains
	// this file change.
	//
	// TreeId is a required field
	TreeId *string `locationName:"treeId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutFileOutput) GoString

func (s PutFileOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutFileOutput) SetBlobId

func (s *PutFileOutput) SetBlobId(v string) *PutFileOutput

SetBlobId sets the BlobId field's value.

func (*PutFileOutput) SetCommitId

func (s *PutFileOutput) SetCommitId(v string) *PutFileOutput

SetCommitId sets the CommitId field's value.

func (*PutFileOutput) SetTreeId

func (s *PutFileOutput) SetTreeId(v string) *PutFileOutput

SetTreeId sets the TreeId field's value.

func (PutFileOutput) String

func (s PutFileOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutRepositoryTriggersInput

type PutRepositoryTriggersInput struct {

	// The name of the repository where you want to create or update the trigger.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The JSON block of configuration information for each trigger.
	//
	// Triggers is a required field
	Triggers []*RepositoryTrigger `locationName:"triggers" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a put repository triggers operation.

func (PutRepositoryTriggersInput) GoString

func (s PutRepositoryTriggersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRepositoryTriggersInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*PutRepositoryTriggersInput) SetTriggers

SetTriggers sets the Triggers field's value.

func (PutRepositoryTriggersInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRepositoryTriggersInput) Validate

func (s *PutRepositoryTriggersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutRepositoryTriggersOutput

type PutRepositoryTriggersOutput struct {

	// The system-generated unique ID for the create or update operation.
	ConfigurationId *string `locationName:"configurationId" type:"string"`
	// contains filtered or unexported fields
}

Represents the output of a put repository triggers operation.

func (PutRepositoryTriggersOutput) GoString

func (s PutRepositoryTriggersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRepositoryTriggersOutput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (PutRepositoryTriggersOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReactionForComment

type ReactionForComment struct {

	// The reaction for a specified comment.
	Reaction *ReactionValueFormats `locationName:"reaction" type:"structure"`

	// The Amazon Resource Names (ARNs) of users who have provided reactions to
	// the comment.
	ReactionUsers []*string `locationName:"reactionUsers" type:"list"`

	// 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 *int64 `locationName:"reactionsFromDeletedUsersCount" type:"integer"`
	// contains filtered or unexported fields
}

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

func (ReactionForComment) GoString

func (s ReactionForComment) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReactionForComment) SetReaction

SetReaction sets the Reaction field's value.

func (*ReactionForComment) SetReactionUsers

func (s *ReactionForComment) SetReactionUsers(v []*string) *ReactionForComment

SetReactionUsers sets the ReactionUsers field's value.

func (*ReactionForComment) SetReactionsFromDeletedUsersCount

func (s *ReactionForComment) SetReactionsFromDeletedUsersCount(v int64) *ReactionForComment

SetReactionsFromDeletedUsersCount sets the ReactionsFromDeletedUsersCount field's value.

func (ReactionForComment) String

func (s ReactionForComment) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReactionLimitExceededException

type ReactionLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ReactionLimitExceededException) Code

Code returns the exception type name.

func (*ReactionLimitExceededException) Error

func (ReactionLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReactionLimitExceededException) Message

Message returns the exception's message.

func (*ReactionLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReactionLimitExceededException) RequestID

func (s *ReactionLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ReactionLimitExceededException) StatusCode

func (s *ReactionLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReactionLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `locationName:"emoji" type:"string"`

	// The emoji short code for the reaction. Short codes are interpreted slightly
	// differently on different operating systems.
	ShortCode *string `locationName:"shortCode" type:"string"`

	// The Unicode codepoint for the reaction.
	Unicode *string `locationName:"unicode" type:"string"`
	// contains filtered or unexported fields
}

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

func (ReactionValueFormats) GoString

func (s ReactionValueFormats) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReactionValueFormats) SetEmoji

SetEmoji sets the Emoji field's value.

func (*ReactionValueFormats) SetShortCode

func (s *ReactionValueFormats) SetShortCode(v string) *ReactionValueFormats

SetShortCode sets the ShortCode field's value.

func (*ReactionValueFormats) SetUnicode

SetUnicode sets the Unicode field's value.

func (ReactionValueFormats) String

func (s ReactionValueFormats) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReactionValueRequiredException

type ReactionValueRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A reaction value is required.

func (*ReactionValueRequiredException) Code

Code returns the exception type name.

func (*ReactionValueRequiredException) Error

func (ReactionValueRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReactionValueRequiredException) Message

Message returns the exception's message.

func (*ReactionValueRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReactionValueRequiredException) RequestID

func (s *ReactionValueRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ReactionValueRequiredException) StatusCode

func (s *ReactionValueRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReactionValueRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReferenceDoesNotExistException

type ReferenceDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ReferenceDoesNotExistException) Code

Code returns the exception type name.

func (*ReferenceDoesNotExistException) Error

func (ReferenceDoesNotExistException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReferenceDoesNotExistException) Message

Message returns the exception's message.

func (*ReferenceDoesNotExistException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReferenceDoesNotExistException) RequestID

func (s *ReferenceDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ReferenceDoesNotExistException) StatusCode

func (s *ReferenceDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReferenceDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReferenceNameRequiredException

type ReferenceNameRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A reference name is required, but none was provided.

func (*ReferenceNameRequiredException) Code

Code returns the exception type name.

func (*ReferenceNameRequiredException) Error

func (ReferenceNameRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReferenceNameRequiredException) Message

Message returns the exception's message.

func (*ReferenceNameRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReferenceNameRequiredException) RequestID

func (s *ReferenceNameRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ReferenceNameRequiredException) StatusCode

func (s *ReferenceNameRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReferenceNameRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReferenceTypeNotSupportedException

type ReferenceTypeNotSupportedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified reference is not a supported type.

func (*ReferenceTypeNotSupportedException) Code

Code returns the exception type name.

func (*ReferenceTypeNotSupportedException) Error

func (ReferenceTypeNotSupportedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReferenceTypeNotSupportedException) Message

Message returns the exception's message.

func (*ReferenceTypeNotSupportedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReferenceTypeNotSupportedException) RequestID

RequestID returns the service's response RequestID for request.

func (*ReferenceTypeNotSupportedException) StatusCode

func (s *ReferenceTypeNotSupportedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReferenceTypeNotSupportedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReplaceContentEntry

type ReplaceContentEntry struct {

	// The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
	// Content is automatically base64 encoded/decoded by the SDK.
	Content []byte `locationName:"content" type:"blob"`

	// The file mode to apply during conflict resoltion.
	FileMode *string `locationName:"fileMode" type:"string" enum:"FileModeTypeEnum"`

	// The path of the conflicting file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// The replacement type to use when determining how to resolve the conflict.
	//
	// ReplacementType is a required field
	ReplacementType *string `locationName:"replacementType" type:"string" required:"true" enum:"ReplacementTypeEnum"`
	// contains filtered or unexported fields
}

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

func (ReplaceContentEntry) GoString

func (s ReplaceContentEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplaceContentEntry) SetContent

func (s *ReplaceContentEntry) SetContent(v []byte) *ReplaceContentEntry

SetContent sets the Content field's value.

func (*ReplaceContentEntry) SetFileMode

func (s *ReplaceContentEntry) SetFileMode(v string) *ReplaceContentEntry

SetFileMode sets the FileMode field's value.

func (*ReplaceContentEntry) SetFilePath

func (s *ReplaceContentEntry) SetFilePath(v string) *ReplaceContentEntry

SetFilePath sets the FilePath field's value.

func (*ReplaceContentEntry) SetReplacementType

func (s *ReplaceContentEntry) SetReplacementType(v string) *ReplaceContentEntry

SetReplacementType sets the ReplacementType field's value.

func (ReplaceContentEntry) String

func (s ReplaceContentEntry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplaceContentEntry) Validate

func (s *ReplaceContentEntry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplacementContentRequiredException

type ReplacementContentRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ReplacementContentRequiredException) Code

Code returns the exception type name.

func (*ReplacementContentRequiredException) Error

func (ReplacementContentRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplacementContentRequiredException) Message

Message returns the exception's message.

func (*ReplacementContentRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReplacementContentRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*ReplacementContentRequiredException) StatusCode

func (s *ReplacementContentRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReplacementContentRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReplacementTypeRequiredException

type ReplacementTypeRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A replacement type is required.

func (*ReplacementTypeRequiredException) Code

Code returns the exception type name.

func (*ReplacementTypeRequiredException) Error

func (ReplacementTypeRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplacementTypeRequiredException) Message

Message returns the exception's message.

func (*ReplacementTypeRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReplacementTypeRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*ReplacementTypeRequiredException) StatusCode

func (s *ReplacementTypeRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReplacementTypeRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryDoesNotExistException

type RepositoryDoesNotExistException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified repository does not exist.

func (*RepositoryDoesNotExistException) Code

Code returns the exception type name.

func (*RepositoryDoesNotExistException) Error

func (RepositoryDoesNotExistException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryDoesNotExistException) Message

Message returns the exception's message.

func (*RepositoryDoesNotExistException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryDoesNotExistException) RequestID

func (s *RepositoryDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RepositoryDoesNotExistException) StatusCode

func (s *RepositoryDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RepositoryDoesNotExistException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryLimitExceededException

type RepositoryLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A repository resource limit was exceeded.

func (*RepositoryLimitExceededException) Code

Code returns the exception type name.

func (*RepositoryLimitExceededException) Error

func (RepositoryLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryLimitExceededException) Message

Message returns the exception's message.

func (*RepositoryLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryLimitExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryLimitExceededException) StatusCode

func (s *RepositoryLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RepositoryLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryMetadata

type RepositoryMetadata struct {

	// The ID of the Amazon Web Services account associated with the repository.
	AccountId *string `locationName:"accountId" type:"string"`

	// The Amazon Resource Name (ARN) of the repository.
	Arn *string `type:"string"`

	// The URL to use for cloning the repository over HTTPS.
	CloneUrlHttp *string `locationName:"cloneUrlHttp" type:"string"`

	// The URL to use for cloning the repository over SSH.
	CloneUrlSsh *string `locationName:"cloneUrlSsh" type:"string"`

	// The date and time the repository was created, in timestamp format.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The repository's default branch name.
	DefaultBranch *string `locationName:"defaultBranch" min:"1" type:"string"`

	// The date and time the repository was last modified, in timestamp format.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// A comment or description about the repository.
	RepositoryDescription *string `locationName:"repositoryDescription" type:"string"`

	// The ID of the repository.
	RepositoryId *string `locationName:"repositoryId" type:"string"`

	// The repository's name.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about a repository.

func (RepositoryMetadata) GoString

func (s RepositoryMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryMetadata) SetAccountId

func (s *RepositoryMetadata) SetAccountId(v string) *RepositoryMetadata

SetAccountId sets the AccountId field's value.

func (*RepositoryMetadata) SetArn

SetArn sets the Arn field's value.

func (*RepositoryMetadata) SetCloneUrlHttp

func (s *RepositoryMetadata) SetCloneUrlHttp(v string) *RepositoryMetadata

SetCloneUrlHttp sets the CloneUrlHttp field's value.

func (*RepositoryMetadata) SetCloneUrlSsh

func (s *RepositoryMetadata) SetCloneUrlSsh(v string) *RepositoryMetadata

SetCloneUrlSsh sets the CloneUrlSsh field's value.

func (*RepositoryMetadata) SetCreationDate

func (s *RepositoryMetadata) SetCreationDate(v time.Time) *RepositoryMetadata

SetCreationDate sets the CreationDate field's value.

func (*RepositoryMetadata) SetDefaultBranch

func (s *RepositoryMetadata) SetDefaultBranch(v string) *RepositoryMetadata

SetDefaultBranch sets the DefaultBranch field's value.

func (*RepositoryMetadata) SetLastModifiedDate

func (s *RepositoryMetadata) SetLastModifiedDate(v time.Time) *RepositoryMetadata

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*RepositoryMetadata) SetRepositoryDescription

func (s *RepositoryMetadata) SetRepositoryDescription(v string) *RepositoryMetadata

SetRepositoryDescription sets the RepositoryDescription field's value.

func (*RepositoryMetadata) SetRepositoryId

func (s *RepositoryMetadata) SetRepositoryId(v string) *RepositoryMetadata

SetRepositoryId sets the RepositoryId field's value.

func (*RepositoryMetadata) SetRepositoryName

func (s *RepositoryMetadata) SetRepositoryName(v string) *RepositoryMetadata

SetRepositoryName sets the RepositoryName field's value.

func (RepositoryMetadata) String

func (s RepositoryMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryNameExistsException

type RepositoryNameExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified repository name already exists.

func (*RepositoryNameExistsException) Code

Code returns the exception type name.

func (*RepositoryNameExistsException) Error

func (RepositoryNameExistsException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryNameExistsException) Message

Message returns the exception's message.

func (*RepositoryNameExistsException) OrigErr

func (s *RepositoryNameExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryNameExistsException) RequestID

func (s *RepositoryNameExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RepositoryNameExistsException) StatusCode

func (s *RepositoryNameExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RepositoryNameExistsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryNameIdPair

type RepositoryNameIdPair struct {

	// The ID associated with the repository.
	RepositoryId *string `locationName:"repositoryId" type:"string"`

	// The name associated with the repository.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about a repository name and ID.

func (RepositoryNameIdPair) GoString

func (s RepositoryNameIdPair) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryNameIdPair) SetRepositoryId

func (s *RepositoryNameIdPair) SetRepositoryId(v string) *RepositoryNameIdPair

SetRepositoryId sets the RepositoryId field's value.

func (*RepositoryNameIdPair) SetRepositoryName

func (s *RepositoryNameIdPair) SetRepositoryName(v string) *RepositoryNameIdPair

SetRepositoryName sets the RepositoryName field's value.

func (RepositoryNameIdPair) String

func (s RepositoryNameIdPair) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryNameRequiredException

type RepositoryNameRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A repository name is required, but was not specified.

func (*RepositoryNameRequiredException) Code

Code returns the exception type name.

func (*RepositoryNameRequiredException) Error

func (RepositoryNameRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryNameRequiredException) Message

Message returns the exception's message.

func (*RepositoryNameRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryNameRequiredException) RequestID

func (s *RepositoryNameRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RepositoryNameRequiredException) StatusCode

func (s *RepositoryNameRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RepositoryNameRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryNamesRequiredException

type RepositoryNamesRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*RepositoryNamesRequiredException) Code

Code returns the exception type name.

func (*RepositoryNamesRequiredException) Error

func (RepositoryNamesRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryNamesRequiredException) Message

Message returns the exception's message.

func (*RepositoryNamesRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryNamesRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryNamesRequiredException) StatusCode

func (s *RepositoryNamesRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RepositoryNamesRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryNotAssociatedWithPullRequestException

type RepositoryNotAssociatedWithPullRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*RepositoryNotAssociatedWithPullRequestException) Error

func (RepositoryNotAssociatedWithPullRequestException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryNotAssociatedWithPullRequestException) Message

Message returns the exception's message.

func (*RepositoryNotAssociatedWithPullRequestException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryNotAssociatedWithPullRequestException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryNotAssociatedWithPullRequestException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (RepositoryNotAssociatedWithPullRequestException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryTrigger

type RepositoryTrigger struct {

	// 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 `locationName:"branches" type:"list"`

	// Any custom data associated with the trigger to be included in the information
	// sent to the target of the trigger.
	CustomData *string `locationName:"customData" type:"string"`

	// The ARN of the resource that is the target for a trigger (for example, the
	// ARN of a topic in Amazon SNS).
	//
	// DestinationArn is a required field
	DestinationArn *string `locationName:"destinationArn" type:"string" required:"true"`

	// 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.
	//
	// Events is a required field
	Events []*string `locationName:"events" type:"list" required:"true" enum:"RepositoryTriggerEventEnum"`

	// The name of the trigger.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about a trigger for a repository.

If you want to receive notifications about repository events, consider using notifications instead of triggers. For more information, see Configuring notifications for repository events (https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-repository-email.html).

func (RepositoryTrigger) GoString

func (s RepositoryTrigger) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryTrigger) SetBranches

func (s *RepositoryTrigger) SetBranches(v []*string) *RepositoryTrigger

SetBranches sets the Branches field's value.

func (*RepositoryTrigger) SetCustomData

func (s *RepositoryTrigger) SetCustomData(v string) *RepositoryTrigger

SetCustomData sets the CustomData field's value.

func (*RepositoryTrigger) SetDestinationArn

func (s *RepositoryTrigger) SetDestinationArn(v string) *RepositoryTrigger

SetDestinationArn sets the DestinationArn field's value.

func (*RepositoryTrigger) SetEvents

func (s *RepositoryTrigger) SetEvents(v []*string) *RepositoryTrigger

SetEvents sets the Events field's value.

func (*RepositoryTrigger) SetName

SetName sets the Name field's value.

func (RepositoryTrigger) String

func (s RepositoryTrigger) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryTrigger) Validate

func (s *RepositoryTrigger) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RepositoryTriggerBranchNameListRequiredException

type RepositoryTriggerBranchNameListRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*RepositoryTriggerBranchNameListRequiredException) Code

Code returns the exception type name.

func (*RepositoryTriggerBranchNameListRequiredException) Error

func (RepositoryTriggerBranchNameListRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryTriggerBranchNameListRequiredException) Message

Message returns the exception's message.

func (*RepositoryTriggerBranchNameListRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryTriggerBranchNameListRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryTriggerBranchNameListRequiredException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (RepositoryTriggerBranchNameListRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryTriggerDestinationArnRequiredException

type RepositoryTriggerDestinationArnRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*RepositoryTriggerDestinationArnRequiredException) Code

Code returns the exception type name.

func (*RepositoryTriggerDestinationArnRequiredException) Error

func (RepositoryTriggerDestinationArnRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryTriggerDestinationArnRequiredException) Message

Message returns the exception's message.

func (*RepositoryTriggerDestinationArnRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryTriggerDestinationArnRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryTriggerDestinationArnRequiredException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (RepositoryTriggerDestinationArnRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryTriggerEventsListRequiredException

type RepositoryTriggerEventsListRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*RepositoryTriggerEventsListRequiredException) Code

Code returns the exception type name.

func (*RepositoryTriggerEventsListRequiredException) Error

func (RepositoryTriggerEventsListRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryTriggerEventsListRequiredException) Message

Message returns the exception's message.

func (*RepositoryTriggerEventsListRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryTriggerEventsListRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryTriggerEventsListRequiredException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (RepositoryTriggerEventsListRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryTriggerExecutionFailure

type RepositoryTriggerExecutionFailure struct {

	// Message information about the trigger that did not run.
	FailureMessage *string `locationName:"failureMessage" type:"string"`

	// The name of the trigger that did not run.
	Trigger *string `locationName:"trigger" type:"string"`
	// contains filtered or unexported fields
}

A trigger failed to run.

func (RepositoryTriggerExecutionFailure) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryTriggerExecutionFailure) SetFailureMessage

SetFailureMessage sets the FailureMessage field's value.

func (*RepositoryTriggerExecutionFailure) SetTrigger

SetTrigger sets the Trigger field's value.

func (RepositoryTriggerExecutionFailure) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryTriggerNameRequiredException

type RepositoryTriggerNameRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*RepositoryTriggerNameRequiredException) Code

Code returns the exception type name.

func (*RepositoryTriggerNameRequiredException) Error

func (RepositoryTriggerNameRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryTriggerNameRequiredException) Message

Message returns the exception's message.

func (*RepositoryTriggerNameRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryTriggerNameRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryTriggerNameRequiredException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (RepositoryTriggerNameRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryTriggersListRequiredException

type RepositoryTriggersListRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*RepositoryTriggersListRequiredException) Code

Code returns the exception type name.

func (*RepositoryTriggersListRequiredException) Error

func (RepositoryTriggersListRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryTriggersListRequiredException) Message

Message returns the exception's message.

func (*RepositoryTriggersListRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryTriggersListRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryTriggersListRequiredException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (RepositoryTriggersListRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceArnRequiredException

type ResourceArnRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in 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 CodeCommit User Guide.

func (*ResourceArnRequiredException) Code

Code returns the exception type name.

func (*ResourceArnRequiredException) Error

func (ResourceArnRequiredException) GoString

func (s ResourceArnRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceArnRequiredException) Message

func (s *ResourceArnRequiredException) Message() string

Message returns the exception's message.

func (*ResourceArnRequiredException) OrigErr

func (s *ResourceArnRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceArnRequiredException) RequestID

func (s *ResourceArnRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceArnRequiredException) StatusCode

func (s *ResourceArnRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceArnRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RestrictedSourceFileException

type RestrictedSourceFileException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*RestrictedSourceFileException) Code

Code returns the exception type name.

func (*RestrictedSourceFileException) Error

func (RestrictedSourceFileException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RestrictedSourceFileException) Message

Message returns the exception's message.

func (*RestrictedSourceFileException) OrigErr

func (s *RestrictedSourceFileException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RestrictedSourceFileException) RequestID

func (s *RestrictedSourceFileException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RestrictedSourceFileException) StatusCode

func (s *RestrictedSourceFileException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RestrictedSourceFileException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RevisionIdRequiredException

type RevisionIdRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A revision ID is required, but was not provided.

func (*RevisionIdRequiredException) Code

Code returns the exception type name.

func (*RevisionIdRequiredException) Error

func (RevisionIdRequiredException) GoString

func (s RevisionIdRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RevisionIdRequiredException) Message

func (s *RevisionIdRequiredException) Message() string

Message returns the exception's message.

func (*RevisionIdRequiredException) OrigErr

func (s *RevisionIdRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RevisionIdRequiredException) RequestID

func (s *RevisionIdRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RevisionIdRequiredException) StatusCode

func (s *RevisionIdRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RevisionIdRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RevisionNotCurrentException

type RevisionNotCurrentException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*RevisionNotCurrentException) Code

Code returns the exception type name.

func (*RevisionNotCurrentException) Error

func (RevisionNotCurrentException) GoString

func (s RevisionNotCurrentException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RevisionNotCurrentException) Message

func (s *RevisionNotCurrentException) Message() string

Message returns the exception's message.

func (*RevisionNotCurrentException) OrigErr

func (s *RevisionNotCurrentException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RevisionNotCurrentException) RequestID

func (s *RevisionNotCurrentException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RevisionNotCurrentException) StatusCode

func (s *RevisionNotCurrentException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RevisionNotCurrentException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SameFileContentException

type SameFileContentException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

func (s *SameFileContentException) Code() string

Code returns the exception type name.

func (*SameFileContentException) Error

func (s *SameFileContentException) Error() string

func (SameFileContentException) GoString

func (s SameFileContentException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SameFileContentException) Message

func (s *SameFileContentException) Message() string

Message returns the exception's message.

func (*SameFileContentException) OrigErr

func (s *SameFileContentException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*SameFileContentException) RequestID

func (s *SameFileContentException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*SameFileContentException) StatusCode

func (s *SameFileContentException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (SameFileContentException) String

func (s SameFileContentException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SamePathRequestException

type SamePathRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

func (s *SamePathRequestException) Code() string

Code returns the exception type name.

func (*SamePathRequestException) Error

func (s *SamePathRequestException) Error() string

func (SamePathRequestException) GoString

func (s SamePathRequestException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SamePathRequestException) Message

func (s *SamePathRequestException) Message() string

Message returns the exception's message.

func (*SamePathRequestException) OrigErr

func (s *SamePathRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*SamePathRequestException) RequestID

func (s *SamePathRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*SamePathRequestException) StatusCode

func (s *SamePathRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (SamePathRequestException) String

func (s SamePathRequestException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetFileModeEntry

type SetFileModeEntry struct {

	// The file mode for the file.
	//
	// FileMode is a required field
	FileMode *string `locationName:"fileMode" type:"string" required:"true" enum:"FileModeTypeEnum"`

	// The full path to the file, including the name of the file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about the file mode changes.

func (SetFileModeEntry) GoString

func (s SetFileModeEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetFileModeEntry) SetFileMode

func (s *SetFileModeEntry) SetFileMode(v string) *SetFileModeEntry

SetFileMode sets the FileMode field's value.

func (*SetFileModeEntry) SetFilePath

func (s *SetFileModeEntry) SetFilePath(v string) *SetFileModeEntry

SetFilePath sets the FilePath field's value.

func (SetFileModeEntry) String

func (s SetFileModeEntry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetFileModeEntry) Validate

func (s *SetFileModeEntry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SourceAndDestinationAreSameException

type SourceAndDestinationAreSameException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*SourceAndDestinationAreSameException) Error

func (SourceAndDestinationAreSameException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceAndDestinationAreSameException) Message

Message returns the exception's message.

func (*SourceAndDestinationAreSameException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*SourceAndDestinationAreSameException) RequestID

RequestID returns the service's response RequestID for request.

func (*SourceAndDestinationAreSameException) StatusCode

func (s *SourceAndDestinationAreSameException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (SourceAndDestinationAreSameException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SourceFileOrContentRequiredException

type SourceFileOrContentRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*SourceFileOrContentRequiredException) Code

Code returns the exception type name.

func (*SourceFileOrContentRequiredException) Error

func (SourceFileOrContentRequiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceFileOrContentRequiredException) Message

Message returns the exception's message.

func (*SourceFileOrContentRequiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*SourceFileOrContentRequiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*SourceFileOrContentRequiredException) StatusCode

func (s *SourceFileOrContentRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (SourceFileOrContentRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SourceFileSpecifier

type SourceFileSpecifier struct {

	// The full path to the file, including the name of the file.
	//
	// FilePath is a required field
	FilePath *string `locationName:"filePath" type:"string" required:"true"`

	// Whether to remove the source file from the parent commit.
	IsMove *bool `locationName:"isMove" type:"boolean"`
	// contains filtered or unexported fields
}

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

func (SourceFileSpecifier) GoString

func (s SourceFileSpecifier) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceFileSpecifier) SetFilePath

func (s *SourceFileSpecifier) SetFilePath(v string) *SourceFileSpecifier

SetFilePath sets the FilePath field's value.

func (*SourceFileSpecifier) SetIsMove

func (s *SourceFileSpecifier) SetIsMove(v bool) *SourceFileSpecifier

SetIsMove sets the IsMove field's value.

func (SourceFileSpecifier) String

func (s SourceFileSpecifier) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceFileSpecifier) Validate

func (s *SourceFileSpecifier) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SubModule

type SubModule struct {

	// The fully qualified path to the folder that contains the reference to the
	// submodule.
	AbsolutePath *string `locationName:"absolutePath" type:"string"`

	// The commit ID that contains the reference to the submodule.
	CommitId *string `locationName:"commitId" type:"string"`

	// The relative path of the submodule from the folder where the query originated.
	RelativePath *string `locationName:"relativePath" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a submodule reference in a repository folder.

func (SubModule) GoString

func (s SubModule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SubModule) SetAbsolutePath

func (s *SubModule) SetAbsolutePath(v string) *SubModule

SetAbsolutePath sets the AbsolutePath field's value.

func (*SubModule) SetCommitId

func (s *SubModule) SetCommitId(v string) *SubModule

SetCommitId sets the CommitId field's value.

func (*SubModule) SetRelativePath

func (s *SubModule) SetRelativePath(v string) *SubModule

SetRelativePath sets the RelativePath field's value.

func (SubModule) String

func (s SubModule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SymbolicLink struct {

	// The fully qualified path to the folder that contains the symbolic link.
	AbsolutePath *string `locationName:"absolutePath" type:"string"`

	// The blob ID that contains the information about the symbolic link.
	BlobId *string `locationName:"blobId" type:"string"`

	// The file mode permissions of the blob that cotains information about the
	// symbolic link.
	FileMode *string `locationName:"fileMode" type:"string" enum:"FileModeTypeEnum"`

	// The relative path of the symbolic link from the folder where the query originated.
	RelativePath *string `locationName:"relativePath" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a symbolic link in a repository folder.

func (SymbolicLink) GoString

func (s SymbolicLink) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SymbolicLink) SetAbsolutePath

func (s *SymbolicLink) SetAbsolutePath(v string) *SymbolicLink

SetAbsolutePath sets the AbsolutePath field's value.

func (*SymbolicLink) SetBlobId

func (s *SymbolicLink) SetBlobId(v string) *SymbolicLink

SetBlobId sets the BlobId field's value.

func (*SymbolicLink) SetFileMode

func (s *SymbolicLink) SetFileMode(v string) *SymbolicLink

SetFileMode sets the FileMode field's value.

func (*SymbolicLink) SetRelativePath

func (s *SymbolicLink) SetRelativePath(v string) *SymbolicLink

SetRelativePath sets the RelativePath field's value.

func (SymbolicLink) String

func (s SymbolicLink) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagKeysListRequiredException

type TagKeysListRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*TagKeysListRequiredException) Code

Code returns the exception type name.

func (*TagKeysListRequiredException) Error

func (TagKeysListRequiredException) GoString

func (s TagKeysListRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagKeysListRequiredException) Message

func (s *TagKeysListRequiredException) Message() string

Message returns the exception's message.

func (*TagKeysListRequiredException) OrigErr

func (s *TagKeysListRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TagKeysListRequiredException) RequestID

func (s *TagKeysListRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TagKeysListRequiredException) StatusCode

func (s *TagKeysListRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TagKeysListRequiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagPolicyException

type TagPolicyException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The tag policy is not valid.

func (*TagPolicyException) Code

func (s *TagPolicyException) Code() string

Code returns the exception type name.

func (*TagPolicyException) Error

func (s *TagPolicyException) Error() string

func (TagPolicyException) GoString

func (s TagPolicyException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagPolicyException) Message

func (s *TagPolicyException) Message() string

Message returns the exception's message.

func (*TagPolicyException) OrigErr

func (s *TagPolicyException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TagPolicyException) RequestID

func (s *TagPolicyException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TagPolicyException) StatusCode

func (s *TagPolicyException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TagPolicyException) String

func (s TagPolicyException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to which you want to add or
	// update tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

	// The key-value pair to use when tagging this repository.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagsMapRequiredException

type TagsMapRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A map of tags is required.

func (*TagsMapRequiredException) Code

func (s *TagsMapRequiredException) Code() string

Code returns the exception type name.

func (*TagsMapRequiredException) Error

func (s *TagsMapRequiredException) Error() string

func (TagsMapRequiredException) GoString

func (s TagsMapRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagsMapRequiredException) Message

func (s *TagsMapRequiredException) Message() string

Message returns the exception's message.

func (*TagsMapRequiredException) OrigErr

func (s *TagsMapRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TagsMapRequiredException) RequestID

func (s *TagsMapRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TagsMapRequiredException) StatusCode

func (s *TagsMapRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TagsMapRequiredException) String

func (s TagsMapRequiredException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Target

type Target struct {

	// The branch of the repository where the pull request changes are merged. Also
	// known as the destination branch.
	DestinationReference *string `locationName:"destinationReference" type:"string"`

	// The name of the repository that contains the pull request.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The branch of the repository that contains the changes for the pull request.
	// Also known as the source branch.
	//
	// SourceReference is a required field
	SourceReference *string `locationName:"sourceReference" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Returns information about a target for a pull request.

func (Target) GoString

func (s Target) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Target) SetDestinationReference

func (s *Target) SetDestinationReference(v string) *Target

SetDestinationReference sets the DestinationReference field's value.

func (*Target) SetRepositoryName

func (s *Target) SetRepositoryName(v string) *Target

SetRepositoryName sets the RepositoryName field's value.

func (*Target) SetSourceReference

func (s *Target) SetSourceReference(v string) *Target

SetSourceReference sets the SourceReference field's value.

func (Target) String

func (s Target) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Target) Validate

func (s *Target) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TargetRequiredException

type TargetRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

func (s *TargetRequiredException) Code() string

Code returns the exception type name.

func (*TargetRequiredException) Error

func (s *TargetRequiredException) Error() string

func (TargetRequiredException) GoString

func (s TargetRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TargetRequiredException) Message

func (s *TargetRequiredException) Message() string

Message returns the exception's message.

func (*TargetRequiredException) OrigErr

func (s *TargetRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TargetRequiredException) RequestID

func (s *TargetRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TargetRequiredException) StatusCode

func (s *TargetRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TargetRequiredException) String

func (s TargetRequiredException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TargetsRequiredException

type TargetsRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*TargetsRequiredException) Code

func (s *TargetsRequiredException) Code() string

Code returns the exception type name.

func (*TargetsRequiredException) Error

func (s *TargetsRequiredException) Error() string

func (TargetsRequiredException) GoString

func (s TargetsRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TargetsRequiredException) Message

func (s *TargetsRequiredException) Message() string

Message returns the exception's message.

func (*TargetsRequiredException) OrigErr

func (s *TargetsRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TargetsRequiredException) RequestID

func (s *TargetsRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TargetsRequiredException) StatusCode

func (s *TargetsRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TargetsRequiredException) String

func (s TargetsRequiredException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TestRepositoryTriggersInput

type TestRepositoryTriggersInput struct {

	// The name of the repository in which to test the triggers.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`

	// The list of triggers to test.
	//
	// Triggers is a required field
	Triggers []*RepositoryTrigger `locationName:"triggers" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a test repository triggers operation.

func (TestRepositoryTriggersInput) GoString

func (s TestRepositoryTriggersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestRepositoryTriggersInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*TestRepositoryTriggersInput) SetTriggers

SetTriggers sets the Triggers field's value.

func (TestRepositoryTriggersInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestRepositoryTriggersInput) Validate

func (s *TestRepositoryTriggersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TestRepositoryTriggersOutput

type TestRepositoryTriggersOutput struct {

	// The list of triggers that were not tested. This list provides the names of
	// the triggers that could not be tested, separated by commas.
	FailedExecutions []*RepositoryTriggerExecutionFailure `locationName:"failedExecutions" type:"list"`

	// The list of triggers that were successfully tested. This list provides the
	// names of the triggers that were successfully tested, separated by commas.
	SuccessfulExecutions []*string `locationName:"successfulExecutions" type:"list"`
	// contains filtered or unexported fields
}

Represents the output of a test repository triggers operation.

func (TestRepositoryTriggersOutput) GoString

func (s TestRepositoryTriggersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestRepositoryTriggersOutput) SetFailedExecutions

SetFailedExecutions sets the FailedExecutions field's value.

func (*TestRepositoryTriggersOutput) SetSuccessfulExecutions

func (s *TestRepositoryTriggersOutput) SetSuccessfulExecutions(v []*string) *TestRepositoryTriggersOutput

SetSuccessfulExecutions sets the SuccessfulExecutions field's value.

func (TestRepositoryTriggersOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TipOfSourceReferenceIsDifferentException

type TipOfSourceReferenceIsDifferentException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*TipOfSourceReferenceIsDifferentException) Error

func (TipOfSourceReferenceIsDifferentException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TipOfSourceReferenceIsDifferentException) Message

Message returns the exception's message.

func (*TipOfSourceReferenceIsDifferentException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TipOfSourceReferenceIsDifferentException) RequestID

RequestID returns the service's response RequestID for request.

func (*TipOfSourceReferenceIsDifferentException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (TipOfSourceReferenceIsDifferentException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TipsDivergenceExceededException

type TipsDivergenceExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code

Code returns the exception type name.

func (*TipsDivergenceExceededException) Error

func (TipsDivergenceExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TipsDivergenceExceededException) Message

Message returns the exception's message.

func (*TipsDivergenceExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TipsDivergenceExceededException) RequestID

func (s *TipsDivergenceExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TipsDivergenceExceededException) StatusCode

func (s *TipsDivergenceExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TipsDivergenceExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TitleRequiredException

type TitleRequiredException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*TitleRequiredException) Code

func (s *TitleRequiredException) Code() string

Code returns the exception type name.

func (*TitleRequiredException) Error

func (s *TitleRequiredException) Error() string

func (TitleRequiredException) GoString

func (s TitleRequiredException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TitleRequiredException) Message

func (s *TitleRequiredException) Message() string

Message returns the exception's message.

func (*TitleRequiredException) OrigErr

func (s *TitleRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TitleRequiredException) RequestID

func (s *TitleRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TitleRequiredException) StatusCode

func (s *TitleRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TitleRequiredException) String

func (s TitleRequiredException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TooManyTagsException

type TooManyTagsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*TooManyTagsException) Code

func (s *TooManyTagsException) Code() string

Code returns the exception type name.

func (*TooManyTagsException) Error

func (s *TooManyTagsException) Error() string

func (TooManyTagsException) GoString

func (s TooManyTagsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TooManyTagsException) Message

func (s *TooManyTagsException) Message() string

Message returns the exception's message.

func (*TooManyTagsException) OrigErr

func (s *TooManyTagsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyTagsException) RequestID

func (s *TooManyTagsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyTagsException) StatusCode

func (s *TooManyTagsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyTagsException) String

func (s TooManyTagsException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to which you want to remove
	// tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

	// The tag key for each tag that you want to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateApprovalRuleTemplateContentInput

type UpdateApprovalRuleTemplateContentInput struct {

	// The name of the approval rule template where you want to update the content
	// of the rule.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`

	// The SHA-256 hash signature for the content of the approval rule. You can
	// retrieve this information by using GetPullRequest.
	ExistingRuleContentSha256 *string `locationName:"existingRuleContentSha256" type:"string"`

	// The content that replaces the existing content of the rule. Content statements
	// must be complete. You cannot provide only the changes.
	//
	// NewRuleContent is a required field
	NewRuleContent *string `locationName:"newRuleContent" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApprovalRuleTemplateContentInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateApprovalRuleTemplateContentInput) SetApprovalRuleTemplateName

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*UpdateApprovalRuleTemplateContentInput) SetExistingRuleContentSha256

SetExistingRuleContentSha256 sets the ExistingRuleContentSha256 field's value.

func (*UpdateApprovalRuleTemplateContentInput) SetNewRuleContent

SetNewRuleContent sets the NewRuleContent field's value.

func (UpdateApprovalRuleTemplateContentInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateApprovalRuleTemplateContentInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateApprovalRuleTemplateContentOutput

type UpdateApprovalRuleTemplateContentOutput struct {

	// Returns information about an approval rule template.
	//
	// ApprovalRuleTemplate is a required field
	ApprovalRuleTemplate *ApprovalRuleTemplate `locationName:"approvalRuleTemplate" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApprovalRuleTemplateContentOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateApprovalRuleTemplateContentOutput) SetApprovalRuleTemplate

SetApprovalRuleTemplate sets the ApprovalRuleTemplate field's value.

func (UpdateApprovalRuleTemplateContentOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateApprovalRuleTemplateDescriptionInput

type UpdateApprovalRuleTemplateDescriptionInput struct {

	// The updated description of the approval rule template.
	//
	// ApprovalRuleTemplateDescription is a required field
	ApprovalRuleTemplateDescription *string `locationName:"approvalRuleTemplateDescription" type:"string" required:"true"`

	// The name of the template for which you want to update the description.
	//
	// ApprovalRuleTemplateName is a required field
	ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApprovalRuleTemplateDescriptionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateApprovalRuleTemplateDescriptionInput) SetApprovalRuleTemplateDescription

SetApprovalRuleTemplateDescription sets the ApprovalRuleTemplateDescription field's value.

func (*UpdateApprovalRuleTemplateDescriptionInput) SetApprovalRuleTemplateName

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (UpdateApprovalRuleTemplateDescriptionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateApprovalRuleTemplateDescriptionInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateApprovalRuleTemplateDescriptionOutput

type UpdateApprovalRuleTemplateDescriptionOutput struct {

	// The structure and content of the updated approval rule template.
	//
	// ApprovalRuleTemplate is a required field
	ApprovalRuleTemplate *ApprovalRuleTemplate `locationName:"approvalRuleTemplate" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApprovalRuleTemplateDescriptionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateApprovalRuleTemplateDescriptionOutput) SetApprovalRuleTemplate

SetApprovalRuleTemplate sets the ApprovalRuleTemplate field's value.

func (UpdateApprovalRuleTemplateDescriptionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateApprovalRuleTemplateNameInput

type UpdateApprovalRuleTemplateNameInput struct {

	// The new name you want to apply to the approval rule template.
	//
	// NewApprovalRuleTemplateName is a required field
	NewApprovalRuleTemplateName *string `locationName:"newApprovalRuleTemplateName" min:"1" type:"string" required:"true"`

	// The current name of the approval rule template.
	//
	// OldApprovalRuleTemplateName is a required field
	OldApprovalRuleTemplateName *string `locationName:"oldApprovalRuleTemplateName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApprovalRuleTemplateNameInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateApprovalRuleTemplateNameInput) SetNewApprovalRuleTemplateName

SetNewApprovalRuleTemplateName sets the NewApprovalRuleTemplateName field's value.

func (*UpdateApprovalRuleTemplateNameInput) SetOldApprovalRuleTemplateName

SetOldApprovalRuleTemplateName sets the OldApprovalRuleTemplateName field's value.

func (UpdateApprovalRuleTemplateNameInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateApprovalRuleTemplateNameInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateApprovalRuleTemplateNameOutput

type UpdateApprovalRuleTemplateNameOutput struct {

	// The structure and content of the updated approval rule template.
	//
	// ApprovalRuleTemplate is a required field
	ApprovalRuleTemplate *ApprovalRuleTemplate `locationName:"approvalRuleTemplate" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApprovalRuleTemplateNameOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateApprovalRuleTemplateNameOutput) SetApprovalRuleTemplate

SetApprovalRuleTemplate sets the ApprovalRuleTemplate field's value.

func (UpdateApprovalRuleTemplateNameOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateCommentInput

type UpdateCommentInput struct {

	// The system-generated ID of the comment you want to update. To get this ID,
	// use GetCommentsForComparedCommit or GetCommentsForPullRequest.
	//
	// CommentId is a required field
	CommentId *string `locationName:"commentId" type:"string" required:"true"`

	// The updated content to replace the existing content of the comment.
	//
	// Content is a required field
	Content *string `locationName:"content" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateCommentInput) GoString

func (s UpdateCommentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCommentInput) SetCommentId

func (s *UpdateCommentInput) SetCommentId(v string) *UpdateCommentInput

SetCommentId sets the CommentId field's value.

func (*UpdateCommentInput) SetContent

func (s *UpdateCommentInput) SetContent(v string) *UpdateCommentInput

SetContent sets the Content field's value.

func (UpdateCommentInput) String

func (s UpdateCommentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCommentInput) Validate

func (s *UpdateCommentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateCommentOutput

type UpdateCommentOutput struct {

	// Information about the updated comment.
	Comment *Comment `locationName:"comment" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateCommentOutput) GoString

func (s UpdateCommentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCommentOutput) SetComment

func (s *UpdateCommentOutput) SetComment(v *Comment) *UpdateCommentOutput

SetComment sets the Comment field's value.

func (UpdateCommentOutput) String

func (s UpdateCommentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateDefaultBranchInput

type UpdateDefaultBranchInput struct {

	// The name of the branch to set as the default branch.
	//
	// DefaultBranchName is a required field
	DefaultBranchName *string `locationName:"defaultBranchName" min:"1" type:"string" required:"true"`

	// The name of the repository for which you want to set or change the default
	// branch.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of an update default branch operation.

func (UpdateDefaultBranchInput) GoString

func (s UpdateDefaultBranchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateDefaultBranchInput) SetDefaultBranchName

func (s *UpdateDefaultBranchInput) SetDefaultBranchName(v string) *UpdateDefaultBranchInput

SetDefaultBranchName sets the DefaultBranchName field's value.

func (*UpdateDefaultBranchInput) SetRepositoryName

func (s *UpdateDefaultBranchInput) SetRepositoryName(v string) *UpdateDefaultBranchInput

SetRepositoryName sets the RepositoryName field's value.

func (UpdateDefaultBranchInput) String

func (s UpdateDefaultBranchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateDefaultBranchInput) Validate

func (s *UpdateDefaultBranchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDefaultBranchOutput

type UpdateDefaultBranchOutput struct {
	// contains filtered or unexported fields
}

func (UpdateDefaultBranchOutput) GoString

func (s UpdateDefaultBranchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateDefaultBranchOutput) String

func (s UpdateDefaultBranchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePullRequestApprovalRuleContentInput

type UpdatePullRequestApprovalRuleContentInput struct {

	// The name of the approval rule you want to update.
	//
	// ApprovalRuleName is a required field
	ApprovalRuleName *string `locationName:"approvalRuleName" min:"1" type:"string" required:"true"`

	// The SHA-256 hash signature for the content of the approval rule. You can
	// retrieve this information by using GetPullRequest.
	ExistingRuleContentSha256 *string `locationName:"existingRuleContentSha256" type:"string"`

	// The updated content for the approval rule.
	//
	// When you update the content of the approval rule, you can specify approvers
	// in an approval pool in one of two ways:
	//
	//    * CodeCommitApprovers: This option only requires an Amazon Web Services
	//    account and a resource. It can be used for both IAM users and federated
	//    access users whose name matches the provided resource name. This is a
	//    very powerful option that offers a great deal of flexibility. For example,
	//    if you specify the Amazon Web Services account 123456789012 and Mary_Major,
	//    all of the following are counted as approvals coming from that user: An
	//    IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A
	//    federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)
	//    This option does not recognize an active session of someone assuming the
	//    role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major)
	//    unless you include a wildcard (*Mary_Major).
	//
	//    * Fully qualified ARN: This option allows you to specify the fully qualified
	//    Amazon Resource Name (ARN) of the IAM user or role.
	//
	// For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
	// in the IAM User Guide.
	//
	// NewRuleContent is a required field
	NewRuleContent *string `locationName:"newRuleContent" min:"1" type:"string" required:"true"`

	// The system-generated ID of the pull request.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePullRequestApprovalRuleContentInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestApprovalRuleContentInput) SetApprovalRuleName

SetApprovalRuleName sets the ApprovalRuleName field's value.

func (*UpdatePullRequestApprovalRuleContentInput) SetExistingRuleContentSha256

SetExistingRuleContentSha256 sets the ExistingRuleContentSha256 field's value.

func (*UpdatePullRequestApprovalRuleContentInput) SetNewRuleContent

SetNewRuleContent sets the NewRuleContent field's value.

func (*UpdatePullRequestApprovalRuleContentInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (UpdatePullRequestApprovalRuleContentInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestApprovalRuleContentInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdatePullRequestApprovalRuleContentOutput

type UpdatePullRequestApprovalRuleContentOutput struct {

	// Information about the updated approval rule.
	//
	// ApprovalRule is a required field
	ApprovalRule *ApprovalRule `locationName:"approvalRule" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePullRequestApprovalRuleContentOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestApprovalRuleContentOutput) SetApprovalRule

SetApprovalRule sets the ApprovalRule field's value.

func (UpdatePullRequestApprovalRuleContentOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePullRequestApprovalStateInput

type UpdatePullRequestApprovalStateInput struct {

	// The approval state to associate with the user on the pull request.
	//
	// ApprovalState is a required field
	ApprovalState *string `locationName:"approvalState" type:"string" required:"true" enum:"ApprovalState"`

	// The system-generated ID of the pull request.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The system-generated ID of the revision.
	//
	// RevisionId is a required field
	RevisionId *string `locationName:"revisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePullRequestApprovalStateInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestApprovalStateInput) SetApprovalState

SetApprovalState sets the ApprovalState field's value.

func (*UpdatePullRequestApprovalStateInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*UpdatePullRequestApprovalStateInput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (UpdatePullRequestApprovalStateInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestApprovalStateInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdatePullRequestApprovalStateOutput

type UpdatePullRequestApprovalStateOutput struct {
	// contains filtered or unexported fields
}

func (UpdatePullRequestApprovalStateOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdatePullRequestApprovalStateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePullRequestDescriptionInput

type UpdatePullRequestDescriptionInput struct {

	// The updated content of the description for the pull request. This content
	// replaces the existing description.
	//
	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePullRequestDescriptionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestDescriptionInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdatePullRequestDescriptionInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (UpdatePullRequestDescriptionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestDescriptionInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdatePullRequestDescriptionOutput

type UpdatePullRequestDescriptionOutput struct {

	// Information about the updated pull request.
	//
	// PullRequest is a required field
	PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePullRequestDescriptionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestDescriptionOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (UpdatePullRequestDescriptionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePullRequestStatusInput

type UpdatePullRequestStatusInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The status of the pull request. The only valid operations are to update the
	// status from OPEN to OPEN, OPEN to CLOSED or from CLOSED to CLOSED.
	//
	// PullRequestStatus is a required field
	PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" required:"true" enum:"PullRequestStatusEnum"`
	// contains filtered or unexported fields
}

func (UpdatePullRequestStatusInput) GoString

func (s UpdatePullRequestStatusInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestStatusInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*UpdatePullRequestStatusInput) SetPullRequestStatus

SetPullRequestStatus sets the PullRequestStatus field's value.

func (UpdatePullRequestStatusInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestStatusInput) Validate

func (s *UpdatePullRequestStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdatePullRequestStatusOutput

type UpdatePullRequestStatusOutput struct {

	// Information about the pull request.
	//
	// PullRequest is a required field
	PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePullRequestStatusOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestStatusOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (UpdatePullRequestStatusOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePullRequestTitleInput

type UpdatePullRequestTitleInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// PullRequestId is a required field
	PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"`

	// The updated title of the pull request. This replaces the existing title.
	//
	// Title is a required field
	Title *string `locationName:"title" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePullRequestTitleInput) GoString

func (s UpdatePullRequestTitleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestTitleInput) SetPullRequestId

SetPullRequestId sets the PullRequestId field's value.

func (*UpdatePullRequestTitleInput) SetTitle

SetTitle sets the Title field's value.

func (UpdatePullRequestTitleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestTitleInput) Validate

func (s *UpdatePullRequestTitleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdatePullRequestTitleOutput

type UpdatePullRequestTitleOutput struct {

	// Information about the updated pull request.
	//
	// PullRequest is a required field
	PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdatePullRequestTitleOutput) GoString

func (s UpdatePullRequestTitleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePullRequestTitleOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (UpdatePullRequestTitleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateRepositoryDescriptionInput

type UpdateRepositoryDescriptionInput struct {

	// The new comment or description for the specified repository. Repository descriptions
	// are limited to 1,000 characters.
	RepositoryDescription *string `locationName:"repositoryDescription" type:"string"`

	// The name of the repository to set or change the comment or description for.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of an update repository description operation.

func (UpdateRepositoryDescriptionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRepositoryDescriptionInput) SetRepositoryDescription

SetRepositoryDescription sets the RepositoryDescription field's value.

func (*UpdateRepositoryDescriptionInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (UpdateRepositoryDescriptionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRepositoryDescriptionInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateRepositoryDescriptionOutput

type UpdateRepositoryDescriptionOutput struct {
	// contains filtered or unexported fields
}

func (UpdateRepositoryDescriptionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateRepositoryDescriptionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateRepositoryNameInput

type UpdateRepositoryNameInput struct {

	// The new name for the repository.
	//
	// NewName is a required field
	NewName *string `locationName:"newName" min:"1" type:"string" required:"true"`

	// The current name of the repository.
	//
	// OldName is a required field
	OldName *string `locationName:"oldName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of an update repository description operation.

func (UpdateRepositoryNameInput) GoString

func (s UpdateRepositoryNameInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRepositoryNameInput) SetNewName

SetNewName sets the NewName field's value.

func (*UpdateRepositoryNameInput) SetOldName

SetOldName sets the OldName field's value.

func (UpdateRepositoryNameInput) String

func (s UpdateRepositoryNameInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRepositoryNameInput) Validate

func (s *UpdateRepositoryNameInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRepositoryNameOutput

type UpdateRepositoryNameOutput struct {
	// contains filtered or unexported fields
}

func (UpdateRepositoryNameOutput) GoString

func (s UpdateRepositoryNameOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateRepositoryNameOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UserInfo

type UserInfo struct {

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

	// The email address associated with the user who made the commit, if any.
	Email *string `locationName:"email" type:"string"`

	// The name of the user who made the specified commit.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Information about the user who made a specified commit.

func (UserInfo) GoString

func (s UserInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UserInfo) SetDate

func (s *UserInfo) SetDate(v string) *UserInfo

SetDate sets the Date field's value.

func (*UserInfo) SetEmail

func (s *UserInfo) SetEmail(v string) *UserInfo

SetEmail sets the Email field's value.

func (*UserInfo) SetName

func (s *UserInfo) SetName(v string) *UserInfo

SetName sets the Name field's value.

func (UserInfo) String

func (s UserInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package codecommitiface provides an interface to enable mocking the AWS CodeCommit service client for testing your code.
Package codecommitiface provides an interface to enable mocking the AWS CodeCommit service client for testing your code.

Jump to

Keyboard shortcuts

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