codecommit

package
v2.0.0-preview.2+incom... Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

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

You can use the AWS 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 AWS account.

  • CreateRepository, which creates an AWS CodeCommit repository.

  • DeleteRepository, which deletes an AWS CodeCommit repository.

  • GetRepository, which returns information about a specified repository.

  • ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS 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 will be able to access it until you send them the new HTTPS or SSH URL to use.

Branches, by calling the following:

  • CreateBranch, which creates a new 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.

Information about committed code in a repository, by calling the following:

  • GetBlob, which returns the base-64 encoded content of an individual Git blob object within 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).

Pull requests, by calling the following:

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

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

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

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

  • GetPullRequest, which returns information about a specified 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.

  • PostCommentForPullRequest, which posts a comment to a pull request at the specified line, file, or 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.

Information about 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.

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

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

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 AWS CodeCommit, see the AWS CodeCommit User Guide (http://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 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 (

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

	// ErrCodeAuthorDoesNotExistException for service response error code
	// "AuthorDoesNotExistException".
	//
	// The specified Amazon Resource Name (ARN) does not exist in the AWS 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".
	//
	// The specified branch name already exists.
	ErrCodeBranchNameExistsException = "BranchNameExistsException"

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

	// 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 will
	// return 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 1,000 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 provided 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"

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

	// 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"

	// 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"

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

	// 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 re-used.
	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"

	// 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"

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

	// ErrCodeInvalidDescriptionException for service response error code
	// "InvalidDescriptionException".
	//
	// The pull request description is not valid. Descriptions are limited to 1,000
	// characters in length.
	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"

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

	// 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"

	// 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. The only valid value is FAST_FORWARD_MERGE.
	ErrCodeInvalidMergeOptionException = "InvalidMergeOptionException"

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

	// 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"

	// 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/master. For more information,
	// see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References)
	// or consult your Git documentation.
	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"

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

	// ErrCodeInvalidRepositoryNameException for service response error code
	// "InvalidRepositoryNameException".
	//
	// At least one specified repository name is not valid.
	//
	// This exception only occurs 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 region for the trigger target does not match the region for the repository.
	// Triggers must be created in the same region as the target for the trigger.
	ErrCodeInvalidRepositoryTriggerRegionException = "InvalidRepositoryTriggerRegionException"

	// 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"

	// 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"

	// 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 25.
	ErrCodeMaximumRepositoryNamesExceededException = "MaximumRepositoryNamesExceededException"

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

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

	// 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"

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

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

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

	// 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"

	// 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"

	// 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".
	//
	// A repository names 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. Check to make sure you have provided the correct repository name for
	// the pull request.
	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"

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

	// 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"
)
View Source
const (
	ServiceName = "codecommit" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName  // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetRepositoriesInput

type BatchGetRepositoriesInput struct {

	// The names of the repositories to get information about.
	//
	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesInput

func (BatchGetRepositoriesInput) GoString

func (s BatchGetRepositoriesInput) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesOutput

func (BatchGetRepositoriesOutput) GoString

func (s BatchGetRepositoriesOutput) GoString() string

GoString returns the string representation

func (BatchGetRepositoriesOutput) SDKResponseMetadata

func (s BatchGetRepositoriesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type BatchGetRepositoriesRequest

type BatchGetRepositoriesRequest struct {
	*aws.Request
	Input *BatchGetRepositoriesInput
}

BatchGetRepositoriesRequest is a API request type for the BatchGetRepositories API operation.

func (BatchGetRepositoriesRequest) Send

Send marshals and sends the BatchGetRepositories API request.

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 any associated file name, if any.
	Path *string `locationName:"path" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a specific Git blob object. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobMetadata

func (BlobMetadata) GoString

func (s BlobMetadata) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchInfo

func (BranchInfo) GoString

func (s BranchInfo) GoString() string

GoString returns the string representation

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

type ChangeTypeEnum

type ChangeTypeEnum string
const (
	ChangeTypeEnumA ChangeTypeEnum = "A"
	ChangeTypeEnumM ChangeTypeEnum = "M"
	ChangeTypeEnumD ChangeTypeEnum = "D"
)

Enum values for ChangeTypeEnum

type CodeCommit

type CodeCommit struct {
	*aws.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(config aws.Config) *CodeCommit

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

Example:

// Create a CodeCommit client from just a config.
svc := codecommit.New(myConfig)

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

func (*CodeCommit) BatchGetRepositoriesRequest

func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInput) BatchGetRepositoriesRequest

BatchGetRepositoriesRequest returns a request value for making 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 web page could 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 web page.

// Example sending a request using the BatchGetRepositoriesRequest method.
req := client.BatchGetRepositoriesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*CodeCommit) CreateBranchRequest

func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) CreateBranchRequest

CreateBranchRequest returns a request value for making API operation for AWS CodeCommit.

Creates a new 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.

// Example sending a request using the CreateBranchRequest method.
req := client.CreateBranchRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*CodeCommit) CreatePullRequestRequest

func (c *CodeCommit) CreatePullRequestRequest(input *CreatePullRequestInput) CreatePullRequestRequest

CreatePullRequestRequest returns a request value for making API operation for AWS CodeCommit.

Creates a pull request in the specified repository.

// Example sending a request using the CreatePullRequestRequest method.
req := client.CreatePullRequestRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequest

func (*CodeCommit) CreateRepositoryRequest

func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) CreateRepositoryRequest

CreateRepositoryRequest returns a request value for making API operation for AWS CodeCommit.

Creates a new, empty repository.

// Example sending a request using the CreateRepositoryRequest method.
req := client.CreateRepositoryRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository

func (*CodeCommit) DeleteBranchRequest

func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) DeleteBranchRequest

DeleteBranchRequest returns a request value for making API operation for AWS CodeCommit.

Deletes a branch from a repository, unless that branch is the default branch for the repository.

// Example sending a request using the DeleteBranchRequest method.
req := client.DeleteBranchRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch

func (*CodeCommit) DeleteCommentContentRequest

func (c *CodeCommit) DeleteCommentContentRequest(input *DeleteCommentContentInput) DeleteCommentContentRequest

DeleteCommentContentRequest returns a request value for making API operation for AWS CodeCommit.

Deletes the content of a comment made on a change, file, or commit in a repository.

// Example sending a request using the DeleteCommentContentRequest method.
req := client.DeleteCommentContentRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent

func (*CodeCommit) DeleteRepositoryRequest

func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) DeleteRepositoryRequest

DeleteRepositoryRequest returns a request value for making API operation for AWS CodeCommit.

Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.

// Example sending a request using the DeleteRepositoryRequest method.
req := client.DeleteRepositoryRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository

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 *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 ...aws.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) DescribePullRequestEventsRequest

DescribePullRequestEventsRequest returns a request value for making API operation for AWS CodeCommit.

Returns information about one or more pull request events.

// Example sending a request using the DescribePullRequestEventsRequest method.
req := client.DescribePullRequestEventsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents

func (*CodeCommit) GetBlobRequest

func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) GetBlobRequest

GetBlobRequest returns a request value for making API operation for AWS CodeCommit.

Returns the base-64 encoded content of an individual blob within a repository.

// Example sending a request using the GetBlobRequest method.
req := client.GetBlobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob

func (*CodeCommit) GetBranchRequest

func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) GetBranchRequest

GetBranchRequest returns a request value for making API operation for AWS CodeCommit.

Returns information about a repository branch, including its name and the last commit ID.

// Example sending a request using the GetBranchRequest method.
req := client.GetBranchRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch

func (*CodeCommit) GetCommentRequest

func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) GetCommentRequest

GetCommentRequest returns a request value for making API operation for AWS CodeCommit.

Returns the content of a comment made on a change, file, or commit in a repository.

// Example sending a request using the GetCommentRequest method.
req := client.GetCommentRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment

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 *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 ...aws.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) GetCommentsForComparedCommitRequest

GetCommentsForComparedCommitRequest returns a request value for making API operation for AWS CodeCommit.

Returns information about comments made on the comparison between two commits.

// Example sending a request using the GetCommentsForComparedCommitRequest method.
req := client.GetCommentsForComparedCommitRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit

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 *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 ...aws.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) GetCommentsForPullRequestRequest

GetCommentsForPullRequestRequest returns a request value for making API operation for AWS CodeCommit.

Returns comments made on a pull request.

// Example sending a request using the GetCommentsForPullRequestRequest method.
req := client.GetCommentsForPullRequestRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest

func (*CodeCommit) GetCommitRequest

func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) GetCommitRequest

GetCommitRequest returns a request value for making API operation for AWS CodeCommit.

Returns information about a commit, including commit message and committer information.

// Example sending a request using the GetCommitRequest method.
req := client.GetCommitRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit

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 *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 ...aws.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) GetDifferencesRequest

GetDifferencesRequest returns a request value for making 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.

// Example sending a request using the GetDifferencesRequest method.
req := client.GetDifferencesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences

func (*CodeCommit) GetMergeConflictsRequest

func (c *CodeCommit) GetMergeConflictsRequest(input *GetMergeConflictsInput) GetMergeConflictsRequest

GetMergeConflictsRequest returns a request value for making API operation for AWS CodeCommit.

Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.

// Example sending a request using the GetMergeConflictsRequest method.
req := client.GetMergeConflictsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts

func (*CodeCommit) GetPullRequestRequest

func (c *CodeCommit) GetPullRequestRequest(input *GetPullRequestInput) GetPullRequestRequest

GetPullRequestRequest returns a request value for making API operation for AWS CodeCommit.

Gets information about a pull request in a specified repository.

// Example sending a request using the GetPullRequestRequest method.
req := client.GetPullRequestRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest

func (*CodeCommit) GetRepositoryRequest

func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) GetRepositoryRequest

GetRepositoryRequest returns a request value for making 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 web page could 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 web page.

// Example sending a request using the GetRepositoryRequest method.
req := client.GetRepositoryRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository

func (*CodeCommit) GetRepositoryTriggersRequest

func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) GetRepositoryTriggersRequest

GetRepositoryTriggersRequest returns a request value for making API operation for AWS CodeCommit.

Gets information about triggers configured for a repository.

// Example sending a request using the GetRepositoryTriggersRequest method.
req := client.GetRepositoryTriggersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers

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 *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 ...aws.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) ListBranchesRequest

ListBranchesRequest returns a request value for making API operation for AWS CodeCommit.

Gets information about one or more branches in a repository.

// Example sending a request using the ListBranchesRequest method.
req := client.ListBranchesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches

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 *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 ...aws.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) ListPullRequestsRequest

ListPullRequestsRequest returns a request value for making 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.

// Example sending a request using the ListPullRequestsRequest method.
req := client.ListPullRequestsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests

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 *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 ...aws.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) ListRepositoriesRequest

ListRepositoriesRequest returns a request value for making API operation for AWS CodeCommit.

Gets information about one or more repositories.

// Example sending a request using the ListRepositoriesRequest method.
req := client.ListRepositoriesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories

func (*CodeCommit) MergePullRequestByFastForwardRequest

func (c *CodeCommit) MergePullRequestByFastForwardRequest(input *MergePullRequestByFastForwardInput) MergePullRequestByFastForwardRequest

MergePullRequestByFastForwardRequest returns a request value for making API operation for AWS CodeCommit.

Closes a pull request and 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 option.

// Example sending a request using the MergePullRequestByFastForwardRequest method.
req := client.MergePullRequestByFastForwardRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward

func (*CodeCommit) PostCommentForComparedCommitRequest

func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForComparedCommitInput) PostCommentForComparedCommitRequest

PostCommentForComparedCommitRequest returns a request value for making API operation for AWS CodeCommit.

Posts a comment on the comparison between two commits.

// Example sending a request using the PostCommentForComparedCommitRequest method.
req := client.PostCommentForComparedCommitRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit

func (*CodeCommit) PostCommentForPullRequestRequest

func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullRequestInput) PostCommentForPullRequestRequest

PostCommentForPullRequestRequest returns a request value for making API operation for AWS CodeCommit.

Posts a comment on a pull request.

// Example sending a request using the PostCommentForPullRequestRequest method.
req := client.PostCommentForPullRequestRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest

func (*CodeCommit) PostCommentReplyRequest

func (c *CodeCommit) PostCommentReplyRequest(input *PostCommentReplyInput) PostCommentReplyRequest

PostCommentReplyRequest returns a request value for making API operation for AWS CodeCommit.

Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

// Example sending a request using the PostCommentReplyRequest method.
req := client.PostCommentReplyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply

func (*CodeCommit) PutRepositoryTriggersRequest

func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) PutRepositoryTriggersRequest

PutRepositoryTriggersRequest returns a request value for making API operation for AWS CodeCommit.

Replaces all triggers for a repository. This can be used to create or delete triggers.

// Example sending a request using the PutRepositoryTriggersRequest method.
req := client.PutRepositoryTriggersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers

func (*CodeCommit) TestRepositoryTriggersRequest

func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) TestRepositoryTriggersRequest

TestRepositoryTriggersRequest returns a request value for making 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 will send data from the last commit. If no data is available, sample data will be generated.

// Example sending a request using the TestRepositoryTriggersRequest method.
req := client.TestRepositoryTriggersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers

func (*CodeCommit) UpdateCommentRequest

func (c *CodeCommit) UpdateCommentRequest(input *UpdateCommentInput) UpdateCommentRequest

UpdateCommentRequest returns a request value for making API operation for AWS CodeCommit.

Replaces the contents of a comment.

// Example sending a request using the UpdateCommentRequest method.
req := client.UpdateCommentRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment

func (*CodeCommit) UpdateDefaultBranchRequest

func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) UpdateDefaultBranchRequest

UpdateDefaultBranchRequest returns a request value for making 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.

// Example sending a request using the UpdateDefaultBranchRequest method.
req := client.UpdateDefaultBranchRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch

func (*CodeCommit) UpdatePullRequestDescriptionRequest

func (c *CodeCommit) UpdatePullRequestDescriptionRequest(input *UpdatePullRequestDescriptionInput) UpdatePullRequestDescriptionRequest

UpdatePullRequestDescriptionRequest returns a request value for making API operation for AWS CodeCommit.

Replaces the contents of the description of a pull request.

// Example sending a request using the UpdatePullRequestDescriptionRequest method.
req := client.UpdatePullRequestDescriptionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription

func (*CodeCommit) UpdatePullRequestStatusRequest

func (c *CodeCommit) UpdatePullRequestStatusRequest(input *UpdatePullRequestStatusInput) UpdatePullRequestStatusRequest

UpdatePullRequestStatusRequest returns a request value for making API operation for AWS CodeCommit.

Updates the status of a pull request.

// Example sending a request using the UpdatePullRequestStatusRequest method.
req := client.UpdatePullRequestStatusRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus

func (*CodeCommit) UpdatePullRequestTitleRequest

func (c *CodeCommit) UpdatePullRequestTitleRequest(input *UpdatePullRequestTitleInput) UpdatePullRequestTitleRequest

UpdatePullRequestTitleRequest returns a request value for making API operation for AWS CodeCommit.

Replaces the title of a pull request.

// Example sending a request using the UpdatePullRequestTitleRequest method.
req := client.UpdatePullRequestTitleRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle

func (*CodeCommit) UpdateRepositoryDescriptionRequest

func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) UpdateRepositoryDescriptionRequest

UpdateRepositoryDescriptionRequest returns a request value for making 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 web page could 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 web page.

// Example sending a request using the UpdateRepositoryDescriptionRequest method.
req := client.UpdateRepositoryDescriptionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription

func (*CodeCommit) UpdateRepositoryNameRequest

func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) UpdateRepositoryNameRequest

UpdateRepositoryNameRequest returns a request value for making API operation for AWS CodeCommit.

Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the AWS CodeCommit User Guide.

// Example sending a request using the UpdateRepositoryNameRequest method.
req := client.UpdateRepositoryNameRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName

type Comment

type Comment struct {

	// The Amazon Resource Name (ARN) of the person who posted the comment.
	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
	// will return 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

Returns information about a specific comment. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Comment

func (Comment) GoString

func (s Comment) GoString() string

GoString returns the string representation

func (*Comment) SetAuthorArn

func (s *Comment) SetAuthorArn(v string) *Comment

SetAuthorArn sets the AuthorArn 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) String

func (s Comment) String() string

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentsForComparedCommit

func (CommentsForComparedCommit) GoString

func (s CommentsForComparedCommit) GoString() string

GoString returns the string representation

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

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"`

	// he 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 will be 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentsForPullRequest

func (CommentsForPullRequest) GoString

func (s CommentsForPullRequest) GoString() string

GoString returns the string representation

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

type Commit

type Commit struct {

	// Any additional 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 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"`

	// The parent list for the specified commit.
	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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Commit

func (Commit) GoString

func (s Commit) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchInput

func (CreateBranchInput) GoString

func (s CreateBranchInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchOutput

func (CreateBranchOutput) GoString

func (s CreateBranchOutput) GoString() string

GoString returns the string representation

func (CreateBranchOutput) SDKResponseMetadata

func (s CreateBranchOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateBranchOutput) String

func (s CreateBranchOutput) String() string

String returns the string representation

type CreateBranchRequest

type CreateBranchRequest struct {
	*aws.Request
	Input *CreateBranchInput
}

CreateBranchRequest is a API request type for the CreateBranch API operation.

func (CreateBranchRequest) Send

Send marshals and sends the CreateBranch API request.

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
	// will return information about the initial request that used that token.
	//
	// The AWS SDKs prepopulate client request tokens. If using an AWS SDK, you
	// do not have to generate an idempotency token, as this will be done 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 will be 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestInput

func (CreatePullRequestInput) GoString

func (s CreatePullRequestInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestOutput

func (CreatePullRequestOutput) GoString

func (s CreatePullRequestOutput) GoString() string

GoString returns the string representation

func (CreatePullRequestOutput) SDKResponseMetadata

func (s CreatePullRequestOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreatePullRequestOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (CreatePullRequestOutput) String

func (s CreatePullRequestOutput) String() string

String returns the string representation

type CreatePullRequestRequest

type CreatePullRequestRequest struct {
	*aws.Request
	Input *CreatePullRequestInput
}

CreatePullRequestRequest is a API request type for the CreatePullRequest API operation.

func (CreatePullRequestRequest) Send

Send marshals and sends the CreatePullRequest API request.

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 web page could 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 web page.
	RepositoryDescription *string `locationName:"repositoryDescription" type:"string"`

	// The name of the new repository to be created.
	//
	// The repository name must be unique across the calling AWS account. In addition,
	// repository names are limited to 100 alphanumeric, dash, and underscore characters,
	// and cannot include certain characters. For a full description of the limits
	// on repository names, see Limits (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html)
	// in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.
	//
	// 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 repository operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryInput

func (CreateRepositoryInput) GoString

func (s CreateRepositoryInput) GoString() string

GoString returns the string representation

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

func (s CreateRepositoryInput) String() string

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryOutput

func (CreateRepositoryOutput) GoString

func (s CreateRepositoryOutput) GoString() string

GoString returns the string representation

func (CreateRepositoryOutput) SDKResponseMetadata

func (s CreateRepositoryOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateRepositoryOutput) SetRepositoryMetadata

SetRepositoryMetadata sets the RepositoryMetadata field's value.

func (CreateRepositoryOutput) String

func (s CreateRepositoryOutput) String() string

String returns the string representation

type CreateRepositoryRequest

type CreateRepositoryRequest struct {
	*aws.Request
	Input *CreateRepositoryInput
}

CreateRepositoryRequest is a API request type for the CreateRepository API operation.

func (CreateRepositoryRequest) Send

Send marshals and sends the CreateRepository API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranchInput

func (DeleteBranchInput) GoString

func (s DeleteBranchInput) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranchOutput

func (DeleteBranchOutput) GoString

func (s DeleteBranchOutput) GoString() string

GoString returns the string representation

func (DeleteBranchOutput) SDKResponseMetadata

func (s DeleteBranchOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type DeleteBranchRequest

type DeleteBranchRequest struct {
	*aws.Request
	Input *DeleteBranchInput
}

DeleteBranchRequest is a API request type for the DeleteBranch API operation.

func (DeleteBranchRequest) Send

Send marshals and sends the DeleteBranch API request.

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContentInput

func (DeleteCommentContentInput) GoString

func (s DeleteCommentContentInput) GoString() string

GoString returns the string representation

func (*DeleteCommentContentInput) SetCommentId

SetCommentId sets the CommentId field's value.

func (DeleteCommentContentInput) String

func (s DeleteCommentContentInput) String() string

String returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContentOutput

func (DeleteCommentContentOutput) GoString

func (s DeleteCommentContentOutput) GoString() string

GoString returns the string representation

func (DeleteCommentContentOutput) SDKResponseMetadata

func (s DeleteCommentContentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DeleteCommentContentOutput) SetComment

SetComment sets the Comment field's value.

func (DeleteCommentContentOutput) String

String returns the string representation

type DeleteCommentContentRequest

type DeleteCommentContentRequest struct {
	*aws.Request
	Input *DeleteCommentContentInput
}

DeleteCommentContentRequest is a API request type for the DeleteCommentContent API operation.

func (DeleteCommentContentRequest) Send

Send marshals and sends the DeleteCommentContent API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryInput

func (DeleteRepositoryInput) GoString

func (s DeleteRepositoryInput) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryOutput

func (DeleteRepositoryOutput) GoString

func (s DeleteRepositoryOutput) GoString() string

GoString returns the string representation

func (DeleteRepositoryOutput) SDKResponseMetadata

func (s DeleteRepositoryOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type DeleteRepositoryRequest

type DeleteRepositoryRequest struct {
	*aws.Request
	Input *DeleteRepositoryInput
}

DeleteRepositoryRequest is a API request type for the DeleteRepository API operation.

func (DeleteRepositoryRequest) Send

Send marshals and sends the DeleteRepository API request.

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 additional commits
	// or changing the status of a pull request.
	ActorArn *string `locationName:"actorArn" type:"string"`

	// A 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 PullRequestEventType `locationName:"pullRequestEventType" type:"string" enum:"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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsInput

func (DescribePullRequestEventsInput) GoString

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsOutput

func (DescribePullRequestEventsOutput) GoString

GoString returns the string representation

func (DescribePullRequestEventsOutput) SDKResponseMetadata

func (s DescribePullRequestEventsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type DescribePullRequestEventsRequest

type DescribePullRequestEventsRequest struct {
	*aws.Request
	Input *DescribePullRequestEventsInput
}

DescribePullRequestEventsRequest is a API request type for the DescribePullRequestEvents API operation.

func (DescribePullRequestEventsRequest) Send

Send marshals and sends the DescribePullRequestEvents API request.

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 ChangeTypeEnum `locationName:"changeType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Returns information about a set of differences for a commit specifier. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Difference

func (Difference) GoString

func (s Difference) GoString() string

GoString returns the string representation

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 ChangeTypeEnum) *Difference

SetChangeType sets the ChangeType field's value.

func (Difference) String

func (s Difference) String() string

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobInput

func (GetBlobInput) GoString

func (s GetBlobInput) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobOutput

func (GetBlobOutput) GoString

func (s GetBlobOutput) GoString() string

GoString returns the string representation

func (GetBlobOutput) SDKResponseMetadata

func (s GetBlobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetBlobRequest

type GetBlobRequest struct {
	*aws.Request
	Input *GetBlobInput
}

GetBlobRequest is a API request type for the GetBlob API operation.

func (GetBlobRequest) Send

func (r GetBlobRequest) Send() (*GetBlobOutput, error)

Send marshals and sends the GetBlob API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchInput

func (GetBranchInput) GoString

func (s GetBranchInput) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchOutput

func (GetBranchOutput) GoString

func (s GetBranchOutput) GoString() string

GoString returns the string representation

func (GetBranchOutput) SDKResponseMetadata

func (s GetBranchOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetBranchRequest

type GetBranchRequest struct {
	*aws.Request
	Input *GetBranchInput
}

GetBranchRequest is a API request type for the GetBranch API operation.

func (GetBranchRequest) Send

func (r GetBranchRequest) Send() (*GetBranchOutput, error)

Send marshals and sends the GetBranch API request.

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentInput

func (GetCommentInput) GoString

func (s GetCommentInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentOutput

func (GetCommentOutput) GoString

func (s GetCommentOutput) GoString() string

GoString returns the string representation

func (GetCommentOutput) SDKResponseMetadata

func (s GetCommentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetCommentRequest

type GetCommentRequest struct {
	*aws.Request
	Input *GetCommentInput
}

GetCommentRequest is a API request type for the GetComment API operation.

func (GetCommentRequest) Send

Send marshals and sends the GetComment API request.

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-negative integer used to limit the number of returned results. The
	// default is 100 comments, and is configurable 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitInput

func (GetCommentsForComparedCommitInput) GoString

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitOutput

func (GetCommentsForComparedCommitOutput) GoString

GoString returns the string representation

func (GetCommentsForComparedCommitOutput) SDKResponseMetadata

func (s GetCommentsForComparedCommitOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetCommentsForComparedCommitRequest

type GetCommentsForComparedCommitRequest struct {
	*aws.Request
	Input *GetCommentsForComparedCommitInput
}

GetCommentsForComparedCommitRequest is a API request type for the GetCommentsForComparedCommit API operation.

func (GetCommentsForComparedCommitRequest) Send

Send marshals and sends the GetCommentsForComparedCommit API request.

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.
	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.
	BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

	// A 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.
	RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestInput

func (GetCommentsForPullRequestInput) GoString

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestOutput

func (GetCommentsForPullRequestOutput) GoString

GoString returns the string representation

func (GetCommentsForPullRequestOutput) SDKResponseMetadata

func (s GetCommentsForPullRequestOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetCommentsForPullRequestRequest

type GetCommentsForPullRequestRequest struct {
	*aws.Request
	Input *GetCommentsForPullRequestInput
}

GetCommentsForPullRequestRequest is a API request type for the GetCommentsForPullRequest API operation.

func (GetCommentsForPullRequestRequest) Send

Send marshals and sends the GetCommentsForPullRequest API request.

type GetCommitInput

type GetCommitInput struct {

	// The commit ID. Commit IDs are the full SHA 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitInput

func (GetCommitInput) GoString

func (s GetCommitInput) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitOutput

func (GetCommitOutput) GoString

func (s GetCommitOutput) GoString() string

GoString returns the string representation

func (GetCommitOutput) SDKResponseMetadata

func (s GetCommitOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetCommitRequest

type GetCommitRequest struct {
	*aws.Request
	Input *GetCommitInput
}

GetCommitRequest is a API request type for the GetCommit API operation.

func (GetCommitRequest) Send

func (r GetCommitRequest) Send() (*GetCommitOutput, error)

Send marshals and sends the GetCommit API request.

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 will be 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 prior to the afterCommitSpecifier value will be 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 will be shown
	// for all paths.
	BeforePath *string `locationName:"beforePath" type:"string"`

	// A 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesInput

func (GetDifferencesInput) GoString

func (s GetDifferencesInput) GoString() string

GoString returns the string representation

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

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 differences 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesOutput

func (GetDifferencesOutput) GoString

func (s GetDifferencesOutput) GoString() string

GoString returns the string representation

func (GetDifferencesOutput) SDKResponseMetadata

func (s GetDifferencesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetDifferencesRequest

type GetDifferencesRequest struct {
	*aws.Request
	Input *GetDifferencesInput
}

GetDifferencesRequest is a API request type for the GetDifferences API operation.

func (GetDifferencesRequest) Send

Send marshals and sends the GetDifferences API request.

type GetMergeConflictsInput

type GetMergeConflictsInput 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 merge option or strategy you want to use to merge the code. The only
	// valid value is FAST_FORWARD_MERGE.
	//
	// MergeOption is a required field
	MergeOption MergeOptionTypeEnum `locationName:"mergeOption" type:"string" required:"true" enum:"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 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflictsInput

func (GetMergeConflictsInput) GoString

func (s GetMergeConflictsInput) GoString() string

GoString returns the string representation

func (*GetMergeConflictsInput) SetDestinationCommitSpecifier

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

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*GetMergeConflictsInput) SetMergeOption

SetMergeOption sets the MergeOption 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

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 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 mergable by the specified
	// merge option.
	//
	// Mergeable is a required field
	Mergeable *bool `locationName:"mergeable" type:"boolean" required:"true"`

	// 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflictsOutput

func (GetMergeConflictsOutput) GoString

func (s GetMergeConflictsOutput) GoString() string

GoString returns the string representation

func (GetMergeConflictsOutput) SDKResponseMetadata

func (s GetMergeConflictsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetMergeConflictsRequest

type GetMergeConflictsRequest struct {
	*aws.Request
	Input *GetMergeConflictsInput
}

GetMergeConflictsRequest is a API request type for the GetMergeConflicts API operation.

func (GetMergeConflictsRequest) Send

Send marshals and sends the GetMergeConflicts API request.

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestInput

func (GetPullRequestInput) GoString

func (s GetPullRequestInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOutput

func (GetPullRequestOutput) GoString

func (s GetPullRequestOutput) GoString() string

GoString returns the string representation

func (GetPullRequestOutput) SDKResponseMetadata

func (s GetPullRequestOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetPullRequestRequest

type GetPullRequestRequest struct {
	*aws.Request
	Input *GetPullRequestInput
}

GetPullRequestRequest is a API request type for the GetPullRequest API operation.

func (GetPullRequestRequest) Send

Send marshals and sends the GetPullRequest API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryInput

func (GetRepositoryInput) GoString

func (s GetRepositoryInput) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryOutput

func (GetRepositoryOutput) GoString

func (s GetRepositoryOutput) GoString() string

GoString returns the string representation

func (GetRepositoryOutput) SDKResponseMetadata

func (s GetRepositoryOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetRepositoryRequest

type GetRepositoryRequest struct {
	*aws.Request
	Input *GetRepositoryInput
}

GetRepositoryRequest is a API request type for the GetRepository API operation.

func (GetRepositoryRequest) Send

Send marshals and sends the GetRepository API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersInput

func (GetRepositoryTriggersInput) GoString

func (s GetRepositoryTriggersInput) GoString() string

GoString returns the string representation

func (*GetRepositoryTriggersInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryTriggersInput) String

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersOutput

func (GetRepositoryTriggersOutput) GoString

func (s GetRepositoryTriggersOutput) GoString() string

GoString returns the string representation

func (GetRepositoryTriggersOutput) SDKResponseMetadata

func (s GetRepositoryTriggersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type GetRepositoryTriggersRequest

type GetRepositoryTriggersRequest struct {
	*aws.Request
	Input *GetRepositoryTriggersInput
}

GetRepositoryTriggersRequest is a API request type for the GetRepositoryTriggers API operation.

func (GetRepositoryTriggersRequest) Send

Send marshals and sends the GetRepositoryTriggers API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesInput

func (ListBranchesInput) GoString

func (s ListBranchesInput) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesOutput

func (ListBranchesOutput) GoString

func (s ListBranchesOutput) GoString() string

GoString returns the string representation

func (ListBranchesOutput) SDKResponseMetadata

func (s ListBranchesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type ListBranchesRequest

type ListBranchesRequest struct {
	*aws.Request
	Input *ListBranchesInput
}

ListBranchesRequest is a API request type for the ListBranches API operation.

func (ListBranchesRequest) Send

Send marshals and sends the ListBranches API request.

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-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 PullRequestStatusEnum `locationName:"pullRequestStatus" type:"string" enum:"true"`

	// 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsInput

func (ListPullRequestsInput) GoString

func (s ListPullRequestsInput) GoString() string

GoString returns the string representation

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

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

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 when provided in a request, returns the next batch
	// of the results.
	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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsOutput

func (ListPullRequestsOutput) GoString

func (s ListPullRequestsOutput) GoString() string

GoString returns the string representation

func (ListPullRequestsOutput) SDKResponseMetadata

func (s ListPullRequestsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type ListPullRequestsRequest

type ListPullRequestsRequest struct {
	*aws.Request
	Input *ListPullRequestsInput
}

ListPullRequestsRequest is a API request type for the ListPullRequests API operation.

func (ListPullRequestsRequest) Send

Send marshals and sends the ListPullRequests API request.

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 AWS 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 OrderEnum `locationName:"order" type:"string" enum:"true"`

	// The criteria used to sort the results of a list repositories operation.
	SortBy SortByEnum `locationName:"sortBy" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Represents the input of a list repositories operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesInput

func (ListRepositoriesInput) GoString

func (s ListRepositoriesInput) GoString() string

GoString returns the string representation

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

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 AWS 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesOutput

func (ListRepositoriesOutput) GoString

func (s ListRepositoriesOutput) GoString() string

GoString returns the string representation

func (ListRepositoriesOutput) SDKResponseMetadata

func (s ListRepositoriesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type ListRepositoriesRequest

type ListRepositoriesRequest struct {
	*aws.Request
	Input *ListRepositoriesInput
}

ListRepositoriesRequest is a API request type for the ListRepositories API operation.

func (ListRepositoriesRequest) Send

Send marshals and sends the ListRepositories API request.

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 within 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 RelativeFileVersionEnum `locationName:"relativeFileVersion" type:"string" enum:"true"`
	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Location

func (Location) GoString

func (s Location) GoString() string

GoString returns the string representation

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 RelativeFileVersionEnum) *Location

SetRelativeFileVersion sets the RelativeFileVersion field's value.

func (Location) String

func (s Location) String() string

String returns the string representation

type MergeMetadata

type MergeMetadata struct {

	// A Boolean value indicating whether the merge has been made.
	IsMerged *bool `locationName:"isMerged" type:"boolean"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeMetadata

func (MergeMetadata) GoString

func (s MergeMetadata) GoString() string

GoString returns the string representation

func (*MergeMetadata) SetIsMerged

func (s *MergeMetadata) SetIsMerged(v bool) *MergeMetadata

SetIsMerged sets the IsMerged 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

type MergeOptionTypeEnum

type MergeOptionTypeEnum string
const (
	MergeOptionTypeEnumFastForwardMerge MergeOptionTypeEnum = "FAST_FORWARD_MERGE"
)

Enum values for MergeOptionTypeEnum

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardInput

func (MergePullRequestByFastForwardInput) GoString

GoString returns the string representation

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

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 information about
	// the merge.
	PullRequest *PullRequest `locationName:"pullRequest" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardOutput

func (MergePullRequestByFastForwardOutput) GoString

GoString returns the string representation

func (MergePullRequestByFastForwardOutput) SDKResponseMetadata

func (s MergePullRequestByFastForwardOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*MergePullRequestByFastForwardOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (MergePullRequestByFastForwardOutput) String

String returns the string representation

type MergePullRequestByFastForwardRequest

type MergePullRequestByFastForwardRequest struct {
	*aws.Request
	Input *MergePullRequestByFastForwardInput
}

MergePullRequestByFastForwardRequest is a API request type for the MergePullRequestByFastForward API operation.

func (MergePullRequestByFastForwardRequest) Send

Send marshals and sends the MergePullRequestByFastForward API request.

type OrderEnum

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

Enum values for OrderEnum

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.
	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
	// will return 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommitInput

func (PostCommentForComparedCommitInput) GoString

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommitOutput

func (PostCommentForComparedCommitOutput) GoString

GoString returns the string representation

func (PostCommentForComparedCommitOutput) SDKResponseMetadata

func (s PostCommentForComparedCommitOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type PostCommentForComparedCommitRequest

type PostCommentForComparedCommitRequest struct {
	*aws.Request
	Input *PostCommentForComparedCommitInput
}

PostCommentForComparedCommitRequest is a API request type for the PostCommentForComparedCommit API operation.

func (PostCommentForComparedCommitRequest) Send

Send marshals and sends the PostCommentForComparedCommit API request.

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
	// will return 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 will be 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequestInput

func (PostCommentForPullRequestInput) GoString

GoString returns the string representation

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

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 will be 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequestOutput

func (PostCommentForPullRequestOutput) GoString

GoString returns the string representation

func (PostCommentForPullRequestOutput) SDKResponseMetadata

func (s PostCommentForPullRequestOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type PostCommentForPullRequestRequest

type PostCommentForPullRequestRequest struct {
	*aws.Request
	Input *PostCommentForPullRequestInput
}

PostCommentForPullRequestRequest is a API request type for the PostCommentForPullRequest API operation.

func (PostCommentForPullRequestRequest) Send

Send marshals and sends the PostCommentForPullRequest API request.

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
	// will return 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReplyInput

func (PostCommentReplyInput) GoString

func (s PostCommentReplyInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReplyOutput

func (PostCommentReplyOutput) GoString

func (s PostCommentReplyOutput) GoString() string

GoString returns the string representation

func (PostCommentReplyOutput) SDKResponseMetadata

func (s PostCommentReplyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*PostCommentReplyOutput) SetComment

SetComment sets the Comment field's value.

func (PostCommentReplyOutput) String

func (s PostCommentReplyOutput) String() string

String returns the string representation

type PostCommentReplyRequest

type PostCommentReplyRequest struct {
	*aws.Request
	Input *PostCommentReplyInput
}

PostCommentReplyRequest is a API request type for the PostCommentReply API operation.

func (PostCommentReplyRequest) Send

Send marshals and sends the PostCommentReply API request.

type PullRequest

type PullRequest struct {

	// 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
	// will return 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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 PullRequestStatusEnum `locationName:"pullRequestStatus" type:"string" enum:"true"`

	// The targets of the pull request, including the source branch and destination
	// branch for the pull request.
	PullRequestTargets []PullRequestTarget `locationName:"pullRequestTargets" type:"list"`

	// The user-defined title of the pull request. This title is displayed in the
	// list of pull requests to other users of the repository.
	Title *string `locationName:"title" type:"string"`
	// contains filtered or unexported fields
}

Returns information about a pull request. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequest

func (PullRequest) GoString

func (s PullRequest) GoString() string

GoString returns the string representation

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 PullRequestStatusEnum) *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) 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

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 additional commits
	// or changing the status of a pull request.
	ActorArn *string `locationName:"actorArn" type:"string"`

	// The day and time of the pull request event, in timestamp format.
	EventDate *time.Time `locationName:"eventDate" type:"timestamp" timestampFormat:"unix"`

	// The type of the pull request event, for example a status change event (PULL_REQUEST_STATUS_CHANGED)
	// or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED).
	PullRequestEventType PullRequestEventType `locationName:"pullRequestEventType" type:"string" enum:"true"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestEvent

func (PullRequestEvent) GoString

func (s PullRequestEvent) GoString() string

GoString returns the string representation

func (*PullRequestEvent) SetActorArn

func (s *PullRequestEvent) SetActorArn(v string) *PullRequestEvent

SetActorArn sets the ActorArn field's value.

func (*PullRequestEvent) SetEventDate

func (s *PullRequestEvent) SetEventDate(v time.Time) *PullRequestEvent

SetEventDate sets the EventDate field's value.

func (*PullRequestEvent) SetPullRequestEventType

func (s *PullRequestEvent) SetPullRequestEventType(v PullRequestEventType) *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

type PullRequestEventType

type PullRequestEventType string
const (
	PullRequestEventTypePullRequestCreated                PullRequestEventType = "PULL_REQUEST_CREATED"
	PullRequestEventTypePullRequestStatusChanged          PullRequestEventType = "PULL_REQUEST_STATUS_CHANGED"
	PullRequestEventTypePullRequestSourceReferenceUpdated PullRequestEventType = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED"
	PullRequestEventTypePullRequestMergeStateChanged      PullRequestEventType = "PULL_REQUEST_MERGE_STATE_CHANGED"
)

Enum values for PullRequestEventType

type PullRequestMergedStateChangedEventMetadata

type PullRequestMergedStateChangedEventMetadata struct {

	// The name of the branch that the pull request will be 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestMergedStateChangedEventMetadata

func (PullRequestMergedStateChangedEventMetadata) GoString

GoString returns the string representation

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

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 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestSourceReferenceUpdatedEventMetadata

func (PullRequestSourceReferenceUpdatedEventMetadata) GoString

GoString returns the string representation

func (*PullRequestSourceReferenceUpdatedEventMetadata) SetAfterCommitId

SetAfterCommitId sets the AfterCommitId field's value.

func (*PullRequestSourceReferenceUpdatedEventMetadata) SetBeforeCommitId

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*PullRequestSourceReferenceUpdatedEventMetadata) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (PullRequestSourceReferenceUpdatedEventMetadata) String

String returns the string representation

type PullRequestStatusChangedEventMetadata

type PullRequestStatusChangedEventMetadata struct {

	// The changed status of the pull request.
	PullRequestStatus PullRequestStatusEnum `locationName:"pullRequestStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Information about a change to the status of a pull request. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestStatusChangedEventMetadata

func (PullRequestStatusChangedEventMetadata) GoString

GoString returns the string representation

func (*PullRequestStatusChangedEventMetadata) SetPullRequestStatus

SetPullRequestStatus sets the PullRequestStatus field's value.

func (PullRequestStatusChangedEventMetadata) String

String returns the string representation

type PullRequestStatusEnum

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

Enum values for PullRequestStatusEnum

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 will be merged
	// into. Also known as the destination branch.
	DestinationReference *string `locationName:"destinationReference" 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 will change 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestTarget

func (PullRequestTarget) GoString

func (s PullRequestTarget) GoString() string

GoString returns the string representation

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

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 ofa put repository triggers operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersInput

func (PutRepositoryTriggersInput) GoString

func (s PutRepositoryTriggersInput) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersOutput

func (PutRepositoryTriggersOutput) GoString

func (s PutRepositoryTriggersOutput) GoString() string

GoString returns the string representation

func (PutRepositoryTriggersOutput) SDKResponseMetadata

func (s PutRepositoryTriggersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*PutRepositoryTriggersOutput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (PutRepositoryTriggersOutput) String

String returns the string representation

type PutRepositoryTriggersRequest

type PutRepositoryTriggersRequest struct {
	*aws.Request
	Input *PutRepositoryTriggersInput
}

PutRepositoryTriggersRequest is a API request type for the PutRepositoryTriggers API operation.

func (PutRepositoryTriggersRequest) Send

Send marshals and sends the PutRepositoryTriggers API request.

type RelativeFileVersionEnum

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

Enum values for RelativeFileVersionEnum

type RepositoryMetadata

type RepositoryMetadata struct {

	// The ID of the AWS 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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryMetadata

func (RepositoryMetadata) GoString

func (s RepositoryMetadata) GoString() string

GoString returns the string representation

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameIdPair

func (RepositoryNameIdPair) GoString

func (s RepositoryNameIdPair) GoString() string

GoString returns the string representation

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

type RepositoryTrigger

type RepositoryTrigger struct {

	// The branches that will be included in the trigger configuration. If you specify
	// an empty array, the trigger will apply to all branches.
	//
	// While 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 that will 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 Simple Notification Service (SNS).
	//
	// DestinationArn is a required field
	DestinationArn *string `locationName:"destinationArn" type:"string" required:"true"`

	// The repository events that will cause the trigger to run actions in another
	// service, such as sending a notification through Amazon Simple Notification
	// Service (SNS).
	//
	// The valid value "all" cannot be used with any other values.
	//
	// Events is a required field
	Events []RepositoryTriggerEventEnum `locationName:"events" type:"list" required:"true"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTrigger

func (RepositoryTrigger) GoString

func (s RepositoryTrigger) GoString() string

GoString returns the string representation

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

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

func (*RepositoryTrigger) Validate

func (s *RepositoryTrigger) Validate() error

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

type RepositoryTriggerEventEnum

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

Enum values for RepositoryTriggerEventEnum

type RepositoryTriggerExecutionFailure

type RepositoryTriggerExecutionFailure struct {

	// Additional 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerExecutionFailure

func (RepositoryTriggerExecutionFailure) GoString

GoString returns the string representation

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

type SortByEnum

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

Enum values for SortByEnum

type Target

type Target struct {

	// The branch of the repository where the pull request changes will be merged
	// into. 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Target

func (Target) GoString

func (s Target) GoString() string

GoString returns the string representation

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

func (*Target) Validate

func (s *Target) Validate() error

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersInput

func (TestRepositoryTriggersInput) GoString

func (s TestRepositoryTriggersInput) GoString() string

GoString returns the string representation

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

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 able to be 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersOutput

func (TestRepositoryTriggersOutput) GoString

func (s TestRepositoryTriggersOutput) GoString() string

GoString returns the string representation

func (TestRepositoryTriggersOutput) SDKResponseMetadata

func (s TestRepositoryTriggersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type TestRepositoryTriggersRequest

type TestRepositoryTriggersRequest struct {
	*aws.Request
	Input *TestRepositoryTriggersInput
}

TestRepositoryTriggersRequest is a API request type for the TestRepositoryTriggers API operation.

func (TestRepositoryTriggersRequest) Send

Send marshals and sends the TestRepositoryTriggers API request.

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 with which you want 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentInput

func (UpdateCommentInput) GoString

func (s UpdateCommentInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentOutput

func (UpdateCommentOutput) GoString

func (s UpdateCommentOutput) GoString() string

GoString returns the string representation

func (UpdateCommentOutput) SDKResponseMetadata

func (s UpdateCommentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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

type UpdateCommentRequest

type UpdateCommentRequest struct {
	*aws.Request
	Input *UpdateCommentInput
}

UpdateCommentRequest is a API request type for the UpdateComment API operation.

func (UpdateCommentRequest) Send

Send marshals and sends the UpdateComment API request.

type UpdateDefaultBranchInput

type UpdateDefaultBranchInput struct {

	// The name of the branch to set as the default.
	//
	// DefaultBranchName is a required field
	DefaultBranchName *string `locationName:"defaultBranchName" min:"1" type:"string" required:"true"`

	// The name of the repository to set or change the default branch 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 default branch operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchInput

func (UpdateDefaultBranchInput) GoString

func (s UpdateDefaultBranchInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchOutput

func (UpdateDefaultBranchOutput) GoString

func (s UpdateDefaultBranchOutput) GoString() string

GoString returns the string representation

func (UpdateDefaultBranchOutput) SDKResponseMetadata

func (s UpdateDefaultBranchOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateDefaultBranchOutput) String

func (s UpdateDefaultBranchOutput) String() string

String returns the string representation

type UpdateDefaultBranchRequest

type UpdateDefaultBranchRequest struct {
	*aws.Request
	Input *UpdateDefaultBranchInput
}

UpdateDefaultBranchRequest is a API request type for the UpdateDefaultBranch API operation.

func (UpdateDefaultBranchRequest) Send

Send marshals and sends the UpdateDefaultBranch API request.

type UpdatePullRequestDescriptionInput

type UpdatePullRequestDescriptionInput struct {

	// The updated content of the description for the pull request. This content
	// will replace 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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescriptionInput

func (UpdatePullRequestDescriptionInput) GoString

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescriptionOutput

func (UpdatePullRequestDescriptionOutput) GoString

GoString returns the string representation

func (UpdatePullRequestDescriptionOutput) SDKResponseMetadata

func (s UpdatePullRequestDescriptionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdatePullRequestDescriptionOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (UpdatePullRequestDescriptionOutput) String

String returns the string representation

type UpdatePullRequestDescriptionRequest

type UpdatePullRequestDescriptionRequest struct {
	*aws.Request
	Input *UpdatePullRequestDescriptionInput
}

UpdatePullRequestDescriptionRequest is a API request type for the UpdatePullRequestDescription API operation.

func (UpdatePullRequestDescriptionRequest) Send

Send marshals and sends the UpdatePullRequestDescription API request.

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 from CLOSED to CLOSED.
	//
	// PullRequestStatus is a required field
	PullRequestStatus PullRequestStatusEnum `locationName:"pullRequestStatus" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusInput

func (UpdatePullRequestStatusInput) GoString

func (s UpdatePullRequestStatusInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusOutput

func (UpdatePullRequestStatusOutput) GoString

GoString returns the string representation

func (UpdatePullRequestStatusOutput) SDKResponseMetadata

func (s UpdatePullRequestStatusOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdatePullRequestStatusOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (UpdatePullRequestStatusOutput) String

String returns the string representation

type UpdatePullRequestStatusRequest

type UpdatePullRequestStatusRequest struct {
	*aws.Request
	Input *UpdatePullRequestStatusInput
}

UpdatePullRequestStatusRequest is a API request type for the UpdatePullRequestStatus API operation.

func (UpdatePullRequestStatusRequest) Send

Send marshals and sends the UpdatePullRequestStatus API request.

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 will replace the existing title.
	//
	// Title is a required field
	Title *string `locationName:"title" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleInput

func (UpdatePullRequestTitleInput) GoString

func (s UpdatePullRequestTitleInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleOutput

func (UpdatePullRequestTitleOutput) GoString

func (s UpdatePullRequestTitleOutput) GoString() string

GoString returns the string representation

func (UpdatePullRequestTitleOutput) SDKResponseMetadata

func (s UpdatePullRequestTitleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdatePullRequestTitleOutput) SetPullRequest

SetPullRequest sets the PullRequest field's value.

func (UpdatePullRequestTitleOutput) String

String returns the string representation

type UpdatePullRequestTitleRequest

type UpdatePullRequestTitleRequest struct {
	*aws.Request
	Input *UpdatePullRequestTitleInput
}

UpdatePullRequestTitleRequest is a API request type for the UpdatePullRequestTitle API operation.

func (UpdatePullRequestTitleRequest) Send

Send marshals and sends the UpdatePullRequestTitle API request.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionInput

func (UpdateRepositoryDescriptionInput) GoString

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionOutput

func (UpdateRepositoryDescriptionOutput) GoString

GoString returns the string representation

func (UpdateRepositoryDescriptionOutput) SDKResponseMetadata

func (s UpdateRepositoryDescriptionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateRepositoryDescriptionOutput) String

String returns the string representation

type UpdateRepositoryDescriptionRequest

type UpdateRepositoryDescriptionRequest struct {
	*aws.Request
	Input *UpdateRepositoryDescriptionInput
}

UpdateRepositoryDescriptionRequest is a API request type for the UpdateRepositoryDescription API operation.

func (UpdateRepositoryDescriptionRequest) Send

Send marshals and sends the UpdateRepositoryDescription API request.

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 existing 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameInput

func (UpdateRepositoryNameInput) GoString

func (s UpdateRepositoryNameInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameOutput

func (UpdateRepositoryNameOutput) GoString

func (s UpdateRepositoryNameOutput) GoString() string

GoString returns the string representation

func (UpdateRepositoryNameOutput) SDKResponseMetadata

func (s UpdateRepositoryNameOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateRepositoryNameOutput) String

String returns the string representation

type UpdateRepositoryNameRequest

type UpdateRepositoryNameRequest struct {
	*aws.Request
	Input *UpdateRepositoryNameInput
}

UpdateRepositoryNameRequest is a API request type for the UpdateRepositoryName API operation.

func (UpdateRepositoryNameRequest) Send

Send marshals and sends the UpdateRepositoryName API request.

type UserInfo

type UserInfo struct {

	// The date when the specified commit was pushed to the repository.
	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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UserInfo

func (UserInfo) GoString

func (s UserInfo) GoString() string

GoString returns the string representation

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

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