...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/codecommit"
Overview
Constants

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 can
access it until you send them the new HTTPS or SSH URL to use.

Branches, by calling the following:

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

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

* GetBranch, which returns information about a specified branch.

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

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

Files, by calling the following:

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

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

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

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

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

Commits, by calling the following:

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

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

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

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

Merges, by calling the following:

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

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

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

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

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

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

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

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

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

Pull requests, by calling the following:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Approval rule templates, by calling the following:

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

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

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

* CreateApprovalRuleTemplate, which creates a template for approval rules
that can then be associated with one or more repositories in your AWS
account.

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

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

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

* ListApprovalRuleTemplates, which lists all approval rule templates in
the AWS Region in your AWS account.

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

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

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

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

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

Comments in a repository, by calling the following:

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

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

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

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

* ListTagsForResource, which gets information about AWS tags for a specified
Amazon Resource Name (ARN) in AWS CodeCommit.

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

* UntagResource, which removes tags for a resource in AWS CodeCommit.

Triggers, by calling the following:

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

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

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

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

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

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

Using the Client

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

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

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

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

The stub package, codecommitiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Operations ▾

AssociateApprovalRuleTemplateWithRepository
BatchAssociateApprovalRuleTemplateWithRepositories
BatchDescribeMergeConflicts
BatchDisassociateApprovalRuleTemplateFromRepositories
BatchGetCommits
BatchGetRepositories
CreateApprovalRuleTemplate
CreateBranch
CreateCommit
CreatePullRequest
CreatePullRequestApprovalRule
CreateRepository
CreateUnreferencedMergeCommit
DeleteApprovalRuleTemplate
DeleteBranch
DeleteCommentContent
DeleteFile
DeletePullRequestApprovalRule
DeleteRepository
DescribeMergeConflicts ( Paginator )
DescribePullRequestEvents ( Paginator )
DisassociateApprovalRuleTemplateFromRepository
EvaluatePullRequestApprovalRules
GetApprovalRuleTemplate
GetBlob
GetBranch
GetComment
GetCommentsForComparedCommit ( Paginator )
GetCommentsForPullRequest ( Paginator )
GetCommit
GetDifferences ( Paginator )
GetFile
GetFolder
GetMergeCommit
GetMergeConflicts ( Paginator )
GetMergeOptions
GetPullRequest
GetPullRequestApprovalStates
GetPullRequestOverrideState
GetRepository
GetRepositoryTriggers
ListApprovalRuleTemplates ( Paginator )
ListAssociatedApprovalRuleTemplatesForRepository ( Paginator )
ListBranches ( Paginator )
ListPullRequests ( Paginator )
ListRepositories ( Paginator )
ListRepositoriesForApprovalRuleTemplate ( Paginator )
ListTagsForResource
MergeBranchesByFastForward
MergeBranchesBySquash
MergeBranchesByThreeWay
MergePullRequestByFastForward
MergePullRequestBySquash
MergePullRequestByThreeWay
OverridePullRequestApprovalRules
PostCommentForComparedCommit
PostCommentForPullRequest
PostCommentReply
PutFile
PutRepositoryTriggers
TagResource
TestRepositoryTriggers
UntagResource
UpdateApprovalRuleTemplateContent
UpdateApprovalRuleTemplateDescription
UpdateApprovalRuleTemplateName
UpdateComment
UpdateDefaultBranch
UpdatePullRequestApprovalRuleContent
UpdatePullRequestApprovalState
UpdatePullRequestDescription
UpdatePullRequestStatus
UpdatePullRequestTitle
UpdateRepositoryDescription
UpdateRepositoryName

Types ▾

type CodeCommit
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeCommit
func (c *CodeCommit) AssociateApprovalRuleTemplateWithRepository(input *AssociateApprovalRuleTemplateWithRepositoryInput) (*AssociateApprovalRuleTemplateWithRepositoryOutput, error)
func (c *CodeCommit) AssociateApprovalRuleTemplateWithRepositoryRequest(input *AssociateApprovalRuleTemplateWithRepositoryInput) (req *request.Request, output *AssociateApprovalRuleTemplateWithRepositoryOutput)
func (c *CodeCommit) AssociateApprovalRuleTemplateWithRepositoryWithContext(ctx aws.Context, input *AssociateApprovalRuleTemplateWithRepositoryInput, opts ...request.Option) (*AssociateApprovalRuleTemplateWithRepositoryOutput, error)
func (c *CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositories(input *BatchAssociateApprovalRuleTemplateWithRepositoriesInput) (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput, error)
func (c *CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesRequest(input *BatchAssociateApprovalRuleTemplateWithRepositoriesInput) (req *request.Request, output *BatchAssociateApprovalRuleTemplateWithRepositoriesOutput)
func (c *CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesWithContext(ctx aws.Context, input *BatchAssociateApprovalRuleTemplateWithRepositoriesInput, opts ...request.Option) (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput, error)
func (c *CodeCommit) BatchDescribeMergeConflicts(input *BatchDescribeMergeConflictsInput) (*BatchDescribeMergeConflictsOutput, error)
func (c *CodeCommit) BatchDescribeMergeConflictsRequest(input *BatchDescribeMergeConflictsInput) (req *request.Request, output *BatchDescribeMergeConflictsOutput)
func (c *CodeCommit) BatchDescribeMergeConflictsWithContext(ctx aws.Context, input *BatchDescribeMergeConflictsInput, opts ...request.Option) (*BatchDescribeMergeConflictsOutput, error)
func (c *CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositories(input *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, error)
func (c *CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest(input *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) (req *request.Request, output *BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput)
func (c *CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesWithContext(ctx aws.Context, input *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput, opts ...request.Option) (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, error)
func (c *CodeCommit) BatchGetCommits(input *BatchGetCommitsInput) (*BatchGetCommitsOutput, error)
func (c *CodeCommit) BatchGetCommitsRequest(input *BatchGetCommitsInput) (req *request.Request, output *BatchGetCommitsOutput)
func (c *CodeCommit) BatchGetCommitsWithContext(ctx aws.Context, input *BatchGetCommitsInput, opts ...request.Option) (*BatchGetCommitsOutput, error)
func (c *CodeCommit) BatchGetRepositories(input *BatchGetRepositoriesInput) (*BatchGetRepositoriesOutput, error)
func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInput) (req *request.Request, output *BatchGetRepositoriesOutput)
func (c *CodeCommit) BatchGetRepositoriesWithContext(ctx aws.Context, input *BatchGetRepositoriesInput, opts ...request.Option) (*BatchGetRepositoriesOutput, error)
func (c *CodeCommit) CreateApprovalRuleTemplate(input *CreateApprovalRuleTemplateInput) (*CreateApprovalRuleTemplateOutput, error)
func (c *CodeCommit) CreateApprovalRuleTemplateRequest(input *CreateApprovalRuleTemplateInput) (req *request.Request, output *CreateApprovalRuleTemplateOutput)
func (c *CodeCommit) CreateApprovalRuleTemplateWithContext(ctx aws.Context, input *CreateApprovalRuleTemplateInput, opts ...request.Option) (*CreateApprovalRuleTemplateOutput, error)
func (c *CodeCommit) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error)
func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput)
func (c *CodeCommit) CreateBranchWithContext(ctx aws.Context, input *CreateBranchInput, opts ...request.Option) (*CreateBranchOutput, error)
func (c *CodeCommit) CreateCommit(input *CreateCommitInput) (*CreateCommitOutput, error)
func (c *CodeCommit) CreateCommitRequest(input *CreateCommitInput) (req *request.Request, output *CreateCommitOutput)
func (c *CodeCommit) CreateCommitWithContext(ctx aws.Context, input *CreateCommitInput, opts ...request.Option) (*CreateCommitOutput, error)
func (c *CodeCommit) CreatePullRequest(input *CreatePullRequestInput) (*CreatePullRequestOutput, error)
func (c *CodeCommit) CreatePullRequestApprovalRule(input *CreatePullRequestApprovalRuleInput) (*CreatePullRequestApprovalRuleOutput, error)
func (c *CodeCommit) CreatePullRequestApprovalRuleRequest(input *CreatePullRequestApprovalRuleInput) (req *request.Request, output *CreatePullRequestApprovalRuleOutput)
func (c *CodeCommit) CreatePullRequestApprovalRuleWithContext(ctx aws.Context, input *CreatePullRequestApprovalRuleInput, opts ...request.Option) (*CreatePullRequestApprovalRuleOutput, error)
func (c *CodeCommit) CreatePullRequestRequest(input *CreatePullRequestInput) (req *request.Request, output *CreatePullRequestOutput)
func (c *CodeCommit) CreatePullRequestWithContext(ctx aws.Context, input *CreatePullRequestInput, opts ...request.Option) (*CreatePullRequestOutput, error)
func (c *CodeCommit) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)
func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)
func (c *CodeCommit) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)
func (c *CodeCommit) CreateUnreferencedMergeCommit(input *CreateUnreferencedMergeCommitInput) (*CreateUnreferencedMergeCommitOutput, error)
func (c *CodeCommit) CreateUnreferencedMergeCommitRequest(input *CreateUnreferencedMergeCommitInput) (req *request.Request, output *CreateUnreferencedMergeCommitOutput)
func (c *CodeCommit) CreateUnreferencedMergeCommitWithContext(ctx aws.Context, input *CreateUnreferencedMergeCommitInput, opts ...request.Option) (*CreateUnreferencedMergeCommitOutput, error)
func (c *CodeCommit) DeleteApprovalRuleTemplate(input *DeleteApprovalRuleTemplateInput) (*DeleteApprovalRuleTemplateOutput, error)
func (c *CodeCommit) DeleteApprovalRuleTemplateRequest(input *DeleteApprovalRuleTemplateInput) (req *request.Request, output *DeleteApprovalRuleTemplateOutput)
func (c *CodeCommit) DeleteApprovalRuleTemplateWithContext(ctx aws.Context, input *DeleteApprovalRuleTemplateInput, opts ...request.Option) (*DeleteApprovalRuleTemplateOutput, error)
func (c *CodeCommit) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error)
func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Request, output *DeleteBranchOutput)
func (c *CodeCommit) DeleteBranchWithContext(ctx aws.Context, input *DeleteBranchInput, opts ...request.Option) (*DeleteBranchOutput, error)
func (c *CodeCommit) DeleteCommentContent(input *DeleteCommentContentInput) (*DeleteCommentContentOutput, error)
func (c *CodeCommit) DeleteCommentContentRequest(input *DeleteCommentContentInput) (req *request.Request, output *DeleteCommentContentOutput)
func (c *CodeCommit) DeleteCommentContentWithContext(ctx aws.Context, input *DeleteCommentContentInput, opts ...request.Option) (*DeleteCommentContentOutput, error)
func (c *CodeCommit) DeleteFile(input *DeleteFileInput) (*DeleteFileOutput, error)
func (c *CodeCommit) DeleteFileRequest(input *DeleteFileInput) (req *request.Request, output *DeleteFileOutput)
func (c *CodeCommit) DeleteFileWithContext(ctx aws.Context, input *DeleteFileInput, opts ...request.Option) (*DeleteFileOutput, error)
func (c *CodeCommit) DeletePullRequestApprovalRule(input *DeletePullRequestApprovalRuleInput) (*DeletePullRequestApprovalRuleOutput, error)
func (c *CodeCommit) DeletePullRequestApprovalRuleRequest(input *DeletePullRequestApprovalRuleInput) (req *request.Request, output *DeletePullRequestApprovalRuleOutput)
func (c *CodeCommit) DeletePullRequestApprovalRuleWithContext(ctx aws.Context, input *DeletePullRequestApprovalRuleInput, opts ...request.Option) (*DeletePullRequestApprovalRuleOutput, error)
func (c *CodeCommit) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)
func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)
func (c *CodeCommit) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)
func (c *CodeCommit) DescribeMergeConflicts(input *DescribeMergeConflictsInput) (*DescribeMergeConflictsOutput, error)
func (c *CodeCommit) DescribeMergeConflictsPages(input *DescribeMergeConflictsInput, fn func(*DescribeMergeConflictsOutput, bool) bool) error
func (c *CodeCommit) DescribeMergeConflictsPagesWithContext(ctx aws.Context, input *DescribeMergeConflictsInput, fn func(*DescribeMergeConflictsOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) DescribeMergeConflictsRequest(input *DescribeMergeConflictsInput) (req *request.Request, output *DescribeMergeConflictsOutput)
func (c *CodeCommit) DescribeMergeConflictsWithContext(ctx aws.Context, input *DescribeMergeConflictsInput, opts ...request.Option) (*DescribeMergeConflictsOutput, error)
func (c *CodeCommit) DescribePullRequestEvents(input *DescribePullRequestEventsInput) (*DescribePullRequestEventsOutput, error)
func (c *CodeCommit) DescribePullRequestEventsPages(input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool) error
func (c *CodeCommit) DescribePullRequestEventsPagesWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) DescribePullRequestEventsRequest(input *DescribePullRequestEventsInput) (req *request.Request, output *DescribePullRequestEventsOutput)
func (c *CodeCommit) DescribePullRequestEventsWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, opts ...request.Option) (*DescribePullRequestEventsOutput, error)
func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepository(input *DisassociateApprovalRuleTemplateFromRepositoryInput) (*DisassociateApprovalRuleTemplateFromRepositoryOutput, error)
func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryRequest(input *DisassociateApprovalRuleTemplateFromRepositoryInput) (req *request.Request, output *DisassociateApprovalRuleTemplateFromRepositoryOutput)
func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryWithContext(ctx aws.Context, input *DisassociateApprovalRuleTemplateFromRepositoryInput, opts ...request.Option) (*DisassociateApprovalRuleTemplateFromRepositoryOutput, error)
func (c *CodeCommit) EvaluatePullRequestApprovalRules(input *EvaluatePullRequestApprovalRulesInput) (*EvaluatePullRequestApprovalRulesOutput, error)
func (c *CodeCommit) EvaluatePullRequestApprovalRulesRequest(input *EvaluatePullRequestApprovalRulesInput) (req *request.Request, output *EvaluatePullRequestApprovalRulesOutput)
func (c *CodeCommit) EvaluatePullRequestApprovalRulesWithContext(ctx aws.Context, input *EvaluatePullRequestApprovalRulesInput, opts ...request.Option) (*EvaluatePullRequestApprovalRulesOutput, error)
func (c *CodeCommit) GetApprovalRuleTemplate(input *GetApprovalRuleTemplateInput) (*GetApprovalRuleTemplateOutput, error)
func (c *CodeCommit) GetApprovalRuleTemplateRequest(input *GetApprovalRuleTemplateInput) (req *request.Request, output *GetApprovalRuleTemplateOutput)
func (c *CodeCommit) GetApprovalRuleTemplateWithContext(ctx aws.Context, input *GetApprovalRuleTemplateInput, opts ...request.Option) (*GetApprovalRuleTemplateOutput, error)
func (c *CodeCommit) GetBlob(input *GetBlobInput) (*GetBlobOutput, error)
func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, output *GetBlobOutput)
func (c *CodeCommit) GetBlobWithContext(ctx aws.Context, input *GetBlobInput, opts ...request.Option) (*GetBlobOutput, error)
func (c *CodeCommit) GetBranch(input *GetBranchInput) (*GetBranchOutput, error)
func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput)
func (c *CodeCommit) GetBranchWithContext(ctx aws.Context, input *GetBranchInput, opts ...request.Option) (*GetBranchOutput, error)
func (c *CodeCommit) GetComment(input *GetCommentInput) (*GetCommentOutput, error)
func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Request, output *GetCommentOutput)
func (c *CodeCommit) GetCommentWithContext(ctx aws.Context, input *GetCommentInput, opts ...request.Option) (*GetCommentOutput, error)
func (c *CodeCommit) GetCommentsForComparedCommit(input *GetCommentsForComparedCommitInput) (*GetCommentsForComparedCommitOutput, error)
func (c *CodeCommit) GetCommentsForComparedCommitPages(input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool) error
func (c *CodeCommit) GetCommentsForComparedCommitPagesWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) GetCommentsForComparedCommitRequest(input *GetCommentsForComparedCommitInput) (req *request.Request, output *GetCommentsForComparedCommitOutput)
func (c *CodeCommit) GetCommentsForComparedCommitWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, opts ...request.Option) (*GetCommentsForComparedCommitOutput, error)
func (c *CodeCommit) GetCommentsForPullRequest(input *GetCommentsForPullRequestInput) (*GetCommentsForPullRequestOutput, error)
func (c *CodeCommit) GetCommentsForPullRequestPages(input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool) error
func (c *CodeCommit) GetCommentsForPullRequestPagesWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) GetCommentsForPullRequestRequest(input *GetCommentsForPullRequestInput) (req *request.Request, output *GetCommentsForPullRequestOutput)
func (c *CodeCommit) GetCommentsForPullRequestWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, opts ...request.Option) (*GetCommentsForPullRequestOutput, error)
func (c *CodeCommit) GetCommit(input *GetCommitInput) (*GetCommitOutput, error)
func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Request, output *GetCommitOutput)
func (c *CodeCommit) GetCommitWithContext(ctx aws.Context, input *GetCommitInput, opts ...request.Option) (*GetCommitOutput, error)
func (c *CodeCommit) GetDifferences(input *GetDifferencesInput) (*GetDifferencesOutput, error)
func (c *CodeCommit) GetDifferencesPages(input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool) error
func (c *CodeCommit) GetDifferencesPagesWithContext(ctx aws.Context, input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *request.Request, output *GetDifferencesOutput)
func (c *CodeCommit) GetDifferencesWithContext(ctx aws.Context, input *GetDifferencesInput, opts ...request.Option) (*GetDifferencesOutput, error)
func (c *CodeCommit) GetFile(input *GetFileInput) (*GetFileOutput, error)
func (c *CodeCommit) GetFileRequest(input *GetFileInput) (req *request.Request, output *GetFileOutput)
func (c *CodeCommit) GetFileWithContext(ctx aws.Context, input *GetFileInput, opts ...request.Option) (*GetFileOutput, error)
func (c *CodeCommit) GetFolder(input *GetFolderInput) (*GetFolderOutput, error)
func (c *CodeCommit) GetFolderRequest(input *GetFolderInput) (req *request.Request, output *GetFolderOutput)
func (c *CodeCommit) GetFolderWithContext(ctx aws.Context, input *GetFolderInput, opts ...request.Option) (*GetFolderOutput, error)
func (c *CodeCommit) GetMergeCommit(input *GetMergeCommitInput) (*GetMergeCommitOutput, error)
func (c *CodeCommit) GetMergeCommitRequest(input *GetMergeCommitInput) (req *request.Request, output *GetMergeCommitOutput)
func (c *CodeCommit) GetMergeCommitWithContext(ctx aws.Context, input *GetMergeCommitInput, opts ...request.Option) (*GetMergeCommitOutput, error)
func (c *CodeCommit) GetMergeConflicts(input *GetMergeConflictsInput) (*GetMergeConflictsOutput, error)
func (c *CodeCommit) GetMergeConflictsPages(input *GetMergeConflictsInput, fn func(*GetMergeConflictsOutput, bool) bool) error
func (c *CodeCommit) GetMergeConflictsPagesWithContext(ctx aws.Context, input *GetMergeConflictsInput, fn func(*GetMergeConflictsOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) GetMergeConflictsRequest(input *GetMergeConflictsInput) (req *request.Request, output *GetMergeConflictsOutput)
func (c *CodeCommit) GetMergeConflictsWithContext(ctx aws.Context, input *GetMergeConflictsInput, opts ...request.Option) (*GetMergeConflictsOutput, error)
func (c *CodeCommit) GetMergeOptions(input *GetMergeOptionsInput) (*GetMergeOptionsOutput, error)
func (c *CodeCommit) GetMergeOptionsRequest(input *GetMergeOptionsInput) (req *request.Request, output *GetMergeOptionsOutput)
func (c *CodeCommit) GetMergeOptionsWithContext(ctx aws.Context, input *GetMergeOptionsInput, opts ...request.Option) (*GetMergeOptionsOutput, error)
func (c *CodeCommit) GetPullRequest(input *GetPullRequestInput) (*GetPullRequestOutput, error)
func (c *CodeCommit) GetPullRequestApprovalStates(input *GetPullRequestApprovalStatesInput) (*GetPullRequestApprovalStatesOutput, error)
func (c *CodeCommit) GetPullRequestApprovalStatesRequest(input *GetPullRequestApprovalStatesInput) (req *request.Request, output *GetPullRequestApprovalStatesOutput)
func (c *CodeCommit) GetPullRequestApprovalStatesWithContext(ctx aws.Context, input *GetPullRequestApprovalStatesInput, opts ...request.Option) (*GetPullRequestApprovalStatesOutput, error)
func (c *CodeCommit) GetPullRequestOverrideState(input *GetPullRequestOverrideStateInput) (*GetPullRequestOverrideStateOutput, error)
func (c *CodeCommit) GetPullRequestOverrideStateRequest(input *GetPullRequestOverrideStateInput) (req *request.Request, output *GetPullRequestOverrideStateOutput)
func (c *CodeCommit) GetPullRequestOverrideStateWithContext(ctx aws.Context, input *GetPullRequestOverrideStateInput, opts ...request.Option) (*GetPullRequestOverrideStateOutput, error)
func (c *CodeCommit) GetPullRequestRequest(input *GetPullRequestInput) (req *request.Request, output *GetPullRequestOutput)
func (c *CodeCommit) GetPullRequestWithContext(ctx aws.Context, input *GetPullRequestInput, opts ...request.Option) (*GetPullRequestOutput, error)
func (c *CodeCommit) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error)
func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput)
func (c *CodeCommit) GetRepositoryTriggers(input *GetRepositoryTriggersInput) (*GetRepositoryTriggersOutput, error)
func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) (req *request.Request, output *GetRepositoryTriggersOutput)
func (c *CodeCommit) GetRepositoryTriggersWithContext(ctx aws.Context, input *GetRepositoryTriggersInput, opts ...request.Option) (*GetRepositoryTriggersOutput, error)
func (c *CodeCommit) GetRepositoryWithContext(ctx aws.Context, input *GetRepositoryInput, opts ...request.Option) (*GetRepositoryOutput, error)
func (c *CodeCommit) ListApprovalRuleTemplates(input *ListApprovalRuleTemplatesInput) (*ListApprovalRuleTemplatesOutput, error)
func (c *CodeCommit) ListApprovalRuleTemplatesPages(input *ListApprovalRuleTemplatesInput, fn func(*ListApprovalRuleTemplatesOutput, bool) bool) error
func (c *CodeCommit) ListApprovalRuleTemplatesPagesWithContext(ctx aws.Context, input *ListApprovalRuleTemplatesInput, fn func(*ListApprovalRuleTemplatesOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) ListApprovalRuleTemplatesRequest(input *ListApprovalRuleTemplatesInput) (req *request.Request, output *ListApprovalRuleTemplatesOutput)
func (c *CodeCommit) ListApprovalRuleTemplatesWithContext(ctx aws.Context, input *ListApprovalRuleTemplatesInput, opts ...request.Option) (*ListApprovalRuleTemplatesOutput, error)
func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepository(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput) (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, error)
func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPages(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, fn func(*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, bool) bool) error
func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPagesWithContext(ctx aws.Context, input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, fn func(*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryRequest(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput) (req *request.Request, output *ListAssociatedApprovalRuleTemplatesForRepositoryOutput)
func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryWithContext(ctx aws.Context, input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, opts ...request.Option) (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, error)
func (c *CodeCommit) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error)
func (c *CodeCommit) ListBranchesPages(input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool) error
func (c *CodeCommit) ListBranchesPagesWithContext(ctx aws.Context, input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput)
func (c *CodeCommit) ListBranchesWithContext(ctx aws.Context, input *ListBranchesInput, opts ...request.Option) (*ListBranchesOutput, error)
func (c *CodeCommit) ListPullRequests(input *ListPullRequestsInput) (*ListPullRequestsOutput, error)
func (c *CodeCommit) ListPullRequestsPages(input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool) error
func (c *CodeCommit) ListPullRequestsPagesWithContext(ctx aws.Context, input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) ListPullRequestsRequest(input *ListPullRequestsInput) (req *request.Request, output *ListPullRequestsOutput)
func (c *CodeCommit) ListPullRequestsWithContext(ctx aws.Context, input *ListPullRequestsInput, opts ...request.Option) (*ListPullRequestsOutput, error)
func (c *CodeCommit) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error)
func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplate(input *ListRepositoriesForApprovalRuleTemplateInput) (*ListRepositoriesForApprovalRuleTemplateOutput, error)
func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplatePages(input *ListRepositoriesForApprovalRuleTemplateInput, fn func(*ListRepositoriesForApprovalRuleTemplateOutput, bool) bool) error
func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplatePagesWithContext(ctx aws.Context, input *ListRepositoriesForApprovalRuleTemplateInput, fn func(*ListRepositoriesForApprovalRuleTemplateOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplateRequest(input *ListRepositoriesForApprovalRuleTemplateInput) (req *request.Request, output *ListRepositoriesForApprovalRuleTemplateOutput)
func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplateWithContext(ctx aws.Context, input *ListRepositoriesForApprovalRuleTemplateInput, opts ...request.Option) (*ListRepositoriesForApprovalRuleTemplateOutput, error)
func (c *CodeCommit) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error
func (c *CodeCommit) ListRepositoriesPagesWithContext(ctx aws.Context, input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool, opts ...request.Option) error
func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput)
func (c *CodeCommit) ListRepositoriesWithContext(ctx aws.Context, input *ListRepositoriesInput, opts ...request.Option) (*ListRepositoriesOutput, error)
func (c *CodeCommit) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
func (c *CodeCommit) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
func (c *CodeCommit) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
func (c *CodeCommit) MergeBranchesByFastForward(input *MergeBranchesByFastForwardInput) (*MergeBranchesByFastForwardOutput, error)
func (c *CodeCommit) MergeBranchesByFastForwardRequest(input *MergeBranchesByFastForwardInput) (req *request.Request, output *MergeBranchesByFastForwardOutput)
func (c *CodeCommit) MergeBranchesByFastForwardWithContext(ctx aws.Context, input *MergeBranchesByFastForwardInput, opts ...request.Option) (*MergeBranchesByFastForwardOutput, error)
func (c *CodeCommit) MergeBranchesBySquash(input *MergeBranchesBySquashInput) (*MergeBranchesBySquashOutput, error)
func (c *CodeCommit) MergeBranchesBySquashRequest(input *MergeBranchesBySquashInput) (req *request.Request, output *MergeBranchesBySquashOutput)
func (c *CodeCommit) MergeBranchesBySquashWithContext(ctx aws.Context, input *MergeBranchesBySquashInput, opts ...request.Option) (*MergeBranchesBySquashOutput, error)
func (c *CodeCommit) MergeBranchesByThreeWay(input *MergeBranchesByThreeWayInput) (*MergeBranchesByThreeWayOutput, error)
func (c *CodeCommit) MergeBranchesByThreeWayRequest(input *MergeBranchesByThreeWayInput) (req *request.Request, output *MergeBranchesByThreeWayOutput)
func (c *CodeCommit) MergeBranchesByThreeWayWithContext(ctx aws.Context, input *MergeBranchesByThreeWayInput, opts ...request.Option) (*MergeBranchesByThreeWayOutput, error)
func (c *CodeCommit) MergePullRequestByFastForward(input *MergePullRequestByFastForwardInput) (*MergePullRequestByFastForwardOutput, error)
func (c *CodeCommit) MergePullRequestByFastForwardRequest(input *MergePullRequestByFastForwardInput) (req *request.Request, output *MergePullRequestByFastForwardOutput)
func (c *CodeCommit) MergePullRequestByFastForwardWithContext(ctx aws.Context, input *MergePullRequestByFastForwardInput, opts ...request.Option) (*MergePullRequestByFastForwardOutput, error)
func (c *CodeCommit) MergePullRequestBySquash(input *MergePullRequestBySquashInput) (*MergePullRequestBySquashOutput, error)
func (c *CodeCommit) MergePullRequestBySquashRequest(input *MergePullRequestBySquashInput) (req *request.Request, output *MergePullRequestBySquashOutput)
func (c *CodeCommit) MergePullRequestBySquashWithContext(ctx aws.Context, input *MergePullRequestBySquashInput, opts ...request.Option) (*MergePullRequestBySquashOutput, error)
func (c *CodeCommit) MergePullRequestByThreeWay(input *MergePullRequestByThreeWayInput) (*MergePullRequestByThreeWayOutput, error)
func (c *CodeCommit) MergePullRequestByThreeWayRequest(input *MergePullRequestByThreeWayInput) (req *request.Request, output *MergePullRequestByThreeWayOutput)
func (c *CodeCommit) MergePullRequestByThreeWayWithContext(ctx aws.Context, input *MergePullRequestByThreeWayInput, opts ...request.Option) (*MergePullRequestByThreeWayOutput, error)
func (c *CodeCommit) OverridePullRequestApprovalRules(input *OverridePullRequestApprovalRulesInput) (*OverridePullRequestApprovalRulesOutput, error)
func (c *CodeCommit) OverridePullRequestApprovalRulesRequest(input *OverridePullRequestApprovalRulesInput) (req *request.Request, output *OverridePullRequestApprovalRulesOutput)
func (c *CodeCommit) OverridePullRequestApprovalRulesWithContext(ctx aws.Context, input *OverridePullRequestApprovalRulesInput, opts ...request.Option) (*OverridePullRequestApprovalRulesOutput, error)
func (c *CodeCommit) PostCommentForComparedCommit(input *PostCommentForComparedCommitInput) (*PostCommentForComparedCommitOutput, error)
func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForComparedCommitInput) (req *request.Request, output *PostCommentForComparedCommitOutput)
func (c *CodeCommit) PostCommentForComparedCommitWithContext(ctx aws.Context, input *PostCommentForComparedCommitInput, opts ...request.Option) (*PostCommentForComparedCommitOutput, error)
func (c *CodeCommit) PostCommentForPullRequest(input *PostCommentForPullRequestInput) (*PostCommentForPullRequestOutput, error)
func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullRequestInput) (req *request.Request, output *PostCommentForPullRequestOutput)
func (c *CodeCommit) PostCommentForPullRequestWithContext(ctx aws.Context, input *PostCommentForPullRequestInput, opts ...request.Option) (*PostCommentForPullRequestOutput, error)
func (c *CodeCommit) PostCommentReply(input *PostCommentReplyInput) (*PostCommentReplyOutput, error)
func (c *CodeCommit) PostCommentReplyRequest(input *PostCommentReplyInput) (req *request.Request, output *PostCommentReplyOutput)
func (c *CodeCommit) PostCommentReplyWithContext(ctx aws.Context, input *PostCommentReplyInput, opts ...request.Option) (*PostCommentReplyOutput, error)
func (c *CodeCommit) PutFile(input *PutFileInput) (*PutFileOutput, error)
func (c *CodeCommit) PutFileRequest(input *PutFileInput) (req *request.Request, output *PutFileOutput)
func (c *CodeCommit) PutFileWithContext(ctx aws.Context, input *PutFileInput, opts ...request.Option) (*PutFileOutput, error)
func (c *CodeCommit) PutRepositoryTriggers(input *PutRepositoryTriggersInput) (*PutRepositoryTriggersOutput, error)
func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) (req *request.Request, output *PutRepositoryTriggersOutput)
func (c *CodeCommit) PutRepositoryTriggersWithContext(ctx aws.Context, input *PutRepositoryTriggersInput, opts ...request.Option) (*PutRepositoryTriggersOutput, error)
func (c *CodeCommit) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
func (c *CodeCommit) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
func (c *CodeCommit) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
func (c *CodeCommit) TestRepositoryTriggers(input *TestRepositoryTriggersInput) (*TestRepositoryTriggersOutput, error)
func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) (req *request.Request, output *TestRepositoryTriggersOutput)
func (c *CodeCommit) TestRepositoryTriggersWithContext(ctx aws.Context, input *TestRepositoryTriggersInput, opts ...request.Option) (*TestRepositoryTriggersOutput, error)
func (c *CodeCommit) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
func (c *CodeCommit) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
func (c *CodeCommit) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
func (c *CodeCommit) UpdateApprovalRuleTemplateContent(input *UpdateApprovalRuleTemplateContentInput) (*UpdateApprovalRuleTemplateContentOutput, error)
func (c *CodeCommit) UpdateApprovalRuleTemplateContentRequest(input *UpdateApprovalRuleTemplateContentInput) (req *request.Request, output *UpdateApprovalRuleTemplateContentOutput)
func (c *CodeCommit) UpdateApprovalRuleTemplateContentWithContext(ctx aws.Context, input *UpdateApprovalRuleTemplateContentInput, opts ...request.Option) (*UpdateApprovalRuleTemplateContentOutput, error)
func (c *CodeCommit) UpdateApprovalRuleTemplateDescription(input *UpdateApprovalRuleTemplateDescriptionInput) (*UpdateApprovalRuleTemplateDescriptionOutput, error)
func (c *CodeCommit) UpdateApprovalRuleTemplateDescriptionRequest(input *UpdateApprovalRuleTemplateDescriptionInput) (req *request.Request, output *UpdateApprovalRuleTemplateDescriptionOutput)
func (c *CodeCommit) UpdateApprovalRuleTemplateDescriptionWithContext(ctx aws.Context, input *UpdateApprovalRuleTemplateDescriptionInput, opts ...request.Option) (*UpdateApprovalRuleTemplateDescriptionOutput, error)
func (c *CodeCommit) UpdateApprovalRuleTemplateName(input *UpdateApprovalRuleTemplateNameInput) (*UpdateApprovalRuleTemplateNameOutput, error)
func (c *CodeCommit) UpdateApprovalRuleTemplateNameRequest(input *UpdateApprovalRuleTemplateNameInput) (req *request.Request, output *UpdateApprovalRuleTemplateNameOutput)
func (c *CodeCommit) UpdateApprovalRuleTemplateNameWithContext(ctx aws.Context, input *UpdateApprovalRuleTemplateNameInput, opts ...request.Option) (*UpdateApprovalRuleTemplateNameOutput, error)
func (c *CodeCommit) UpdateComment(input *UpdateCommentInput) (*UpdateCommentOutput, error)
func (c *CodeCommit) UpdateCommentRequest(input *UpdateCommentInput) (req *request.Request, output *UpdateCommentOutput)
func (c *CodeCommit) UpdateCommentWithContext(ctx aws.Context, input *UpdateCommentInput, opts ...request.Option) (*UpdateCommentOutput, error)
func (c *CodeCommit) UpdateDefaultBranch(input *UpdateDefaultBranchInput) (*UpdateDefaultBranchOutput, error)
func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) (req *request.Request, output *UpdateDefaultBranchOutput)
func (c *CodeCommit) UpdateDefaultBranchWithContext(ctx aws.Context, input *UpdateDefaultBranchInput, opts ...request.Option) (*UpdateDefaultBranchOutput, error)
func (c *CodeCommit) UpdatePullRequestApprovalRuleContent(input *UpdatePullRequestApprovalRuleContentInput) (*UpdatePullRequestApprovalRuleContentOutput, error)
func (c *CodeCommit) UpdatePullRequestApprovalRuleContentRequest(input *UpdatePullRequestApprovalRuleContentInput) (req *request.Request, output *UpdatePullRequestApprovalRuleContentOutput)
func (c *CodeCommit) UpdatePullRequestApprovalRuleContentWithContext(ctx aws.Context, input *UpdatePullRequestApprovalRuleContentInput, opts ...request.Option) (*UpdatePullRequestApprovalRuleContentOutput, error)
func (c *CodeCommit) UpdatePullRequestApprovalState(input *UpdatePullRequestApprovalStateInput) (*UpdatePullRequestApprovalStateOutput, error)
func (c *CodeCommit) UpdatePullRequestApprovalStateRequest(input *UpdatePullRequestApprovalStateInput) (req *request.Request, output *UpdatePullRequestApprovalStateOutput)
func (c *CodeCommit) UpdatePullRequestApprovalStateWithContext(ctx aws.Context, input *UpdatePullRequestApprovalStateInput, opts ...request.Option) (*UpdatePullRequestApprovalStateOutput, error)
func (c *CodeCommit) UpdatePullRequestDescription(input *UpdatePullRequestDescriptionInput) (*UpdatePullRequestDescriptionOutput, error)
func (c *CodeCommit) UpdatePullRequestDescriptionRequest(input *UpdatePullRequestDescriptionInput) (req *request.Request, output *UpdatePullRequestDescriptionOutput)
func (c *CodeCommit) UpdatePullRequestDescriptionWithContext(ctx aws.Context, input *UpdatePullRequestDescriptionInput, opts ...request.Option) (*UpdatePullRequestDescriptionOutput, error)
func (c *CodeCommit) UpdatePullRequestStatus(input *UpdatePullRequestStatusInput) (*UpdatePullRequestStatusOutput, error)
func (c *CodeCommit) UpdatePullRequestStatusRequest(input *UpdatePullRequestStatusInput) (req *request.Request, output *UpdatePullRequestStatusOutput)
func (c *CodeCommit) UpdatePullRequestStatusWithContext(ctx aws.Context, input *UpdatePullRequestStatusInput, opts ...request.Option) (*UpdatePullRequestStatusOutput, error)
func (c *CodeCommit) UpdatePullRequestTitle(input *UpdatePullRequestTitleInput) (*UpdatePullRequestTitleOutput, error)
func (c *CodeCommit) UpdatePullRequestTitleRequest(input *UpdatePullRequestTitleInput) (req *request.Request, output *UpdatePullRequestTitleOutput)
func (c *CodeCommit) UpdatePullRequestTitleWithContext(ctx aws.Context, input *UpdatePullRequestTitleInput, opts ...request.Option) (*UpdatePullRequestTitleOutput, error)
func (c *CodeCommit) UpdateRepositoryDescription(input *UpdateRepositoryDescriptionInput) (*UpdateRepositoryDescriptionOutput, error)
func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) (req *request.Request, output *UpdateRepositoryDescriptionOutput)
func (c *CodeCommit) UpdateRepositoryDescriptionWithContext(ctx aws.Context, input *UpdateRepositoryDescriptionInput, opts ...request.Option) (*UpdateRepositoryDescriptionOutput, error)
func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*UpdateRepositoryNameOutput, error)
func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) (req *request.Request, output *UpdateRepositoryNameOutput)
func (c *CodeCommit) UpdateRepositoryNameWithContext(ctx aws.Context, input *UpdateRepositoryNameInput, opts ...request.Option) (*UpdateRepositoryNameOutput, error)
type ActorDoesNotExistException
type Approval
type ApprovalRule
type ApprovalRuleContentRequiredException
type ApprovalRuleDoesNotExistException
type ApprovalRuleEventMetadata
type ApprovalRuleNameAlreadyExistsException
type ApprovalRuleNameRequiredException
type ApprovalRuleOverriddenEventMetadata
type ApprovalRuleTemplate
type ApprovalRuleTemplateContentRequiredException
type ApprovalRuleTemplateDoesNotExistException
type ApprovalRuleTemplateInUseException
type ApprovalRuleTemplateNameAlreadyExistsException
type ApprovalRuleTemplateNameRequiredException
type ApprovalStateChangedEventMetadata
type ApprovalStateRequiredException
type AssociateApprovalRuleTemplateWithRepositoryInput
type AssociateApprovalRuleTemplateWithRepositoryOutput
type AuthorDoesNotExistException
type BatchAssociateApprovalRuleTemplateWithRepositoriesError
type BatchAssociateApprovalRuleTemplateWithRepositoriesInput
type BatchAssociateApprovalRuleTemplateWithRepositoriesOutput
type BatchDescribeMergeConflictsError
type BatchDescribeMergeConflictsInput
type BatchDescribeMergeConflictsOutput
type BatchDisassociateApprovalRuleTemplateFromRepositoriesError
type BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
type BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput
type BatchGetCommitsError
type BatchGetCommitsInput
type BatchGetCommitsOutput
type BatchGetRepositoriesInput
type BatchGetRepositoriesOutput
type BeforeCommitIdAndAfterCommitIdAreSameException
type BlobIdDoesNotExistException
type BlobIdRequiredException
type BlobMetadata
type BranchDoesNotExistException
type BranchInfo
type BranchNameExistsException
type BranchNameIsTagNameException
type BranchNameRequiredException
type CannotDeleteApprovalRuleFromTemplateException
type CannotModifyApprovalRuleFromTemplateException
type ClientRequestTokenRequiredException
type Comment
type CommentContentRequiredException
type CommentContentSizeLimitExceededException
type CommentDeletedException
type CommentDoesNotExistException
type CommentIdRequiredException
type CommentNotCreatedByCallerException
type CommentsForComparedCommit
type CommentsForPullRequest
type Commit
type CommitDoesNotExistException
type CommitIdDoesNotExistException
type CommitIdRequiredException
type CommitIdsLimitExceededException
type CommitIdsListRequiredException
type CommitMessageLengthExceededException
type CommitRequiredException
type ConcurrentReferenceUpdateException
type Conflict
type ConflictMetadata
type ConflictResolution
type CreateApprovalRuleTemplateInput
type CreateApprovalRuleTemplateOutput
type CreateBranchInput
type CreateBranchOutput
type CreateCommitInput
type CreateCommitOutput
type CreatePullRequestApprovalRuleInput
type CreatePullRequestApprovalRuleOutput
type CreatePullRequestInput
type CreatePullRequestOutput
type CreateRepositoryInput
type CreateRepositoryOutput
type CreateUnreferencedMergeCommitInput
type CreateUnreferencedMergeCommitOutput
type DefaultBranchCannotBeDeletedException
type DeleteApprovalRuleTemplateInput
type DeleteApprovalRuleTemplateOutput
type DeleteBranchInput
type DeleteBranchOutput
type DeleteCommentContentInput
type DeleteCommentContentOutput
type DeleteFileEntry
type DeleteFileInput
type DeleteFileOutput
type DeletePullRequestApprovalRuleInput
type DeletePullRequestApprovalRuleOutput
type DeleteRepositoryInput
type DeleteRepositoryOutput
type DescribeMergeConflictsInput
type DescribeMergeConflictsOutput
type DescribePullRequestEventsInput
type DescribePullRequestEventsOutput
type Difference
type DirectoryNameConflictsWithFileNameException
type DisassociateApprovalRuleTemplateFromRepositoryInput
type DisassociateApprovalRuleTemplateFromRepositoryOutput
type EncryptionIntegrityChecksFailedException
type EncryptionKeyAccessDeniedException
type EncryptionKeyDisabledException
type EncryptionKeyNotFoundException
type EncryptionKeyUnavailableException
type EvaluatePullRequestApprovalRulesInput
type EvaluatePullRequestApprovalRulesOutput
type Evaluation
type File
type FileContentAndSourceFileSpecifiedException
type FileContentRequiredException
type FileContentSizeLimitExceededException
type FileDoesNotExistException
type FileEntryRequiredException
type FileMetadata
type FileModeRequiredException
type FileModes
type FileNameConflictsWithDirectoryNameException
type FilePathConflictsWithSubmodulePathException
type FileSizes
type FileTooLargeException
type Folder
type FolderContentSizeLimitExceededException
type FolderDoesNotExistException
type GetApprovalRuleTemplateInput
type GetApprovalRuleTemplateOutput
type GetBlobInput
type GetBlobOutput
type GetBranchInput
type GetBranchOutput
type GetCommentInput
type GetCommentOutput
type GetCommentsForComparedCommitInput
type GetCommentsForComparedCommitOutput
type GetCommentsForPullRequestInput
type GetCommentsForPullRequestOutput
type GetCommitInput
type GetCommitOutput
type GetDifferencesInput
type GetDifferencesOutput
type GetFileInput
type GetFileOutput
type GetFolderInput
type GetFolderOutput
type GetMergeCommitInput
type GetMergeCommitOutput
type GetMergeConflictsInput
type GetMergeConflictsOutput
type GetMergeOptionsInput
type GetMergeOptionsOutput
type GetPullRequestApprovalStatesInput
type GetPullRequestApprovalStatesOutput
type GetPullRequestInput
type GetPullRequestOutput
type GetPullRequestOverrideStateInput
type GetPullRequestOverrideStateOutput
type GetRepositoryInput
type GetRepositoryOutput
type GetRepositoryTriggersInput
type GetRepositoryTriggersOutput
type IdempotencyParameterMismatchException
type InvalidActorArnException
type InvalidApprovalRuleContentException
type InvalidApprovalRuleNameException
type InvalidApprovalRuleTemplateContentException
type InvalidApprovalRuleTemplateDescriptionException
type InvalidApprovalRuleTemplateNameException
type InvalidApprovalStateException
type InvalidAuthorArnException
type InvalidBlobIdException
type InvalidBranchNameException
type InvalidClientRequestTokenException
type InvalidCommentIdException
type InvalidCommitException
type InvalidCommitIdException
type InvalidConflictDetailLevelException
type InvalidConflictResolutionException
type InvalidConflictResolutionStrategyException
type InvalidContinuationTokenException
type InvalidDeletionParameterException
type InvalidDescriptionException
type InvalidDestinationCommitSpecifierException
type InvalidEmailException
type InvalidFileLocationException
type InvalidFileModeException
type InvalidFilePositionException
type InvalidMaxConflictFilesException
type InvalidMaxMergeHunksException
type InvalidMaxResultsException
type InvalidMergeOptionException
type InvalidOrderException
type InvalidOverrideStatusException
type InvalidParentCommitIdException
type InvalidPathException
type InvalidPullRequestEventTypeException
type InvalidPullRequestIdException
type InvalidPullRequestStatusException
type InvalidPullRequestStatusUpdateException
type InvalidReferenceNameException
type InvalidRelativeFileVersionEnumException
type InvalidReplacementContentException
type InvalidReplacementTypeException
type InvalidRepositoryDescriptionException
type InvalidRepositoryNameException
type InvalidRepositoryTriggerBranchNameException
type InvalidRepositoryTriggerCustomDataException
type InvalidRepositoryTriggerDestinationArnException
type InvalidRepositoryTriggerEventsException
type InvalidRepositoryTriggerNameException
type InvalidRepositoryTriggerRegionException
type InvalidResourceArnException
type InvalidRevisionIdException
type InvalidRuleContentSha256Exception
type InvalidSortByException
type InvalidSourceCommitSpecifierException
type InvalidSystemTagUsageException
type InvalidTagKeysListException
type InvalidTagsMapException
type InvalidTargetBranchException
type InvalidTargetException
type InvalidTargetsException
type InvalidTitleException
type IsBinaryFile
type ListApprovalRuleTemplatesInput
type ListApprovalRuleTemplatesOutput
type ListAssociatedApprovalRuleTemplatesForRepositoryInput
type ListAssociatedApprovalRuleTemplatesForRepositoryOutput
type ListBranchesInput
type ListBranchesOutput
type ListPullRequestsInput
type ListPullRequestsOutput
type ListRepositoriesForApprovalRuleTemplateInput
type ListRepositoriesForApprovalRuleTemplateOutput
type ListRepositoriesInput
type ListRepositoriesOutput
type ListTagsForResourceInput
type ListTagsForResourceOutput
type Location
type ManualMergeRequiredException
type MaximumBranchesExceededException
type MaximumConflictResolutionEntriesExceededException
type MaximumFileContentToLoadExceededException
type MaximumFileEntriesExceededException
type MaximumItemsToCompareExceededException
type MaximumNumberOfApprovalsExceededException
type MaximumOpenPullRequestsExceededException
type MaximumRepositoryNamesExceededException
type MaximumRepositoryTriggersExceededException
type MaximumRuleTemplatesAssociatedWithRepositoryException
type MergeBranchesByFastForwardInput
type MergeBranchesByFastForwardOutput
type MergeBranchesBySquashInput
type MergeBranchesBySquashOutput
type MergeBranchesByThreeWayInput
type MergeBranchesByThreeWayOutput
type MergeHunk
type MergeHunkDetail
type MergeMetadata
type MergeOperations
type MergeOptionRequiredException
type MergePullRequestByFastForwardInput
type MergePullRequestByFastForwardOutput
type MergePullRequestBySquashInput
type MergePullRequestBySquashOutput
type MergePullRequestByThreeWayInput
type MergePullRequestByThreeWayOutput
type MultipleConflictResolutionEntriesException
type MultipleRepositoriesInPullRequestException
type NameLengthExceededException
type NoChangeException
type NumberOfRuleTemplatesExceededException
type NumberOfRulesExceededException
type ObjectTypes
type OriginApprovalRuleTemplate
type OverrideAlreadySetException
type OverridePullRequestApprovalRulesInput
type OverridePullRequestApprovalRulesOutput
type OverrideStatusRequiredException
type ParentCommitDoesNotExistException
type ParentCommitIdOutdatedException
type ParentCommitIdRequiredException
type PathDoesNotExistException
type PathRequiredException
type PostCommentForComparedCommitInput
type PostCommentForComparedCommitOutput
type PostCommentForPullRequestInput
type PostCommentForPullRequestOutput
type PostCommentReplyInput
type PostCommentReplyOutput
type PullRequest
type PullRequestAlreadyClosedException
type PullRequestApprovalRulesNotSatisfiedException
type PullRequestCannotBeApprovedByAuthorException
type PullRequestCreatedEventMetadata
type PullRequestDoesNotExistException
type PullRequestEvent
type PullRequestIdRequiredException
type PullRequestMergedStateChangedEventMetadata
type PullRequestSourceReferenceUpdatedEventMetadata
type PullRequestStatusChangedEventMetadata
type PullRequestStatusRequiredException
type PullRequestTarget
type PutFileEntry
type PutFileEntryConflictException
type PutFileInput
type PutFileOutput
type PutRepositoryTriggersInput
type PutRepositoryTriggersOutput
type ReferenceDoesNotExistException
type ReferenceNameRequiredException
type ReferenceTypeNotSupportedException
type ReplaceContentEntry
type ReplacementContentRequiredException
type ReplacementTypeRequiredException
type RepositoryDoesNotExistException
type RepositoryLimitExceededException
type RepositoryMetadata
type RepositoryNameExistsException
type RepositoryNameIdPair
type RepositoryNameRequiredException
type RepositoryNamesRequiredException
type RepositoryNotAssociatedWithPullRequestException
type RepositoryTrigger
type RepositoryTriggerBranchNameListRequiredException
type RepositoryTriggerDestinationArnRequiredException
type RepositoryTriggerEventsListRequiredException
type RepositoryTriggerExecutionFailure
type RepositoryTriggerNameRequiredException
type RepositoryTriggersListRequiredException
type ResourceArnRequiredException
type RestrictedSourceFileException
type RevisionIdRequiredException
type RevisionNotCurrentException
type SameFileContentException
type SamePathRequestException
type SetFileModeEntry
type SourceAndDestinationAreSameException
type SourceFileOrContentRequiredException
type SourceFileSpecifier
type SubModule
type SymbolicLink
type TagKeysListRequiredException
type TagPolicyException
type TagResourceInput
type TagResourceOutput
type TagsMapRequiredException
type Target
type TargetRequiredException
type TargetsRequiredException
type TestRepositoryTriggersInput
type TestRepositoryTriggersOutput
type TipOfSourceReferenceIsDifferentException
type TipsDivergenceExceededException
type TitleRequiredException
type TooManyTagsException
type UntagResourceInput
type UntagResourceOutput
type UpdateApprovalRuleTemplateContentInput
type UpdateApprovalRuleTemplateContentOutput
type UpdateApprovalRuleTemplateDescriptionInput
type UpdateApprovalRuleTemplateDescriptionOutput
type UpdateApprovalRuleTemplateNameInput
type UpdateApprovalRuleTemplateNameOutput
type UpdateCommentInput
type UpdateCommentOutput
type UpdateDefaultBranchInput
type UpdateDefaultBranchOutput
type UpdatePullRequestApprovalRuleContentInput
type UpdatePullRequestApprovalRuleContentOutput
type UpdatePullRequestApprovalStateInput
type UpdatePullRequestApprovalStateOutput
type UpdatePullRequestDescriptionInput
type UpdatePullRequestDescriptionOutput
type UpdatePullRequestStatusInput
type UpdatePullRequestStatusOutput
type UpdatePullRequestTitleInput
type UpdatePullRequestTitleOutput
type UpdateRepositoryDescriptionInput
type UpdateRepositoryDescriptionOutput
type UpdateRepositoryNameInput
type UpdateRepositoryNameOutput
type UserInfo

Constants ▾

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // ErrCodeApprovalRuleTemplateInUseException for service response error code
    // "ApprovalRuleTemplateInUseException".
    //
    // The approval rule template is associated with one or more repositories. You
    // cannot delete a template that is associated with a repository. Remove all
    // associations, and then try again.
    ErrCodeApprovalRuleTemplateInUseException = "ApprovalRuleTemplateInUseException"

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

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

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

    // ErrCodeAuthorDoesNotExistException for service response error code
    // "AuthorDoesNotExistException".
    //
    // The specified Amazon Resource Name (ARN) does not exist in the 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"

    // ErrCodeBranchNameIsTagNameException for service response error code
    // "BranchNameIsTagNameException".
    //
    // The specified branch name is not valid because it is a tag name. Enter the
    // name of a branch in the repository. For a list of valid branch names, use
    // ListBranches.
    ErrCodeBranchNameIsTagNameException = "BranchNameIsTagNameException"

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

    // ErrCodeCannotDeleteApprovalRuleFromTemplateException for service response error code
    // "CannotDeleteApprovalRuleFromTemplateException".
    //
    // The approval rule cannot be deleted from the pull request because it was
    // created by an approval rule template and applied to the pull request automatically.
    ErrCodeCannotDeleteApprovalRuleFromTemplateException = "CannotDeleteApprovalRuleFromTemplateException"

    // ErrCodeCannotModifyApprovalRuleFromTemplateException for service response error code
    // "CannotModifyApprovalRuleFromTemplateException".
    //
    // The approval rule cannot be modified for the pull request because it was
    // created by an approval rule template and applied to the pull request automatically.
    ErrCodeCannotModifyApprovalRuleFromTemplateException = "CannotModifyApprovalRuleFromTemplateException"

    // ErrCodeClientRequestTokenRequiredException for service response error code
    // "ClientRequestTokenRequiredException".
    //
    // A client request token is required. A client request token is an unique,
    // client-generated idempotency token that, when provided in a request, ensures
    // the request cannot be repeated with a changed parameter. If a request is
    // received with the same parameters and a token is included, the request returns
    // information about the initial request that used that token.
    ErrCodeClientRequestTokenRequiredException = "ClientRequestTokenRequiredException"

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

    // ErrCodeCommentContentSizeLimitExceededException for service response error code
    // "CommentContentSizeLimitExceededException".
    //
    // The comment is too large. Comments are limited to 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 used the correct
    // ID, and then try again.
    ErrCodeCommentDoesNotExistException = "CommentDoesNotExistException"

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

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

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

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

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

    // ErrCodeCommitIdsLimitExceededException for service response error code
    // "CommitIdsLimitExceededException".
    //
    // The maximum number of allowed commit IDs in a batch request is 100. Verify
    // that your batch requests contains no more than 100 commit IDs, and then try
    // again.
    ErrCodeCommitIdsLimitExceededException = "CommitIdsLimitExceededException"

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

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

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

    // ErrCodeConcurrentReferenceUpdateException for service response error code
    // "ConcurrentReferenceUpdateException".
    //
    // The merge cannot be completed because the target branch has been modified.
    // Another user might have modified the target branch while the merge was in
    // progress. Wait a few minutes, and then try again.
    ErrCodeConcurrentReferenceUpdateException = "ConcurrentReferenceUpdateException"

    // ErrCodeDefaultBranchCannotBeDeletedException for service response error code
    // "DefaultBranchCannotBeDeletedException".
    //
    // The specified branch is the default branch for the repository, and cannot
    // be deleted. To delete this branch, you must first set another branch as the
    // default branch.
    ErrCodeDefaultBranchCannotBeDeletedException = "DefaultBranchCannotBeDeletedException"

    // ErrCodeDirectoryNameConflictsWithFileNameException for service response error code
    // "DirectoryNameConflictsWithFileNameException".
    //
    // A file cannot be added to the repository because the specified path name
    // has the same name as a file that already exists in this repository. Either
    // provide a different name for the file, or specify a different path for the
    // file.
    ErrCodeDirectoryNameConflictsWithFileNameException = "DirectoryNameConflictsWithFileNameException"

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

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

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

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

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

    // ErrCodeFileContentAndSourceFileSpecifiedException for service response error code
    // "FileContentAndSourceFileSpecifiedException".
    //
    // The commit cannot be created because both a source file and file content
    // have been specified for the same file. You cannot provide both. Either specify
    // a source file or provide the file content directly.
    ErrCodeFileContentAndSourceFileSpecifiedException = "FileContentAndSourceFileSpecifiedException"

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

    // ErrCodeFileContentSizeLimitExceededException for service response error code
    // "FileContentSizeLimitExceededException".
    //
    // The file cannot be added because it is too large. The maximum file size is
    // 6 MB, and the combined file content change size is 7 MB. Consider making
    // these changes using a Git client.
    ErrCodeFileContentSizeLimitExceededException = "FileContentSizeLimitExceededException"

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

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

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

    // ErrCodeFileNameConflictsWithDirectoryNameException for service response error code
    // "FileNameConflictsWithDirectoryNameException".
    //
    // A file cannot be added to the repository because the specified file name
    // has the same name as a directory in this repository. Either provide another
    // name for the file, or add the file in a directory that does not match the
    // file name.
    ErrCodeFileNameConflictsWithDirectoryNameException = "FileNameConflictsWithDirectoryNameException"

    // ErrCodeFilePathConflictsWithSubmodulePathException for service response error code
    // "FilePathConflictsWithSubmodulePathException".
    //
    // The commit cannot be created because a specified file path points to a submodule.
    // Verify that the destination files have valid file paths that do not point
    // to a submodule.
    ErrCodeFilePathConflictsWithSubmodulePathException = "FilePathConflictsWithSubmodulePathException"

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

    // ErrCodeFolderContentSizeLimitExceededException for service response error code
    // "FolderContentSizeLimitExceededException".
    //
    // The commit cannot be created because at least one of the overall changes
    // in the commit results in a folder whose contents exceed the limit of 6 MB.
    // Either reduce the number and size of your changes, or split the changes across
    // multiple folders.
    ErrCodeFolderContentSizeLimitExceededException = "FolderContentSizeLimitExceededException"

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

    // ErrCodeIdempotencyParameterMismatchException for service response error code
    // "IdempotencyParameterMismatchException".
    //
    // The client request token is not valid. Either the token is not in a valid
    // format, or the token has been used in a previous request and cannot be reused.
    ErrCodeIdempotencyParameterMismatchException = "IdempotencyParameterMismatchException"

    // ErrCodeInvalidActorArnException for service response error code
    // "InvalidActorArnException".
    //
    // The Amazon Resource Name (ARN) is not valid. Make sure that you have provided
    // the full ARN for the user who initiated the change for the pull request,
    // and then try again.
    ErrCodeInvalidActorArnException = "InvalidActorArnException"

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

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

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

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

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

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

    // ErrCodeInvalidAuthorArnException for service response error code
    // "InvalidAuthorArnException".
    //
    // The Amazon Resource Name (ARN) is not valid. Make sure that you have provided
    // the full ARN for the author of the pull request, and then try again.
    ErrCodeInvalidAuthorArnException = "InvalidAuthorArnException"

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

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

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

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

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

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

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

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

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

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

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

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

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

    // ErrCodeInvalidEmailException for service response error code
    // "InvalidEmailException".
    //
    // The specified email address either contains one or more characters that are
    // not allowed, or it exceeds the maximum number of characters allowed for an
    // email address.
    ErrCodeInvalidEmailException = "InvalidEmailException"

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

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

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

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

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

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

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

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

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

    // ErrCodeInvalidParentCommitIdException for service response error code
    // "InvalidParentCommitIdException".
    //
    // The parent commit ID is not valid. The commit ID cannot be empty, and must
    // match the head commit ID for the branch of the repository where you want
    // to add or update a file.
    ErrCodeInvalidParentCommitIdException = "InvalidParentCommitIdException"

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

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

    // ErrCodeInvalidPullRequestIdException for service response error code
    // "InvalidPullRequestIdException".
    //
    // The pull request ID is not valid. Make sure that you have provided the full
    // ID and that the pull request is in the specified repository, and then try
    // again.
    ErrCodeInvalidPullRequestIdException = "InvalidPullRequestIdException"

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

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

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

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

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

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

    // ErrCodeInvalidRepositoryNameException for service response error code
    // "InvalidRepositoryNameException".
    //
    // A specified repository name is not valid.
    //
    // This exception occurs only when a specified repository name is not valid.
    // Other exceptions occur when a required repository parameter is missing, or
    // when a specified repository does not exist.
    ErrCodeInvalidRepositoryNameException = "InvalidRepositoryNameException"

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

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

    // ErrCodeInvalidRepositoryTriggerDestinationArnException for service response error code
    // "InvalidRepositoryTriggerDestinationArnException".
    //
    // The Amazon Resource Name (ARN) for the trigger is not valid for the specified
    // destination. The most common reason for this error is that the ARN does not
    // meet the requirements for the service type.
    ErrCodeInvalidRepositoryTriggerDestinationArnException = "InvalidRepositoryTriggerDestinationArnException"

    // ErrCodeInvalidRepositoryTriggerEventsException for service response error code
    // "InvalidRepositoryTriggerEventsException".
    //
    // One or more events specified for the trigger is not valid. Check to make
    // sure that all events specified match the requirements for allowed events.
    ErrCodeInvalidRepositoryTriggerEventsException = "InvalidRepositoryTriggerEventsException"

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

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

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

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

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

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

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

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

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

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

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

    // ErrCodeInvalidTargetException for service response error code
    // "InvalidTargetException".
    //
    // The target for the pull request is not valid. A target must contain the full
    // values for the repository name, source branch, and destination branch for
    // the pull request.
    ErrCodeInvalidTargetException = "InvalidTargetException"

    // ErrCodeInvalidTargetsException for service response error code
    // "InvalidTargetsException".
    //
    // The targets for the pull request is not valid or not in a valid format. Targets
    // are a list of target objects. Each target object must contain the full values
    // for the repository name, source branch, and destination branch for a pull
    // request.
    ErrCodeInvalidTargetsException = "InvalidTargetsException"

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

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

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

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

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

    // ErrCodeMaximumFileEntriesExceededException for service response error code
    // "MaximumFileEntriesExceededException".
    //
    // The number of specified files to change as part of this commit exceeds the
    // maximum number of files that can be changed in a single commit. Consider
    // using a Git client for these changes.
    ErrCodeMaximumFileEntriesExceededException = "MaximumFileEntriesExceededException"

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

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

    // ErrCodeMaximumOpenPullRequestsExceededException for service response error code
    // "MaximumOpenPullRequestsExceededException".
    //
    // You cannot create the pull request because the repository has too many open
    // pull requests. The maximum number of open pull requests for a repository
    // is 1,000. Close one or more open pull requests, and then try again.
    ErrCodeMaximumOpenPullRequestsExceededException = "MaximumOpenPullRequestsExceededException"

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

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

    // ErrCodeMaximumRuleTemplatesAssociatedWithRepositoryException for service response error code
    // "MaximumRuleTemplatesAssociatedWithRepositoryException".
    //
    // The maximum number of approval rule templates for a repository has been exceeded.
    // You cannot associate more than 25 approval rule templates with a repository.
    ErrCodeMaximumRuleTemplatesAssociatedWithRepositoryException = "MaximumRuleTemplatesAssociatedWithRepositoryException"

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

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

    // ErrCodeMultipleRepositoriesInPullRequestException for service response error code
    // "MultipleRepositoriesInPullRequestException".
    //
    // You cannot include more than one repository in a pull request. Make sure
    // you have specified only one repository name in your request, and then try
    // again.
    ErrCodeMultipleRepositoriesInPullRequestException = "MultipleRepositoriesInPullRequestException"

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

    // ErrCodeNoChangeException for service response error code
    // "NoChangeException".
    //
    // The commit cannot be created because no changes will be made to the repository
    // as a result of this commit. A commit must contain at least one change.
    ErrCodeNoChangeException = "NoChangeException"

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

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

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

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

    // ErrCodeParentCommitDoesNotExistException for service response error code
    // "ParentCommitDoesNotExistException".
    //
    // The parent commit ID is not valid because it does not exist. The specified
    // parent commit ID does not exist in the specified branch of the repository.
    ErrCodeParentCommitDoesNotExistException = "ParentCommitDoesNotExistException"

    // ErrCodeParentCommitIdOutdatedException for service response error code
    // "ParentCommitIdOutdatedException".
    //
    // The file could not be added because the provided parent commit ID is not
    // the current tip of the specified branch. To view the full commit ID of the
    // current head of the branch, use GetBranch.
    ErrCodeParentCommitIdOutdatedException = "ParentCommitIdOutdatedException"

    // ErrCodeParentCommitIdRequiredException for service response error code
    // "ParentCommitIdRequiredException".
    //
    // A parent commit ID is required. To view the full commit ID of a branch in
    // a repository, use GetBranch or a Git command (for example, git pull or git
    // log).
    ErrCodeParentCommitIdRequiredException = "ParentCommitIdRequiredException"

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

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

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

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

    // ErrCodePullRequestCannotBeApprovedByAuthorException for service response error code
    // "PullRequestCannotBeApprovedByAuthorException".
    //
    // The approval cannot be applied because the user approving the pull request
    // matches the user who created the pull request. You cannot approve a pull
    // request that you created.
    ErrCodePullRequestCannotBeApprovedByAuthorException = "PullRequestCannotBeApprovedByAuthorException"

    // ErrCodePullRequestDoesNotExistException for service response error code
    // "PullRequestDoesNotExistException".
    //
    // The pull request ID could not be found. Make sure that you have specified
    // the correct repository name and pull request ID, and then try again.
    ErrCodePullRequestDoesNotExistException = "PullRequestDoesNotExistException"

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

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

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

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

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

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

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

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

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

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

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

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

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

    // ErrCodeRepositoryNotAssociatedWithPullRequestException for service response error code
    // "RepositoryNotAssociatedWithPullRequestException".
    //
    // The repository does not contain any pull requests with that pull request
    // ID. Use GetPullRequest to verify the correct repository name for the pull
    // request ID.
    ErrCodeRepositoryNotAssociatedWithPullRequestException = "RepositoryNotAssociatedWithPullRequestException"

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

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

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

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

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

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

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

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

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

    // ErrCodeSameFileContentException for service response error code
    // "SameFileContentException".
    //
    // The file was not added or updated because the content of the file is exactly
    // the same as the content of that file in the repository and branch that you
    // specified.
    ErrCodeSameFileContentException = "SameFileContentException"

    // ErrCodeSamePathRequestException for service response error code
    // "SamePathRequestException".
    //
    // The commit cannot be created because one or more changes in this commit duplicate
    // actions in the same file path. For example, you cannot make the same delete
    // request to the same file in the same file path twice, or make a delete request
    // and a move request to the same file as part of the same commit.
    ErrCodeSamePathRequestException = "SamePathRequestException"

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

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

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

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

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

    // ErrCodeTargetRequiredException for service response error code
    // "TargetRequiredException".
    //
    // A pull request target is required. It cannot be empty or null. A pull request
    // target must contain the full values for the repository name, source branch,
    // and destination branch for the pull request.
    ErrCodeTargetRequiredException = "TargetRequiredException"

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

    // ErrCodeTipOfSourceReferenceIsDifferentException for service response error code
    // "TipOfSourceReferenceIsDifferentException".
    //
    // The tip of the source branch in the destination repository does not match
    // the tip of the source branch specified in your request. The pull request
    // might have been updated. Make sure that you have the latest changes.
    ErrCodeTipOfSourceReferenceIsDifferentException = "TipOfSourceReferenceIsDifferentException"

    // ErrCodeTipsDivergenceExceededException for service response error code
    // "TipsDivergenceExceededException".
    //
    // The divergence between the tips of the provided commit specifiers is too
    // great to determine whether there might be any merge conflicts. Locally compare
    // the specifiers using git diff or a diff tool.
    ErrCodeTipsDivergenceExceededException = "TipsDivergenceExceededException"

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

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

Service information constants

type ActorDoesNotExistException

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

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

func (ActorDoesNotExistException) Code

func (s ActorDoesNotExistException) Code() string

Code returns the exception type name.

func (ActorDoesNotExistException) Error

func (s ActorDoesNotExistException) Error() string

func (ActorDoesNotExistException) GoString

func (s ActorDoesNotExistException) GoString() string

GoString returns the string representation

func (ActorDoesNotExistException) Message

func (s ActorDoesNotExistException) Message() string

Message returns the exception's message.

func (ActorDoesNotExistException) OrigErr

func (s ActorDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ActorDoesNotExistException) RequestID

func (s ActorDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ActorDoesNotExistException) StatusCode

func (s ActorDoesNotExistException) StatusCode() int

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

func (ActorDoesNotExistException) String

func (s ActorDoesNotExistException) String() string

String returns the string representation

type Approval

type Approval struct {

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

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

Returns information about a specific approval on a pull request.

func (Approval) GoString

func (s Approval) GoString() string

GoString returns the string representation

func (*Approval) SetApprovalState

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

SetApprovalState sets the ApprovalState field's value.

func (*Approval) SetUserArn

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

SetUserArn sets the UserArn field's value.

func (Approval) String

func (s Approval) String() string

String returns the string representation

type ApprovalRule

type ApprovalRule struct {

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

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

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

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

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

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

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

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

Returns information about an approval rule.

func (ApprovalRule) GoString

func (s ApprovalRule) GoString() string

GoString returns the string representation

func (*ApprovalRule) SetApprovalRuleContent

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

SetApprovalRuleContent sets the ApprovalRuleContent field's value.

func (*ApprovalRule) SetApprovalRuleId

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

SetApprovalRuleId sets the ApprovalRuleId field's value.

func (*ApprovalRule) SetApprovalRuleName

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

SetApprovalRuleName sets the ApprovalRuleName field's value.

func (*ApprovalRule) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*ApprovalRule) SetLastModifiedDate

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

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*ApprovalRule) SetLastModifiedUser

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

SetLastModifiedUser sets the LastModifiedUser field's value.

func (*ApprovalRule) SetOriginApprovalRuleTemplate

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

SetOriginApprovalRuleTemplate sets the OriginApprovalRuleTemplate field's value.

func (*ApprovalRule) SetRuleContentSha256

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

SetRuleContentSha256 sets the RuleContentSha256 field's value.

func (ApprovalRule) String

func (s ApprovalRule) String() string

String returns the string representation

type ApprovalRuleContentRequiredException

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

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

func (ApprovalRuleContentRequiredException) Code

func (s ApprovalRuleContentRequiredException) Code() string

Code returns the exception type name.

func (ApprovalRuleContentRequiredException) Error

func (s ApprovalRuleContentRequiredException) Error() string

func (ApprovalRuleContentRequiredException) GoString

func (s ApprovalRuleContentRequiredException) GoString() string

GoString returns the string representation

func (ApprovalRuleContentRequiredException) Message

func (s ApprovalRuleContentRequiredException) Message() string

Message returns the exception's message.

func (ApprovalRuleContentRequiredException) OrigErr

func (s ApprovalRuleContentRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalRuleContentRequiredException) RequestID

func (s ApprovalRuleContentRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalRuleContentRequiredException) StatusCode

func (s ApprovalRuleContentRequiredException) StatusCode() int

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

func (ApprovalRuleContentRequiredException) String

func (s ApprovalRuleContentRequiredException) String() string

String returns the string representation

type ApprovalRuleDoesNotExistException

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

The specified approval rule does not exist.

func (ApprovalRuleDoesNotExistException) Code

func (s ApprovalRuleDoesNotExistException) Code() string

Code returns the exception type name.

func (ApprovalRuleDoesNotExistException) Error

func (s ApprovalRuleDoesNotExistException) Error() string

func (ApprovalRuleDoesNotExistException) GoString

func (s ApprovalRuleDoesNotExistException) GoString() string

GoString returns the string representation

func (ApprovalRuleDoesNotExistException) Message

func (s ApprovalRuleDoesNotExistException) Message() string

Message returns the exception's message.

func (ApprovalRuleDoesNotExistException) OrigErr

func (s ApprovalRuleDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalRuleDoesNotExistException) RequestID

func (s ApprovalRuleDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalRuleDoesNotExistException) StatusCode

func (s ApprovalRuleDoesNotExistException) StatusCode() int

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

func (ApprovalRuleDoesNotExistException) String

func (s ApprovalRuleDoesNotExistException) String() string

String returns the string representation

type ApprovalRuleEventMetadata

type ApprovalRuleEventMetadata struct {

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

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

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

Returns information about an event for an approval rule.

func (ApprovalRuleEventMetadata) GoString

func (s ApprovalRuleEventMetadata) GoString() string

GoString returns the string representation

func (*ApprovalRuleEventMetadata) SetApprovalRuleContent

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

SetApprovalRuleContent sets the ApprovalRuleContent field's value.

func (*ApprovalRuleEventMetadata) SetApprovalRuleId

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

SetApprovalRuleId sets the ApprovalRuleId field's value.

func (*ApprovalRuleEventMetadata) SetApprovalRuleName

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

SetApprovalRuleName sets the ApprovalRuleName field's value.

func (ApprovalRuleEventMetadata) String

func (s ApprovalRuleEventMetadata) String() string

String returns the string representation

type ApprovalRuleNameAlreadyExistsException

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

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

func (ApprovalRuleNameAlreadyExistsException) Code

func (s ApprovalRuleNameAlreadyExistsException) Code() string

Code returns the exception type name.

func (ApprovalRuleNameAlreadyExistsException) Error

func (s ApprovalRuleNameAlreadyExistsException) Error() string

func (ApprovalRuleNameAlreadyExistsException) GoString

func (s ApprovalRuleNameAlreadyExistsException) GoString() string

GoString returns the string representation

func (ApprovalRuleNameAlreadyExistsException) Message

func (s ApprovalRuleNameAlreadyExistsException) Message() string

Message returns the exception's message.

func (ApprovalRuleNameAlreadyExistsException) OrigErr

func (s ApprovalRuleNameAlreadyExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalRuleNameAlreadyExistsException) RequestID

func (s ApprovalRuleNameAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalRuleNameAlreadyExistsException) StatusCode

func (s ApprovalRuleNameAlreadyExistsException) StatusCode() int

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

func (ApprovalRuleNameAlreadyExistsException) String

func (s ApprovalRuleNameAlreadyExistsException) String() string

String returns the string representation

type ApprovalRuleNameRequiredException

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

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

func (ApprovalRuleNameRequiredException) Code

func (s ApprovalRuleNameRequiredException) Code() string

Code returns the exception type name.

func (ApprovalRuleNameRequiredException) Error

func (s ApprovalRuleNameRequiredException) Error() string

func (ApprovalRuleNameRequiredException) GoString

func (s ApprovalRuleNameRequiredException) GoString() string

GoString returns the string representation

func (ApprovalRuleNameRequiredException) Message

func (s ApprovalRuleNameRequiredException) Message() string

Message returns the exception's message.

func (ApprovalRuleNameRequiredException) OrigErr

func (s ApprovalRuleNameRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalRuleNameRequiredException) RequestID

func (s ApprovalRuleNameRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalRuleNameRequiredException) StatusCode

func (s ApprovalRuleNameRequiredException) StatusCode() int

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

func (ApprovalRuleNameRequiredException) String

func (s ApprovalRuleNameRequiredException) String() string

String returns the string representation

type ApprovalRuleOverriddenEventMetadata

type ApprovalRuleOverriddenEventMetadata struct {

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

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

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

func (ApprovalRuleOverriddenEventMetadata) GoString

func (s ApprovalRuleOverriddenEventMetadata) GoString() string

GoString returns the string representation

func (*ApprovalRuleOverriddenEventMetadata) SetOverrideStatus

func (s *ApprovalRuleOverriddenEventMetadata) SetOverrideStatus(v string) *ApprovalRuleOverriddenEventMetadata

SetOverrideStatus sets the OverrideStatus field's value.

func (*ApprovalRuleOverriddenEventMetadata) SetRevisionId

func (s *ApprovalRuleOverriddenEventMetadata) SetRevisionId(v string) *ApprovalRuleOverriddenEventMetadata

SetRevisionId sets the RevisionId field's value.

func (ApprovalRuleOverriddenEventMetadata) String

func (s ApprovalRuleOverriddenEventMetadata) String() string

String returns the string representation

type ApprovalRuleTemplate

type ApprovalRuleTemplate struct {

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

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

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

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

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

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

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

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

Returns information about an approval rule template.

func (ApprovalRuleTemplate) GoString

func (s ApprovalRuleTemplate) GoString() string

GoString returns the string representation

func (*ApprovalRuleTemplate) SetApprovalRuleTemplateContent

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

SetApprovalRuleTemplateContent sets the ApprovalRuleTemplateContent field's value.

func (*ApprovalRuleTemplate) SetApprovalRuleTemplateDescription

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

SetApprovalRuleTemplateDescription sets the ApprovalRuleTemplateDescription field's value.

func (*ApprovalRuleTemplate) SetApprovalRuleTemplateId

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

SetApprovalRuleTemplateId sets the ApprovalRuleTemplateId field's value.

func (*ApprovalRuleTemplate) SetApprovalRuleTemplateName

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

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*ApprovalRuleTemplate) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*ApprovalRuleTemplate) SetLastModifiedDate

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

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*ApprovalRuleTemplate) SetLastModifiedUser

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

SetLastModifiedUser sets the LastModifiedUser field's value.

func (*ApprovalRuleTemplate) SetRuleContentSha256

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

SetRuleContentSha256 sets the RuleContentSha256 field's value.

func (ApprovalRuleTemplate) String

func (s ApprovalRuleTemplate) String() string

String returns the string representation

type ApprovalRuleTemplateContentRequiredException

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

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

func (ApprovalRuleTemplateContentRequiredException) Code

func (s ApprovalRuleTemplateContentRequiredException) Code() string

Code returns the exception type name.

func (ApprovalRuleTemplateContentRequiredException) Error

func (s ApprovalRuleTemplateContentRequiredException) Error() string

func (ApprovalRuleTemplateContentRequiredException) GoString

func (s ApprovalRuleTemplateContentRequiredException) GoString() string

GoString returns the string representation

func (ApprovalRuleTemplateContentRequiredException) Message

func (s ApprovalRuleTemplateContentRequiredException) Message() string

Message returns the exception's message.

func (ApprovalRuleTemplateContentRequiredException) OrigErr

func (s ApprovalRuleTemplateContentRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalRuleTemplateContentRequiredException) RequestID

func (s ApprovalRuleTemplateContentRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalRuleTemplateContentRequiredException) StatusCode

func (s ApprovalRuleTemplateContentRequiredException) StatusCode() int

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

func (ApprovalRuleTemplateContentRequiredException) String

func (s ApprovalRuleTemplateContentRequiredException) String() string

String returns the string representation

type ApprovalRuleTemplateDoesNotExistException

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

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

func (ApprovalRuleTemplateDoesNotExistException) Code

func (s ApprovalRuleTemplateDoesNotExistException) Code() string

Code returns the exception type name.

func (ApprovalRuleTemplateDoesNotExistException) Error

func (s ApprovalRuleTemplateDoesNotExistException) Error() string

func (ApprovalRuleTemplateDoesNotExistException) GoString

func (s ApprovalRuleTemplateDoesNotExistException) GoString() string

GoString returns the string representation

func (ApprovalRuleTemplateDoesNotExistException) Message

func (s ApprovalRuleTemplateDoesNotExistException) Message() string

Message returns the exception's message.

func (ApprovalRuleTemplateDoesNotExistException) OrigErr

func (s ApprovalRuleTemplateDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalRuleTemplateDoesNotExistException) RequestID

func (s ApprovalRuleTemplateDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalRuleTemplateDoesNotExistException) StatusCode

func (s ApprovalRuleTemplateDoesNotExistException) StatusCode() int

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

func (ApprovalRuleTemplateDoesNotExistException) String

func (s ApprovalRuleTemplateDoesNotExistException) String() string

String returns the string representation

type ApprovalRuleTemplateInUseException

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

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

func (ApprovalRuleTemplateInUseException) Code

func (s ApprovalRuleTemplateInUseException) Code() string

Code returns the exception type name.

func (ApprovalRuleTemplateInUseException) Error

func (s ApprovalRuleTemplateInUseException) Error() string

func (ApprovalRuleTemplateInUseException) GoString

func (s ApprovalRuleTemplateInUseException) GoString() string

GoString returns the string representation

func (ApprovalRuleTemplateInUseException) Message

func (s ApprovalRuleTemplateInUseException) Message() string

Message returns the exception's message.

func (ApprovalRuleTemplateInUseException) OrigErr

func (s ApprovalRuleTemplateInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalRuleTemplateInUseException) RequestID

func (s ApprovalRuleTemplateInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalRuleTemplateInUseException) StatusCode

func (s ApprovalRuleTemplateInUseException) StatusCode() int

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

func (ApprovalRuleTemplateInUseException) String

func (s ApprovalRuleTemplateInUseException) String() string

String returns the string representation

type ApprovalRuleTemplateNameAlreadyExistsException

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

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

func (ApprovalRuleTemplateNameAlreadyExistsException) Code

func (s ApprovalRuleTemplateNameAlreadyExistsException) Code() string

Code returns the exception type name.

func (ApprovalRuleTemplateNameAlreadyExistsException) Error

func (s ApprovalRuleTemplateNameAlreadyExistsException) Error() string

func (ApprovalRuleTemplateNameAlreadyExistsException) GoString

func (s ApprovalRuleTemplateNameAlreadyExistsException) GoString() string

GoString returns the string representation

func (ApprovalRuleTemplateNameAlreadyExistsException) Message

func (s ApprovalRuleTemplateNameAlreadyExistsException) Message() string

Message returns the exception's message.

func (ApprovalRuleTemplateNameAlreadyExistsException) OrigErr

func (s ApprovalRuleTemplateNameAlreadyExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalRuleTemplateNameAlreadyExistsException) RequestID

func (s ApprovalRuleTemplateNameAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalRuleTemplateNameAlreadyExistsException) StatusCode

func (s ApprovalRuleTemplateNameAlreadyExistsException) StatusCode() int

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

func (ApprovalRuleTemplateNameAlreadyExistsException) String

func (s ApprovalRuleTemplateNameAlreadyExistsException) String() string

String returns the string representation

type ApprovalRuleTemplateNameRequiredException

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

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

func (ApprovalRuleTemplateNameRequiredException) Code

func (s ApprovalRuleTemplateNameRequiredException) Code() string

Code returns the exception type name.

func (ApprovalRuleTemplateNameRequiredException) Error

func (s ApprovalRuleTemplateNameRequiredException) Error() string

func (ApprovalRuleTemplateNameRequiredException) GoString

func (s ApprovalRuleTemplateNameRequiredException) GoString() string

GoString returns the string representation

func (ApprovalRuleTemplateNameRequiredException) Message

func (s ApprovalRuleTemplateNameRequiredException) Message() string

Message returns the exception's message.

func (ApprovalRuleTemplateNameRequiredException) OrigErr

func (s ApprovalRuleTemplateNameRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalRuleTemplateNameRequiredException) RequestID

func (s ApprovalRuleTemplateNameRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalRuleTemplateNameRequiredException) StatusCode

func (s ApprovalRuleTemplateNameRequiredException) StatusCode() int

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

func (ApprovalRuleTemplateNameRequiredException) String

func (s ApprovalRuleTemplateNameRequiredException) String() string

String returns the string representation

type ApprovalStateChangedEventMetadata

type ApprovalStateChangedEventMetadata struct {

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

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

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

func (ApprovalStateChangedEventMetadata) GoString

func (s ApprovalStateChangedEventMetadata) GoString() string

GoString returns the string representation

func (*ApprovalStateChangedEventMetadata) SetApprovalStatus

func (s *ApprovalStateChangedEventMetadata) SetApprovalStatus(v string) *ApprovalStateChangedEventMetadata

SetApprovalStatus sets the ApprovalStatus field's value.

func (*ApprovalStateChangedEventMetadata) SetRevisionId

func (s *ApprovalStateChangedEventMetadata) SetRevisionId(v string) *ApprovalStateChangedEventMetadata

SetRevisionId sets the RevisionId field's value.

func (ApprovalStateChangedEventMetadata) String

func (s ApprovalStateChangedEventMetadata) String() string

String returns the string representation

type ApprovalStateRequiredException

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

An approval state is required, but was not specified.

func (ApprovalStateRequiredException) Code

func (s ApprovalStateRequiredException) Code() string

Code returns the exception type name.

func (ApprovalStateRequiredException) Error

func (s ApprovalStateRequiredException) Error() string

func (ApprovalStateRequiredException) GoString

func (s ApprovalStateRequiredException) GoString() string

GoString returns the string representation

func (ApprovalStateRequiredException) Message

func (s ApprovalStateRequiredException) Message() string

Message returns the exception's message.

func (ApprovalStateRequiredException) OrigErr

func (s ApprovalStateRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ApprovalStateRequiredException) RequestID

func (s ApprovalStateRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ApprovalStateRequiredException) StatusCode

func (s ApprovalStateRequiredException) StatusCode() int

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

func (ApprovalStateRequiredException) String

func (s ApprovalStateRequiredException) String() string

String returns the string representation

type AssociateApprovalRuleTemplateWithRepositoryInput

type AssociateApprovalRuleTemplateWithRepositoryInput struct {

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

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

func (AssociateApprovalRuleTemplateWithRepositoryInput) GoString

func (s AssociateApprovalRuleTemplateWithRepositoryInput) GoString() string

GoString returns the string representation

func (*AssociateApprovalRuleTemplateWithRepositoryInput) SetApprovalRuleTemplateName

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

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*AssociateApprovalRuleTemplateWithRepositoryInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (AssociateApprovalRuleTemplateWithRepositoryInput) String

func (s AssociateApprovalRuleTemplateWithRepositoryInput) String() string

String returns the string representation

func (*AssociateApprovalRuleTemplateWithRepositoryInput) Validate

func (s *AssociateApprovalRuleTemplateWithRepositoryInput) Validate() error

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

type AssociateApprovalRuleTemplateWithRepositoryOutput

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

func (AssociateApprovalRuleTemplateWithRepositoryOutput) GoString

func (s AssociateApprovalRuleTemplateWithRepositoryOutput) GoString() string

GoString returns the string representation

func (AssociateApprovalRuleTemplateWithRepositoryOutput) String

func (s AssociateApprovalRuleTemplateWithRepositoryOutput) String() string

String returns the string representation

type AuthorDoesNotExistException

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

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

func (AuthorDoesNotExistException) Code

func (s AuthorDoesNotExistException) Code() string

Code returns the exception type name.

func (AuthorDoesNotExistException) Error

func (s AuthorDoesNotExistException) Error() string

func (AuthorDoesNotExistException) GoString

func (s AuthorDoesNotExistException) GoString() string

GoString returns the string representation

func (AuthorDoesNotExistException) Message

func (s AuthorDoesNotExistException) Message() string

Message returns the exception's message.

func (AuthorDoesNotExistException) OrigErr

func (s AuthorDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (AuthorDoesNotExistException) RequestID

func (s AuthorDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (AuthorDoesNotExistException) StatusCode

func (s AuthorDoesNotExistException) StatusCode() int

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

func (AuthorDoesNotExistException) String

func (s AuthorDoesNotExistException) String() string

String returns the string representation

type BatchAssociateApprovalRuleTemplateWithRepositoriesError

type BatchAssociateApprovalRuleTemplateWithRepositoriesError struct {

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

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

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

Returns information about errors in a BatchAssociateApprovalRuleTemplateWithRepositories operation.

func (BatchAssociateApprovalRuleTemplateWithRepositoriesError) GoString

func (s BatchAssociateApprovalRuleTemplateWithRepositoriesError) GoString() string

GoString returns the string representation

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesError) SetErrorCode

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

SetErrorCode sets the ErrorCode field's value.

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesError) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesError) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (BatchAssociateApprovalRuleTemplateWithRepositoriesError) String

func (s BatchAssociateApprovalRuleTemplateWithRepositoriesError) String() string

String returns the string representation

type BatchAssociateApprovalRuleTemplateWithRepositoriesInput

type BatchAssociateApprovalRuleTemplateWithRepositoriesInput struct {

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

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

func (BatchAssociateApprovalRuleTemplateWithRepositoriesInput) GoString

func (s BatchAssociateApprovalRuleTemplateWithRepositoriesInput) GoString() string

GoString returns the string representation

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesInput) SetApprovalRuleTemplateName

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

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesInput) SetRepositoryNames

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

SetRepositoryNames sets the RepositoryNames field's value.

func (BatchAssociateApprovalRuleTemplateWithRepositoriesInput) String

func (s BatchAssociateApprovalRuleTemplateWithRepositoriesInput) String() string

String returns the string representation

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesInput) Validate

func (s *BatchAssociateApprovalRuleTemplateWithRepositoriesInput) Validate() error

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

type BatchAssociateApprovalRuleTemplateWithRepositoriesOutput

type BatchAssociateApprovalRuleTemplateWithRepositoriesOutput struct {

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

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

func (BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) GoString

func (s BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) GoString() string

GoString returns the string representation

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) SetAssociatedRepositoryNames

func (s *BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) SetAssociatedRepositoryNames(v []*string) *BatchAssociateApprovalRuleTemplateWithRepositoriesOutput

SetAssociatedRepositoryNames sets the AssociatedRepositoryNames field's value.

func (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) SetErrors

func (s *BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) SetErrors(v []*BatchAssociateApprovalRuleTemplateWithRepositoriesError) *BatchAssociateApprovalRuleTemplateWithRepositoriesOutput

SetErrors sets the Errors field's value.

func (BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) String

func (s BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) String() string

String returns the string representation

type BatchDescribeMergeConflictsError

type BatchDescribeMergeConflictsError struct {

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

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

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

Returns information about errors in a BatchDescribeMergeConflicts operation.

func (BatchDescribeMergeConflictsError) GoString

func (s BatchDescribeMergeConflictsError) GoString() string

GoString returns the string representation

func (*BatchDescribeMergeConflictsError) SetExceptionName

func (s *BatchDescribeMergeConflictsError) SetExceptionName(v string) *BatchDescribeMergeConflictsError

SetExceptionName sets the ExceptionName field's value.

func (*BatchDescribeMergeConflictsError) SetFilePath

func (s *BatchDescribeMergeConflictsError) SetFilePath(v string) *BatchDescribeMergeConflictsError

SetFilePath sets the FilePath field's value.

func (*BatchDescribeMergeConflictsError) SetMessage

func (s *BatchDescribeMergeConflictsError) SetMessage(v string) *BatchDescribeMergeConflictsError

SetMessage sets the Message field's value.

func (BatchDescribeMergeConflictsError) String

func (s BatchDescribeMergeConflictsError) String() string

String returns the string representation

type BatchDescribeMergeConflictsInput

type BatchDescribeMergeConflictsInput struct {

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

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

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

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

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

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

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

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

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

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

func (BatchDescribeMergeConflictsInput) GoString

func (s BatchDescribeMergeConflictsInput) GoString() string

GoString returns the string representation

func (*BatchDescribeMergeConflictsInput) SetConflictDetailLevel

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

SetConflictDetailLevel sets the ConflictDetailLevel field's value.

func (*BatchDescribeMergeConflictsInput) SetConflictResolutionStrategy

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

SetConflictResolutionStrategy sets the ConflictResolutionStrategy field's value.

func (*BatchDescribeMergeConflictsInput) SetDestinationCommitSpecifier

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

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

func (*BatchDescribeMergeConflictsInput) SetFilePaths

func (s *BatchDescribeMergeConflictsInput) SetFilePaths(v []*string) *BatchDescribeMergeConflictsInput

SetFilePaths sets the FilePaths field's value.

func (*BatchDescribeMergeConflictsInput) SetMaxConflictFiles

func (s *BatchDescribeMergeConflictsInput) SetMaxConflictFiles(v int64) *BatchDescribeMergeConflictsInput

SetMaxConflictFiles sets the MaxConflictFiles field's value.

func (*BatchDescribeMergeConflictsInput) SetMaxMergeHunks

func (s *BatchDescribeMergeConflictsInput) SetMaxMergeHunks(v int64) *BatchDescribeMergeConflictsInput

SetMaxMergeHunks sets the MaxMergeHunks field's value.

func (*BatchDescribeMergeConflictsInput) SetMergeOption

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

SetMergeOption sets the MergeOption field's value.

func (*BatchDescribeMergeConflictsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*BatchDescribeMergeConflictsInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*BatchDescribeMergeConflictsInput) SetSourceCommitSpecifier

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

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

func (BatchDescribeMergeConflictsInput) String

func (s BatchDescribeMergeConflictsInput) String() string

String returns the string representation

func (*BatchDescribeMergeConflictsInput) Validate

func (s *BatchDescribeMergeConflictsInput) Validate() error

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

type BatchDescribeMergeConflictsOutput

type BatchDescribeMergeConflictsOutput struct {

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

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

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

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

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

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

func (BatchDescribeMergeConflictsOutput) GoString

func (s BatchDescribeMergeConflictsOutput) GoString() string

GoString returns the string representation

func (*BatchDescribeMergeConflictsOutput) SetBaseCommitId

func (s *BatchDescribeMergeConflictsOutput) SetBaseCommitId(v string) *BatchDescribeMergeConflictsOutput

SetBaseCommitId sets the BaseCommitId field's value.

func (*BatchDescribeMergeConflictsOutput) SetConflicts

func (s *BatchDescribeMergeConflictsOutput) SetConflicts(v []*Conflict) *BatchDescribeMergeConflictsOutput

SetConflicts sets the Conflicts field's value.

func (*BatchDescribeMergeConflictsOutput) SetDestinationCommitId

func (s *BatchDescribeMergeConflictsOutput) SetDestinationCommitId(v string) *BatchDescribeMergeConflictsOutput

SetDestinationCommitId sets the DestinationCommitId field's value.

func (*BatchDescribeMergeConflictsOutput) SetErrors

func (s *BatchDescribeMergeConflictsOutput) SetErrors(v []*BatchDescribeMergeConflictsError) *BatchDescribeMergeConflictsOutput

SetErrors sets the Errors field's value.

func (*BatchDescribeMergeConflictsOutput) SetNextToken

func (s *BatchDescribeMergeConflictsOutput) SetNextToken(v string) *BatchDescribeMergeConflictsOutput

SetNextToken sets the NextToken field's value.

func (*BatchDescribeMergeConflictsOutput) SetSourceCommitId

func (s *BatchDescribeMergeConflictsOutput) SetSourceCommitId(v string) *BatchDescribeMergeConflictsOutput

SetSourceCommitId sets the SourceCommitId field's value.

func (BatchDescribeMergeConflictsOutput) String

func (s BatchDescribeMergeConflictsOutput) String() string

String returns the string representation

type BatchDisassociateApprovalRuleTemplateFromRepositoriesError

type BatchDisassociateApprovalRuleTemplateFromRepositoriesError struct {

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

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

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

Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation.

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesError) GoString

func (s BatchDisassociateApprovalRuleTemplateFromRepositoriesError) GoString() string

GoString returns the string representation

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesError) SetErrorCode

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

SetErrorCode sets the ErrorCode field's value.

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesError) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesError) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesError) String

func (s BatchDisassociateApprovalRuleTemplateFromRepositoriesError) String() string

String returns the string representation

type BatchDisassociateApprovalRuleTemplateFromRepositoriesInput

type BatchDisassociateApprovalRuleTemplateFromRepositoriesInput struct {

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

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

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) GoString

func (s BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) GoString() string

GoString returns the string representation

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) SetApprovalRuleTemplateName

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

SetApprovalRuleTemplateName sets the ApprovalRuleTemplateName field's value.

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) SetRepositoryNames

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

SetRepositoryNames sets the RepositoryNames field's value.

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) String

func (s BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) String() string

String returns the string representation

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) Validate

func (s *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) Validate() error

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

type BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput

type BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput struct {

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

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

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) GoString

func (s BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) GoString() string

GoString returns the string representation

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) SetDisassociatedRepositoryNames

func (s *BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) SetDisassociatedRepositoryNames(v []*string) *BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput

SetDisassociatedRepositoryNames sets the DisassociatedRepositoryNames field's value.

func (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) SetErrors

func (s *BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) SetErrors(v []*BatchDisassociateApprovalRuleTemplateFromRepositoriesError) *BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput

SetErrors sets the Errors field's value.

func (BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) String

func (s BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) String() string

String returns the string representation

type BatchGetCommitsError

type BatchGetCommitsError struct {

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

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

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

Returns information about errors in a BatchGetCommits operation.

func (BatchGetCommitsError) GoString

func (s BatchGetCommitsError) GoString() string

GoString returns the string representation

func (*BatchGetCommitsError) SetCommitId

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

SetCommitId sets the CommitId field's value.

func (*BatchGetCommitsError) SetErrorCode

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

SetErrorCode sets the ErrorCode field's value.

func (*BatchGetCommitsError) SetErrorMessage

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

SetErrorMessage sets the ErrorMessage field's value.

func (BatchGetCommitsError) String

func (s BatchGetCommitsError) String() string

String returns the string representation

type BatchGetCommitsInput

type BatchGetCommitsInput struct {

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

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

func (BatchGetCommitsInput) GoString

func (s BatchGetCommitsInput) GoString() string

GoString returns the string representation

func (*BatchGetCommitsInput) SetCommitIds

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

SetCommitIds sets the CommitIds field's value.

func (*BatchGetCommitsInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (BatchGetCommitsInput) String

func (s BatchGetCommitsInput) String() string

String returns the string representation

func (*BatchGetCommitsInput) Validate

func (s *BatchGetCommitsInput) Validate() error

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

type BatchGetCommitsOutput

type BatchGetCommitsOutput struct {

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

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

func (BatchGetCommitsOutput) GoString

func (s BatchGetCommitsOutput) GoString() string

GoString returns the string representation

func (*BatchGetCommitsOutput) SetCommits

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

SetCommits sets the Commits field's value.

func (*BatchGetCommitsOutput) SetErrors

func (s *BatchGetCommitsOutput) SetErrors(v []*BatchGetCommitsError) *BatchGetCommitsOutput

SetErrors sets the Errors field's value.

func (BatchGetCommitsOutput) String

func (s BatchGetCommitsOutput) String() string

String returns the string representation

type BatchGetRepositoriesInput

type BatchGetRepositoriesInput struct {

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

Represents the input of a batch get repositories operation.

func (BatchGetRepositoriesInput) GoString

func (s BatchGetRepositoriesInput) GoString() string

GoString returns the string representation

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.

func (BatchGetRepositoriesOutput) GoString

func (s BatchGetRepositoriesOutput) GoString() string

GoString returns the string representation

func (*BatchGetRepositoriesOutput) SetRepositories

func (s *BatchGetRepositoriesOutput) SetRepositories(v []*RepositoryMetadata) *BatchGetRepositoriesOutput

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

func (s BatchGetRepositoriesOutput) String() string

String returns the string representation

type BeforeCommitIdAndAfterCommitIdAreSameException

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

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

func (BeforeCommitIdAndAfterCommitIdAreSameException) Code

func (s BeforeCommitIdAndAfterCommitIdAreSameException) Code() string

Code returns the exception type name.

func (BeforeCommitIdAndAfterCommitIdAreSameException) Error

func (s BeforeCommitIdAndAfterCommitIdAreSameException) Error() string

func (BeforeCommitIdAndAfterCommitIdAreSameException) GoString

func (s BeforeCommitIdAndAfterCommitIdAreSameException) GoString() string

GoString returns the string representation

func (BeforeCommitIdAndAfterCommitIdAreSameException) Message

func (s BeforeCommitIdAndAfterCommitIdAreSameException) Message() string

Message returns the exception's message.

func (BeforeCommitIdAndAfterCommitIdAreSameException) OrigErr

func (s BeforeCommitIdAndAfterCommitIdAreSameException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (BeforeCommitIdAndAfterCommitIdAreSameException) RequestID

func (s BeforeCommitIdAndAfterCommitIdAreSameException) RequestID() string

RequestID returns the service's response RequestID for request.

func (BeforeCommitIdAndAfterCommitIdAreSameException) StatusCode

func (s BeforeCommitIdAndAfterCommitIdAreSameException) StatusCode() int

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

func (BeforeCommitIdAndAfterCommitIdAreSameException) String

func (s BeforeCommitIdAndAfterCommitIdAreSameException) String() string

String returns the string representation

type BlobIdDoesNotExistException

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

The specified blob does not exist.

func (BlobIdDoesNotExistException) Code

func (s BlobIdDoesNotExistException) Code() string

Code returns the exception type name.

func (BlobIdDoesNotExistException) Error

func (s BlobIdDoesNotExistException) Error() string

func (BlobIdDoesNotExistException) GoString

func (s BlobIdDoesNotExistException) GoString() string

GoString returns the string representation

func (BlobIdDoesNotExistException) Message

func (s BlobIdDoesNotExistException) Message() string

Message returns the exception's message.

func (BlobIdDoesNotExistException) OrigErr

func (s BlobIdDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (BlobIdDoesNotExistException) RequestID

func (s BlobIdDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (BlobIdDoesNotExistException) StatusCode

func (s BlobIdDoesNotExistException) StatusCode() int

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

func (BlobIdDoesNotExistException) String

func (s BlobIdDoesNotExistException) String() string

String returns the string representation

type BlobIdRequiredException

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

A blob ID is required, but was not specified.

func (BlobIdRequiredException) Code

func (s BlobIdRequiredException) Code() string

Code returns the exception type name.

func (BlobIdRequiredException) Error

func (s BlobIdRequiredException) Error() string

func (BlobIdRequiredException) GoString

func (s BlobIdRequiredException) GoString() string

GoString returns the string representation

func (BlobIdRequiredException) Message

func (s BlobIdRequiredException) Message() string

Message returns the exception's message.

func (BlobIdRequiredException) OrigErr

func (s BlobIdRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (BlobIdRequiredException) RequestID

func (s BlobIdRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (BlobIdRequiredException) StatusCode

func (s BlobIdRequiredException) StatusCode() int

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

func (BlobIdRequiredException) String

func (s BlobIdRequiredException) String() string

String returns the string representation

type BlobMetadata

type BlobMetadata struct {

    // The full ID of the blob.
    BlobId *string `locationName:"blobId" type:"string"`

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

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

Returns information about a specific Git blob object.

func (BlobMetadata) GoString

func (s BlobMetadata) GoString() string

GoString returns the string representation

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 BranchDoesNotExistException

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

The specified branch does not exist.

func (BranchDoesNotExistException) Code

func (s BranchDoesNotExistException) Code() string

Code returns the exception type name.

func (BranchDoesNotExistException) Error

func (s BranchDoesNotExistException) Error() string

func (BranchDoesNotExistException) GoString

func (s BranchDoesNotExistException) GoString() string

GoString returns the string representation

func (BranchDoesNotExistException) Message

func (s BranchDoesNotExistException) Message() string

Message returns the exception's message.

func (BranchDoesNotExistException) OrigErr

func (s BranchDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (BranchDoesNotExistException) RequestID

func (s BranchDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (BranchDoesNotExistException) StatusCode

func (s BranchDoesNotExistException) StatusCode() int

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

func (BranchDoesNotExistException) String

func (s BranchDoesNotExistException) 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.

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 BranchNameExistsException

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

The specified branch name already exists.

func (BranchNameExistsException) Code

func (s BranchNameExistsException) Code() string

Code returns the exception type name.

func (BranchNameExistsException) Error

func (s BranchNameExistsException) Error() string

func (BranchNameExistsException) GoString

func (s BranchNameExistsException) GoString() string

GoString returns the string representation

func (BranchNameExistsException) Message

func (s BranchNameExistsException) Message() string

Message returns the exception's message.

func (BranchNameExistsException) OrigErr

func (s BranchNameExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (BranchNameExistsException) RequestID

func (s BranchNameExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (BranchNameExistsException) StatusCode

func (s BranchNameExistsException) StatusCode() int

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

func (BranchNameExistsException) String

func (s BranchNameExistsException) String() string

String returns the string representation

type BranchNameIsTagNameException

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

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

func (BranchNameIsTagNameException) Code

func (s BranchNameIsTagNameException) Code() string

Code returns the exception type name.

func (BranchNameIsTagNameException) Error

func (s BranchNameIsTagNameException) Error() string

func (BranchNameIsTagNameException) GoString

func (s BranchNameIsTagNameException) GoString() string

GoString returns the string representation

func (BranchNameIsTagNameException) Message

func (s BranchNameIsTagNameException) Message() string

Message returns the exception's message.

func (BranchNameIsTagNameException) OrigErr

func (s BranchNameIsTagNameException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (BranchNameIsTagNameException) RequestID

func (s BranchNameIsTagNameException) RequestID() string

RequestID returns the service's response RequestID for request.

func (BranchNameIsTagNameException) StatusCode

func (s BranchNameIsTagNameException) StatusCode() int

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

func (BranchNameIsTagNameException) String

func (s BranchNameIsTagNameException) String() string

String returns the string representation

type BranchNameRequiredException

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

A branch name is required, but was not specified.

func (BranchNameRequiredException) Code

func (s BranchNameRequiredException) Code() string

Code returns the exception type name.

func (BranchNameRequiredException) Error

func (s BranchNameRequiredException) Error() string

func (BranchNameRequiredException) GoString

func (s BranchNameRequiredException) GoString() string

GoString returns the string representation

func (BranchNameRequiredException) Message

func (s BranchNameRequiredException) Message() string

Message returns the exception's message.

func (BranchNameRequiredException) OrigErr

func (s BranchNameRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (BranchNameRequiredException) RequestID

func (s BranchNameRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (BranchNameRequiredException) StatusCode

func (s BranchNameRequiredException) StatusCode() int

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

func (BranchNameRequiredException) String

func (s BranchNameRequiredException) String() string

String returns the string representation

type CannotDeleteApprovalRuleFromTemplateException

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

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

func (CannotDeleteApprovalRuleFromTemplateException) Code

func (s CannotDeleteApprovalRuleFromTemplateException) Code() string

Code returns the exception type name.

func (CannotDeleteApprovalRuleFromTemplateException) Error

func (s CannotDeleteApprovalRuleFromTemplateException) Error() string

func (CannotDeleteApprovalRuleFromTemplateException) GoString

func (s CannotDeleteApprovalRuleFromTemplateException) GoString() string

GoString returns the string representation

func (CannotDeleteApprovalRuleFromTemplateException) Message

func (s CannotDeleteApprovalRuleFromTemplateException) Message() string

Message returns the exception's message.

func (CannotDeleteApprovalRuleFromTemplateException) OrigErr

func (s CannotDeleteApprovalRuleFromTemplateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CannotDeleteApprovalRuleFromTemplateException) RequestID

func (s CannotDeleteApprovalRuleFromTemplateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CannotDeleteApprovalRuleFromTemplateException) StatusCode

func (s CannotDeleteApprovalRuleFromTemplateException) StatusCode() int

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

func (CannotDeleteApprovalRuleFromTemplateException) String

func (s CannotDeleteApprovalRuleFromTemplateException) String() string

String returns the string representation

type CannotModifyApprovalRuleFromTemplateException

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

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

func (CannotModifyApprovalRuleFromTemplateException) Code

func (s CannotModifyApprovalRuleFromTemplateException) Code() string

Code returns the exception type name.

func (CannotModifyApprovalRuleFromTemplateException) Error

func (s CannotModifyApprovalRuleFromTemplateException) Error() string

func (CannotModifyApprovalRuleFromTemplateException) GoString

func (s CannotModifyApprovalRuleFromTemplateException) GoString() string

GoString returns the string representation

func (CannotModifyApprovalRuleFromTemplateException) Message

func (s CannotModifyApprovalRuleFromTemplateException) Message() string

Message returns the exception's message.

func (CannotModifyApprovalRuleFromTemplateException) OrigErr

func (s CannotModifyApprovalRuleFromTemplateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CannotModifyApprovalRuleFromTemplateException) RequestID

func (s CannotModifyApprovalRuleFromTemplateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CannotModifyApprovalRuleFromTemplateException) StatusCode

func (s CannotModifyApprovalRuleFromTemplateException) StatusCode() int

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

func (CannotModifyApprovalRuleFromTemplateException) String

func (s CannotModifyApprovalRuleFromTemplateException) String() string

String returns the string representation

type ClientRequestTokenRequiredException

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

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

func (ClientRequestTokenRequiredException) Code

func (s ClientRequestTokenRequiredException) Code() string

Code returns the exception type name.

func (ClientRequestTokenRequiredException) Error

func (s ClientRequestTokenRequiredException) Error() string

func (ClientRequestTokenRequiredException) GoString

func (s ClientRequestTokenRequiredException) GoString() string

GoString returns the string representation

func (ClientRequestTokenRequiredException) Message

func (s ClientRequestTokenRequiredException) Message() string

Message returns the exception's message.

func (ClientRequestTokenRequiredException) OrigErr

func (s ClientRequestTokenRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ClientRequestTokenRequiredException) RequestID

func (s ClientRequestTokenRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ClientRequestTokenRequiredException) StatusCode

func (s ClientRequestTokenRequiredException) StatusCode() int

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

func (ClientRequestTokenRequiredException) String

func (s ClientRequestTokenRequiredException) String() string

String returns the string representation

type CodeCommit

type CodeCommit struct {
    *client.Client
}

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

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

func New

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

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

Example:

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

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

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

func (*CodeCommit) AssociateApprovalRuleTemplateWithRepository

func (c *CodeCommit) AssociateApprovalRuleTemplateWithRepository(input *AssociateApprovalRuleTemplateWithRepositoryInput) (*AssociateApprovalRuleTemplateWithRepositoryOutput, error)

AssociateApprovalRuleTemplateWithRepository API operation for AWS CodeCommit.

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

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

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

Returned Error Types:

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

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

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

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

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* RepositoryDoesNotExistException
The specified repository does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) AssociateApprovalRuleTemplateWithRepositoryRequest

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

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

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

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

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

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

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

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

func (*CodeCommit) AssociateApprovalRuleTemplateWithRepositoryWithContext

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

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

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

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

func (*CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositories

func (c *CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositories(input *BatchAssociateApprovalRuleTemplateWithRepositoriesInput) (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput, error)

BatchAssociateApprovalRuleTemplateWithRepositories API operation for AWS CodeCommit.

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

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

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

Returned Error Types:

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

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

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

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

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

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesRequest

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

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

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

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

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

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

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

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

func (*CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesWithContext

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

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

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

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

func (*CodeCommit) BatchDescribeMergeConflicts

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

BatchDescribeMergeConflicts API operation for AWS CodeCommit.

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

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

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

Returned Error Types:

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* RepositoryDoesNotExistException
The specified repository does not exist.

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

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

* InvalidContinuationTokenException
The specified continuation token is not valid.

* CommitRequiredException
A commit was not specified.

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

* InvalidCommitException
The specified commit is not valid.

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

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

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

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

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

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

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) BatchDescribeMergeConflictsRequest

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

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

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

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

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

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

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

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

func (*CodeCommit) BatchDescribeMergeConflictsWithContext

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

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

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

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

func (*CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositories

func (c *CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositories(input *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, error)

BatchDisassociateApprovalRuleTemplateFromRepositories API operation for AWS CodeCommit.

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

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

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

Returned Error Types:

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

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

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

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

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

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest

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

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

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

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

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

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

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

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

func (*CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesWithContext

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

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

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

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

func (*CodeCommit) BatchGetCommits

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

BatchGetCommits API operation for AWS CodeCommit.

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

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

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

Returned Error Types:

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

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

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* RepositoryDoesNotExistException
The specified repository does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) BatchGetCommitsRequest

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

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

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

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

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

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

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

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

func (*CodeCommit) BatchGetCommitsWithContext

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

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

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

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

func (*CodeCommit) BatchGetRepositories

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

BatchGetRepositories API operation for AWS CodeCommit.

Returns information about one or more repositories.

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

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

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

Returned Error Types:

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

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) BatchGetRepositoriesRequest

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

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

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

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

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

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

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

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

func (*CodeCommit) BatchGetRepositoriesWithContext

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

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

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

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

func (*CodeCommit) CreateApprovalRuleTemplate

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

CreateApprovalRuleTemplate API operation for AWS CodeCommit.

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

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

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

Returned Error Types:

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

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

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

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

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

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

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

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

func (*CodeCommit) CreateApprovalRuleTemplateRequest

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

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

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

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

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

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

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

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

func (*CodeCommit) CreateApprovalRuleTemplateWithContext

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

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

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

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

func (*CodeCommit) CreateBranch

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

CreateBranch API operation for AWS CodeCommit.

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

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

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

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

Returned Error Types:

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* RepositoryDoesNotExistException
The specified repository does not exist.

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

* BranchNameExistsException
The specified branch name already exists.

* InvalidBranchNameException
The specified reference name is not valid.

* CommitIdRequiredException
A commit ID was not specified.

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

* InvalidCommitIdException
The specified commit ID is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) CreateBranchRequest

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

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

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

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

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

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

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

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

func (*CodeCommit) CreateBranchWithContext

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

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

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

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

func (*CodeCommit) CreateCommit

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

CreateCommit API operation for AWS CodeCommit.

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

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

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

Returned Error Types:

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* RepositoryDoesNotExistException
The specified repository does not exist.

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

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

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

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

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

* InvalidBranchNameException
The specified reference name is not valid.

* BranchDoesNotExistException
The specified branch does not exist.

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

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

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

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

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

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

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

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

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

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

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

* InvalidDeletionParameterException
The specified deletion parameter is not valid.

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

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

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

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

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

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

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

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

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

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

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

func (*CodeCommit) CreateCommitRequest

func (c *CodeCommit) CreateCommitRequest(input *CreateCommitInput) (req *request.Request, output *CreateCommitOutput)

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

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

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

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

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

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

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

func (*CodeCommit) CreateCommitWithContext

func (c *CodeCommit) CreateCommitWithContext(ctx aws.Context, input *CreateCommitInput, opts ...request.Option) (*CreateCommitOutput, error)

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

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

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

func (*CodeCommit) CreatePullRequest

func (c *CodeCommit) CreatePullRequest(input *CreatePullRequestInput) (*CreatePullRequestOutput, error)

CreatePullRequest API operation for AWS CodeCommit.

Creates a pull request in the specified repository.

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

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

Returned Error Types:

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* RepositoryDoesNotExistException
The specified repository does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

* InvalidClientRequestTokenException
The client request token is not valid.

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

* ReferenceNameRequiredException
A reference name is required, but none was provided.

* InvalidReferenceNameException
The specified reference name format is not valid. Reference names must conform
to the Git references format (for example, refs/heads/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.

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

* ReferenceTypeNotSupportedException
The specified reference is not a supported type.

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

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

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

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

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

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

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

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

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

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

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

func (*CodeCommit) CreatePullRequestApprovalRule

func (c *CodeCommit) CreatePullRequestApprovalRule(input *CreatePullRequestApprovalRuleInput) (*CreatePullRequestApprovalRuleOutput, error)

CreatePullRequestApprovalRule API operation for AWS CodeCommit.

Creates an approval rule for a pull request.

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

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

Returned Error Types:

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

* InvalidApprovalRuleNameException
The name for the approval rule is not valid.

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

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

* InvalidApprovalRuleContentException
The content for the approval rule is not valid.

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

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

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

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

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

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) CreatePullRequestApprovalRuleRequest

func (c *CodeCommit) CreatePullRequestApprovalRuleRequest(input *CreatePullRequestApprovalRuleInput) (req *request.Request, output *CreatePullRequestApprovalRuleOutput)

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

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

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

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

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

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

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

func (*CodeCommit) CreatePullRequestApprovalRuleWithContext

func (c *CodeCommit) CreatePullRequestApprovalRuleWithContext(ctx aws.Context, input *CreatePullRequestApprovalRuleInput, opts ...request.Option) (*CreatePullRequestApprovalRuleOutput, error)

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

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

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

func (*CodeCommit) CreatePullRequestRequest

func (c *CodeCommit) CreatePullRequestRequest(input *CreatePullRequestInput) (req *request.Request, output *CreatePullRequestOutput)

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

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

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

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

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

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

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

func (*CodeCommit) CreatePullRequestWithContext

func (c *CodeCommit) CreatePullRequestWithContext(ctx aws.Context, input *CreatePullRequestInput, opts ...request.Option) (*CreatePullRequestOutput, error)

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

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

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

func (*CodeCommit) CreateRepository

func (c *CodeCommit) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)

CreateRepository API operation for AWS CodeCommit.

Creates a new, empty repository.

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

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

Returned Error Types:

* RepositoryNameExistsException
The specified repository name already exists.

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* InvalidRepositoryDescriptionException
The specified repository description is not valid.

* RepositoryLimitExceededException
A repository resource limit was exceeded.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

* InvalidTagsMapException
The map of tags is not valid.

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

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

* TagPolicyException
The tag policy is not valid.

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

func (*CodeCommit) CreateRepositoryRequest

func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)

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

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

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

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

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

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

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

func (*CodeCommit) CreateRepositoryWithContext

func (c *CodeCommit) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)

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

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

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

func (*CodeCommit) CreateUnreferencedMergeCommit

func (c *CodeCommit) CreateUnreferencedMergeCommit(input *CreateUnreferencedMergeCommitInput) (*CreateUnreferencedMergeCommitOutput, error)

CreateUnreferencedMergeCommit API operation for AWS CodeCommit.

Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit.

This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.

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

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

Returned Error Types:

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* RepositoryDoesNotExistException
The specified repository does not exist.

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

* CommitRequiredException
A commit was not specified.

* InvalidCommitException
The specified commit is not valid.

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

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

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

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

* InvalidConflictResolutionException
The specified conflict resolution list is not valid.

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

* MaximumConflictResolutionEntriesExceededException
The number of allowed conflict resolution entries was exceeded.

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

* ReplacementTypeRequiredException
A replacement type is required.

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

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

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

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

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

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

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

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

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

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

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

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

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

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

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) CreateUnreferencedMergeCommitRequest

func (c *CodeCommit) CreateUnreferencedMergeCommitRequest(input *CreateUnreferencedMergeCommitInput) (req *request.Request, output *CreateUnreferencedMergeCommitOutput)

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

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

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

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

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

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

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

func (*CodeCommit) CreateUnreferencedMergeCommitWithContext

func (c *CodeCommit) CreateUnreferencedMergeCommitWithContext(ctx aws.Context, input *CreateUnreferencedMergeCommitInput, opts ...request.Option) (*CreateUnreferencedMergeCommitOutput, error)

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

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

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

func (*CodeCommit) DeleteApprovalRuleTemplate

func (c *CodeCommit) DeleteApprovalRuleTemplate(input *DeleteApprovalRuleTemplateInput) (*DeleteApprovalRuleTemplateOutput, error)

DeleteApprovalRuleTemplate API operation for AWS CodeCommit.

Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.

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

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

Returned Error Types:

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

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

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

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

func (*CodeCommit) DeleteApprovalRuleTemplateRequest

func (c *CodeCommit) DeleteApprovalRuleTemplateRequest(input *DeleteApprovalRuleTemplateInput) (req *request.Request, output *DeleteApprovalRuleTemplateOutput)

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

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

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

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

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

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

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

func (*CodeCommit) DeleteApprovalRuleTemplateWithContext

func (c *CodeCommit) DeleteApprovalRuleTemplateWithContext(ctx aws.Context, input *DeleteApprovalRuleTemplateInput, opts ...request.Option) (*DeleteApprovalRuleTemplateOutput, error)

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

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

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

func (*CodeCommit) DeleteBranch

func (c *CodeCommit) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error)

DeleteBranch API operation for AWS CodeCommit.

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

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

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

Returned Error Types:

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

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

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

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

* InvalidBranchNameException
The specified reference name is not valid.

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

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

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

func (*CodeCommit) DeleteBranchRequest

func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Request, output *DeleteBranchOutput)

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

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

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

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

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

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

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

func (*CodeCommit) DeleteBranchWithContext

func (c *CodeCommit) DeleteBranchWithContext(ctx aws.Context, input *DeleteBranchInput, opts ...request.Option) (*DeleteBranchOutput, error)

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

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

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

func (*CodeCommit) DeleteCommentContent

func (c *CodeCommit) DeleteCommentContent(input *DeleteCommentContentInput) (*DeleteCommentContentOutput, error)

DeleteCommentContent API operation for AWS CodeCommit.

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

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

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

Returned Error Types:

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

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

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

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

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

func (*CodeCommit) DeleteCommentContentRequest

func (c *CodeCommit) DeleteCommentContentRequest(input *DeleteCommentContentInput) (req *request.Request, output *DeleteCommentContentOutput)

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

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

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

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

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

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

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

func (*CodeCommit) DeleteCommentContentWithContext

func (c *CodeCommit) DeleteCommentContentWithContext(ctx aws.Context, input *DeleteCommentContentInput, opts ...request.Option) (*DeleteCommentContentOutput, error)

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

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

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

func (*CodeCommit) DeleteFile

func (c *CodeCommit) DeleteFile(input *DeleteFileInput) (*DeleteFileOutput, error)

DeleteFile API operation for AWS CodeCommit.

Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.

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

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

Returned Error Types:

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

* InvalidRepositoryNameException
A specified repository name is not valid.

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

* RepositoryDoesNotExistException
The specified repository does not exist.

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

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

* ParentCommitDoesNotExistException
The parent commit ID is not valid because it does not exist. The specified
parent commit ID does not exist in the specified branch of the repository.

* ParentCommitIdOutdatedException
The file could not be added because the provided parent commit ID is not
the current tip of the specified branch. To view the full commit ID of the
current head of the branch, use GetBranch.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

* FileDoesNotExistException
The specified file does not exist. Verify that you have used the correct
file name, full path, and extension.

* BranchNameRequiredException
A branch name is required, but was not specified.

* InvalidBranchNameException
The specified reference name is not valid.

* BranchDoesNotExistException
The specified branch does not exist.

* BranchNameIsTagNameException
The specified branch name is not valid because it is a tag name. Enter the
name of a branch in the repository. For a list of valid branch names, use
ListBranches.

* NameLengthExceededException
The user name is not valid because it has exceeded the character limit for
author names.

* InvalidEmailException
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* CommitMessageLengthExceededException
The commit message is too long. Provide a shorter string.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFile

func (*CodeCommit) DeleteFileRequest

func (c *CodeCommit) DeleteFileRequest(input *DeleteFileInput) (req *request.Request, output *DeleteFileOutput)

DeleteFileRequest generates a "aws/request.Request" representing the client's request for the DeleteFile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFile for more information on using the DeleteFile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFileRequest method.
req, resp := client.DeleteFileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFile

func (*CodeCommit) DeleteFileWithContext

func (c *CodeCommit) DeleteFileWithContext(ctx aws.Context, input *DeleteFileInput, opts ...request.Option) (*DeleteFileOutput, error)

DeleteFileWithContext is the same as DeleteFile with the addition of the ability to pass a context and additional request options.

See DeleteFile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeletePullRequestApprovalRule

func (c *CodeCommit) DeletePullRequestApprovalRule(input *DeletePullRequestApprovalRuleInput) (*DeletePullRequestApprovalRuleOutput, error)

DeletePullRequestApprovalRule API operation for AWS CodeCommit.

Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeletePullRequestApprovalRule for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* PullRequestAlreadyClosedException
The pull request status cannot be updated because it is already closed.

* ApprovalRuleNameRequiredException
An approval rule name is required, but was not specified.

* InvalidApprovalRuleNameException
The name for the approval rule is not valid.

* CannotDeleteApprovalRuleFromTemplateException
The approval rule cannot be deleted from the pull request because it was
created by an approval rule template and applied to the pull request automatically.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRule

func (*CodeCommit) DeletePullRequestApprovalRuleRequest

func (c *CodeCommit) DeletePullRequestApprovalRuleRequest(input *DeletePullRequestApprovalRuleInput) (req *request.Request, output *DeletePullRequestApprovalRuleOutput)

DeletePullRequestApprovalRuleRequest generates a "aws/request.Request" representing the client's request for the DeletePullRequestApprovalRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePullRequestApprovalRule for more information on using the DeletePullRequestApprovalRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePullRequestApprovalRuleRequest method.
req, resp := client.DeletePullRequestApprovalRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRule

func (*CodeCommit) DeletePullRequestApprovalRuleWithContext

func (c *CodeCommit) DeletePullRequestApprovalRuleWithContext(ctx aws.Context, input *DeletePullRequestApprovalRuleInput, opts ...request.Option) (*DeletePullRequestApprovalRuleOutput, error)

DeletePullRequestApprovalRuleWithContext is the same as DeletePullRequestApprovalRule with the addition of the ability to pass a context and additional request options.

See DeletePullRequestApprovalRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DeleteRepository

func (c *CodeCommit) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)

DeleteRepository API operation for AWS CodeCommit.

Deletes a repository. If a specified repository was already deleted, a null repository ID is returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository fail.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DeleteRepository for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository

func (*CodeCommit) DeleteRepositoryRequest

func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)

DeleteRepositoryRequest generates a "aws/request.Request" representing the client's request for the DeleteRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRepository for more information on using the DeleteRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRepositoryRequest method.
req, resp := client.DeleteRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository

func (*CodeCommit) DeleteRepositoryWithContext

func (c *CodeCommit) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)

DeleteRepositoryWithContext is the same as DeleteRepository with the addition of the ability to pass a context and additional request options.

See DeleteRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribeMergeConflicts

func (c *CodeCommit) DescribeMergeConflicts(input *DescribeMergeConflictsInput) (*DescribeMergeConflictsOutput, error)

DescribeMergeConflicts API operation for AWS CodeCommit.

Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DescribeMergeConflicts for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* MergeOptionRequiredException
A merge option or stategy is required, and none was provided.

* InvalidMergeOptionException
The specified merge option is not valid for this operation. Not all merge
strategies are supported for all operations.

* InvalidContinuationTokenException
The specified continuation token is not valid.

* CommitRequiredException
A commit was not specified.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidCommitException
The specified commit is not valid.

* TipsDivergenceExceededException
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

* FileDoesNotExistException
The specified file does not exist. Verify that you have used the correct
file name, full path, and extension.

* InvalidMaxMergeHunksException
The specified value for the number of merge hunks to return is not valid.

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

* MaximumFileContentToLoadExceededException
The number of files to load exceeds the allowed limit.

* MaximumItemsToCompareExceededException
The number of items to compare between the source or destination branches
and the merge base has exceeded the maximum allowed.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribeMergeConflicts

func (*CodeCommit) DescribeMergeConflictsPages

func (c *CodeCommit) DescribeMergeConflictsPages(input *DescribeMergeConflictsInput, fn func(*DescribeMergeConflictsOutput, bool) bool) error

DescribeMergeConflictsPages iterates over the pages of a DescribeMergeConflicts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeMergeConflicts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeMergeConflicts operation.
pageNum := 0
err := client.DescribeMergeConflictsPages(params,
    func(page *codecommit.DescribeMergeConflictsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) DescribeMergeConflictsPagesWithContext

func (c *CodeCommit) DescribeMergeConflictsPagesWithContext(ctx aws.Context, input *DescribeMergeConflictsInput, fn func(*DescribeMergeConflictsOutput, bool) bool, opts ...request.Option) error

DescribeMergeConflictsPagesWithContext same as DescribeMergeConflictsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribeMergeConflictsRequest

func (c *CodeCommit) DescribeMergeConflictsRequest(input *DescribeMergeConflictsInput) (req *request.Request, output *DescribeMergeConflictsOutput)

DescribeMergeConflictsRequest generates a "aws/request.Request" representing the client's request for the DescribeMergeConflicts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMergeConflicts for more information on using the DescribeMergeConflicts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMergeConflictsRequest method.
req, resp := client.DescribeMergeConflictsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribeMergeConflicts

func (*CodeCommit) DescribeMergeConflictsWithContext

func (c *CodeCommit) DescribeMergeConflictsWithContext(ctx aws.Context, input *DescribeMergeConflictsInput, opts ...request.Option) (*DescribeMergeConflictsOutput, error)

DescribeMergeConflictsWithContext is the same as DescribeMergeConflicts with the addition of the ability to pass a context and additional request options.

See DescribeMergeConflicts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribePullRequestEvents

func (c *CodeCommit) DescribePullRequestEvents(input *DescribePullRequestEventsInput) (*DescribePullRequestEventsOutput, error)

DescribePullRequestEvents API operation for AWS CodeCommit.

Returns information about one or more pull request events.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DescribePullRequestEvents for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidPullRequestEventTypeException
The pull request event type is not valid.

* InvalidActorArnException
The Amazon Resource Name (ARN) is not valid. Make sure that you have provided
the full ARN for the user who initiated the change for the pull request,
and then try again.

* ActorDoesNotExistException
The specified Amazon Resource Name (ARN) does not exist in the AWS account.

* InvalidMaxResultsException
The specified number of maximum results is not valid.

* InvalidContinuationTokenException
The specified continuation token is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents

func (*CodeCommit) DescribePullRequestEventsPages

func (c *CodeCommit) DescribePullRequestEventsPages(input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool) error

DescribePullRequestEventsPages iterates over the pages of a DescribePullRequestEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribePullRequestEvents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribePullRequestEvents operation.
pageNum := 0
err := client.DescribePullRequestEventsPages(params,
    func(page *codecommit.DescribePullRequestEventsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) DescribePullRequestEventsPagesWithContext

func (c *CodeCommit) DescribePullRequestEventsPagesWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool, opts ...request.Option) error

DescribePullRequestEventsPagesWithContext same as DescribePullRequestEventsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DescribePullRequestEventsRequest

func (c *CodeCommit) DescribePullRequestEventsRequest(input *DescribePullRequestEventsInput) (req *request.Request, output *DescribePullRequestEventsOutput)

DescribePullRequestEventsRequest generates a "aws/request.Request" representing the client's request for the DescribePullRequestEvents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePullRequestEvents for more information on using the DescribePullRequestEvents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePullRequestEventsRequest method.
req, resp := client.DescribePullRequestEventsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents

func (*CodeCommit) DescribePullRequestEventsWithContext

func (c *CodeCommit) DescribePullRequestEventsWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, opts ...request.Option) (*DescribePullRequestEventsOutput, error)

DescribePullRequestEventsWithContext is the same as DescribePullRequestEvents with the addition of the ability to pass a context and additional request options.

See DescribePullRequestEvents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) DisassociateApprovalRuleTemplateFromRepository

func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepository(input *DisassociateApprovalRuleTemplateFromRepositoryInput) (*DisassociateApprovalRuleTemplateFromRepositoryOutput, error)

DisassociateApprovalRuleTemplateFromRepository API operation for AWS CodeCommit.

Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation DisassociateApprovalRuleTemplateFromRepository for usage and error information.

Returned Error Types:

* ApprovalRuleTemplateNameRequiredException
An approval rule template name is required, but was not specified.

* InvalidApprovalRuleTemplateNameException
The name of the approval rule template is not valid. Template names must
be between 1 and 100 valid characters in length. For more information about
limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

* ApprovalRuleTemplateDoesNotExistException
The specified approval rule template does not exist. Verify that the name
is correct and that you are signed in to the AWS Region where the template
was created, and then try again.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DisassociateApprovalRuleTemplateFromRepository

func (*CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryRequest

func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryRequest(input *DisassociateApprovalRuleTemplateFromRepositoryInput) (req *request.Request, output *DisassociateApprovalRuleTemplateFromRepositoryOutput)

DisassociateApprovalRuleTemplateFromRepositoryRequest generates a "aws/request.Request" representing the client's request for the DisassociateApprovalRuleTemplateFromRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateApprovalRuleTemplateFromRepository for more information on using the DisassociateApprovalRuleTemplateFromRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateApprovalRuleTemplateFromRepositoryRequest method.
req, resp := client.DisassociateApprovalRuleTemplateFromRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DisassociateApprovalRuleTemplateFromRepository

func (*CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryWithContext

func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryWithContext(ctx aws.Context, input *DisassociateApprovalRuleTemplateFromRepositoryInput, opts ...request.Option) (*DisassociateApprovalRuleTemplateFromRepositoryOutput, error)

DisassociateApprovalRuleTemplateFromRepositoryWithContext is the same as DisassociateApprovalRuleTemplateFromRepository with the addition of the ability to pass a context and additional request options.

See DisassociateApprovalRuleTemplateFromRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) EvaluatePullRequestApprovalRules

func (c *CodeCommit) EvaluatePullRequestApprovalRules(input *EvaluatePullRequestApprovalRulesInput) (*EvaluatePullRequestApprovalRulesOutput, error)

EvaluatePullRequestApprovalRules API operation for AWS CodeCommit.

Evaluates whether a pull request has met all the conditions specified in its associated approval rules.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation EvaluatePullRequestApprovalRules for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidRevisionIdException
The revision ID is not valid. Use GetPullRequest to determine the value.

* RevisionIdRequiredException
A revision ID is required, but was not provided.

* RevisionNotCurrentException
The revision ID provided in the request does not match the current revision
ID. Use GetPullRequest to retrieve the current revision ID.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRules

func (*CodeCommit) EvaluatePullRequestApprovalRulesRequest

func (c *CodeCommit) EvaluatePullRequestApprovalRulesRequest(input *EvaluatePullRequestApprovalRulesInput) (req *request.Request, output *EvaluatePullRequestApprovalRulesOutput)

EvaluatePullRequestApprovalRulesRequest generates a "aws/request.Request" representing the client's request for the EvaluatePullRequestApprovalRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EvaluatePullRequestApprovalRules for more information on using the EvaluatePullRequestApprovalRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EvaluatePullRequestApprovalRulesRequest method.
req, resp := client.EvaluatePullRequestApprovalRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRules

func (*CodeCommit) EvaluatePullRequestApprovalRulesWithContext

func (c *CodeCommit) EvaluatePullRequestApprovalRulesWithContext(ctx aws.Context, input *EvaluatePullRequestApprovalRulesInput, opts ...request.Option) (*EvaluatePullRequestApprovalRulesOutput, error)

EvaluatePullRequestApprovalRulesWithContext is the same as EvaluatePullRequestApprovalRules with the addition of the ability to pass a context and additional request options.

See EvaluatePullRequestApprovalRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetApprovalRuleTemplate

func (c *CodeCommit) GetApprovalRuleTemplate(input *GetApprovalRuleTemplateInput) (*GetApprovalRuleTemplateOutput, error)

GetApprovalRuleTemplate API operation for AWS CodeCommit.

Returns information about a specified approval rule template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetApprovalRuleTemplate for usage and error information.

Returned Error Types:

* ApprovalRuleTemplateNameRequiredException
An approval rule template name is required, but was not specified.

* InvalidApprovalRuleTemplateNameException
The name of the approval rule template is not valid. Template names must
be between 1 and 100 valid characters in length. For more information about
limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

* ApprovalRuleTemplateDoesNotExistException
The specified approval rule template does not exist. Verify that the name
is correct and that you are signed in to the AWS Region where the template
was created, and then try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplate

func (*CodeCommit) GetApprovalRuleTemplateRequest

func (c *CodeCommit) GetApprovalRuleTemplateRequest(input *GetApprovalRuleTemplateInput) (req *request.Request, output *GetApprovalRuleTemplateOutput)

GetApprovalRuleTemplateRequest generates a "aws/request.Request" representing the client's request for the GetApprovalRuleTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetApprovalRuleTemplate for more information on using the GetApprovalRuleTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetApprovalRuleTemplateRequest method.
req, resp := client.GetApprovalRuleTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplate

func (*CodeCommit) GetApprovalRuleTemplateWithContext

func (c *CodeCommit) GetApprovalRuleTemplateWithContext(ctx aws.Context, input *GetApprovalRuleTemplateInput, opts ...request.Option) (*GetApprovalRuleTemplateOutput, error)

GetApprovalRuleTemplateWithContext is the same as GetApprovalRuleTemplate with the addition of the ability to pass a context and additional request options.

See GetApprovalRuleTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetBlob

func (c *CodeCommit) GetBlob(input *GetBlobInput) (*GetBlobOutput, error)

GetBlob API operation for AWS CodeCommit.

Returns the base-64 encoded content of an individual blob in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetBlob for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* BlobIdRequiredException
A blob ID is required, but was not specified.

* InvalidBlobIdException
The specified blob is not valid.

* BlobIdDoesNotExistException
The specified blob does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

* FileTooLargeException
The specified file exceeds the file size limit for AWS CodeCommit. For more
information about limits in AWS CodeCommit, see AWS CodeCommit User Guide
(https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob

func (*CodeCommit) GetBlobRequest

func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, output *GetBlobOutput)

GetBlobRequest generates a "aws/request.Request" representing the client's request for the GetBlob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBlob for more information on using the GetBlob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBlobRequest method.
req, resp := client.GetBlobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob

func (*CodeCommit) GetBlobWithContext

func (c *CodeCommit) GetBlobWithContext(ctx aws.Context, input *GetBlobInput, opts ...request.Option) (*GetBlobOutput, error)

GetBlobWithContext is the same as GetBlob with the addition of the ability to pass a context and additional request options.

See GetBlob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetBranch

func (c *CodeCommit) GetBranch(input *GetBranchInput) (*GetBranchOutput, error)

GetBranch API operation for AWS CodeCommit.

Returns information about a repository branch, including its name and the last commit ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetBranch for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* BranchNameRequiredException
A branch name is required, but was not specified.

* InvalidBranchNameException
The specified reference name is not valid.

* BranchDoesNotExistException
The specified branch does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch

func (*CodeCommit) GetBranchRequest

func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput)

GetBranchRequest generates a "aws/request.Request" representing the client's request for the GetBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetBranch for more information on using the GetBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetBranchRequest method.
req, resp := client.GetBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch

func (*CodeCommit) GetBranchWithContext

func (c *CodeCommit) GetBranchWithContext(ctx aws.Context, input *GetBranchInput, opts ...request.Option) (*GetBranchOutput, error)

GetBranchWithContext is the same as GetBranch with the addition of the ability to pass a context and additional request options.

See GetBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetComment

func (c *CodeCommit) GetComment(input *GetCommentInput) (*GetCommentOutput, error)

GetComment API operation for AWS CodeCommit.

Returns the content of a comment made on a change, file, or commit in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetComment for usage and error information.

Returned Error Types:

* CommentDoesNotExistException
No comment exists with the provided ID. Verify that you have used the correct
ID, and then try again.

* CommentIdRequiredException
The comment ID is missing or null. A comment ID is required.

* InvalidCommentIdException
The comment ID is not in a valid format. Make sure that you have provided
the full comment ID.

* CommentDeletedException
This comment has already been deleted. You cannot edit or delete a deleted
comment.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment

func (*CodeCommit) GetCommentRequest

func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Request, output *GetCommentOutput)

GetCommentRequest generates a "aws/request.Request" representing the client's request for the GetComment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetComment for more information on using the GetComment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentRequest method.
req, resp := client.GetCommentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment

func (*CodeCommit) GetCommentWithContext

func (c *CodeCommit) GetCommentWithContext(ctx aws.Context, input *GetCommentInput, opts ...request.Option) (*GetCommentOutput, error)

GetCommentWithContext is the same as GetComment with the addition of the ability to pass a context and additional request options.

See GetComment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForComparedCommit

func (c *CodeCommit) GetCommentsForComparedCommit(input *GetCommentsForComparedCommitInput) (*GetCommentsForComparedCommitOutput, error)

GetCommentsForComparedCommit API operation for AWS CodeCommit.

Returns information about comments made on the comparison between two commits.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommentsForComparedCommit for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* CommitIdRequiredException
A commit ID was not specified.

* InvalidCommitIdException
The specified commit ID is not valid.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidMaxResultsException
The specified number of maximum results is not valid.

* InvalidContinuationTokenException
The specified continuation token is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit

func (*CodeCommit) GetCommentsForComparedCommitPages

func (c *CodeCommit) GetCommentsForComparedCommitPages(input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool) error

GetCommentsForComparedCommitPages iterates over the pages of a GetCommentsForComparedCommit operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetCommentsForComparedCommit method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetCommentsForComparedCommit operation.
pageNum := 0
err := client.GetCommentsForComparedCommitPages(params,
    func(page *codecommit.GetCommentsForComparedCommitOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetCommentsForComparedCommitPagesWithContext

func (c *CodeCommit) GetCommentsForComparedCommitPagesWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool, opts ...request.Option) error

GetCommentsForComparedCommitPagesWithContext same as GetCommentsForComparedCommitPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForComparedCommitRequest

func (c *CodeCommit) GetCommentsForComparedCommitRequest(input *GetCommentsForComparedCommitInput) (req *request.Request, output *GetCommentsForComparedCommitOutput)

GetCommentsForComparedCommitRequest generates a "aws/request.Request" representing the client's request for the GetCommentsForComparedCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommentsForComparedCommit for more information on using the GetCommentsForComparedCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentsForComparedCommitRequest method.
req, resp := client.GetCommentsForComparedCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit

func (*CodeCommit) GetCommentsForComparedCommitWithContext

func (c *CodeCommit) GetCommentsForComparedCommitWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, opts ...request.Option) (*GetCommentsForComparedCommitOutput, error)

GetCommentsForComparedCommitWithContext is the same as GetCommentsForComparedCommit with the addition of the ability to pass a context and additional request options.

See GetCommentsForComparedCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForPullRequest

func (c *CodeCommit) GetCommentsForPullRequest(input *GetCommentsForPullRequestInput) (*GetCommentsForPullRequestOutput, error)

GetCommentsForPullRequest API operation for AWS CodeCommit.

Returns comments made on a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommentsForPullRequest for usage and error information.

Returned Error Types:

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* CommitIdRequiredException
A commit ID was not specified.

* InvalidCommitIdException
The specified commit ID is not valid.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidMaxResultsException
The specified number of maximum results is not valid.

* InvalidContinuationTokenException
The specified continuation token is not valid.

* RepositoryNotAssociatedWithPullRequestException
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest

func (*CodeCommit) GetCommentsForPullRequestPages

func (c *CodeCommit) GetCommentsForPullRequestPages(input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool) error

GetCommentsForPullRequestPages iterates over the pages of a GetCommentsForPullRequest operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetCommentsForPullRequest method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetCommentsForPullRequest operation.
pageNum := 0
err := client.GetCommentsForPullRequestPages(params,
    func(page *codecommit.GetCommentsForPullRequestOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetCommentsForPullRequestPagesWithContext

func (c *CodeCommit) GetCommentsForPullRequestPagesWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool, opts ...request.Option) error

GetCommentsForPullRequestPagesWithContext same as GetCommentsForPullRequestPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommentsForPullRequestRequest

func (c *CodeCommit) GetCommentsForPullRequestRequest(input *GetCommentsForPullRequestInput) (req *request.Request, output *GetCommentsForPullRequestOutput)

GetCommentsForPullRequestRequest generates a "aws/request.Request" representing the client's request for the GetCommentsForPullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommentsForPullRequest for more information on using the GetCommentsForPullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommentsForPullRequestRequest method.
req, resp := client.GetCommentsForPullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest

func (*CodeCommit) GetCommentsForPullRequestWithContext

func (c *CodeCommit) GetCommentsForPullRequestWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, opts ...request.Option) (*GetCommentsForPullRequestOutput, error)

GetCommentsForPullRequestWithContext is the same as GetCommentsForPullRequest with the addition of the ability to pass a context and additional request options.

See GetCommentsForPullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetCommit

func (c *CodeCommit) GetCommit(input *GetCommitInput) (*GetCommitOutput, error)

GetCommit API operation for AWS CodeCommit.

Returns information about a commit, including commit message and committer information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetCommit for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* CommitIdRequiredException
A commit ID was not specified.

* InvalidCommitIdException
The specified commit ID is not valid.

* CommitIdDoesNotExistException
The specified commit ID does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit

func (*CodeCommit) GetCommitRequest

func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Request, output *GetCommitOutput)

GetCommitRequest generates a "aws/request.Request" representing the client's request for the GetCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommit for more information on using the GetCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommitRequest method.
req, resp := client.GetCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit

func (*CodeCommit) GetCommitWithContext

func (c *CodeCommit) GetCommitWithContext(ctx aws.Context, input *GetCommitInput, opts ...request.Option) (*GetCommitOutput, error)

GetCommitWithContext is the same as GetCommit with the addition of the ability to pass a context and additional request options.

See GetCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetDifferences

func (c *CodeCommit) GetDifferences(input *GetDifferencesInput) (*GetDifferencesOutput, error)

GetDifferences API operation for AWS CodeCommit.

Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetDifferences for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* InvalidContinuationTokenException
The specified continuation token is not valid.

* InvalidMaxResultsException
The specified number of maximum results is not valid.

* InvalidCommitIdException
The specified commit ID is not valid.

* CommitRequiredException
A commit was not specified.

* InvalidCommitException
The specified commit is not valid.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidPathException
The specified path is not valid.

* PathDoesNotExistException
The specified path does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences

func (*CodeCommit) GetDifferencesPages

func (c *CodeCommit) GetDifferencesPages(input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool) error

GetDifferencesPages iterates over the pages of a GetDifferences operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetDifferences method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetDifferences operation.
pageNum := 0
err := client.GetDifferencesPages(params,
    func(page *codecommit.GetDifferencesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetDifferencesPagesWithContext

func (c *CodeCommit) GetDifferencesPagesWithContext(ctx aws.Context, input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool, opts ...request.Option) error

GetDifferencesPagesWithContext same as GetDifferencesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetDifferencesRequest

func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *request.Request, output *GetDifferencesOutput)

GetDifferencesRequest generates a "aws/request.Request" representing the client's request for the GetDifferences operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDifferences for more information on using the GetDifferences API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDifferencesRequest method.
req, resp := client.GetDifferencesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences

func (*CodeCommit) GetDifferencesWithContext

func (c *CodeCommit) GetDifferencesWithContext(ctx aws.Context, input *GetDifferencesInput, opts ...request.Option) (*GetDifferencesOutput, error)

GetDifferencesWithContext is the same as GetDifferences with the addition of the ability to pass a context and additional request options.

See GetDifferences for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetFile

func (c *CodeCommit) GetFile(input *GetFileInput) (*GetFileOutput, error)

GetFile API operation for AWS CodeCommit.

Returns the base-64 encoded contents of a specified file and its metadata.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetFile for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidCommitException
The specified commit is not valid.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

* FileDoesNotExistException
The specified file does not exist. Verify that you have used the correct
file name, full path, and extension.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

* FileTooLargeException
The specified file exceeds the file size limit for AWS CodeCommit. For more
information about limits in AWS CodeCommit, see AWS CodeCommit User Guide
(https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFile

func (*CodeCommit) GetFileRequest

func (c *CodeCommit) GetFileRequest(input *GetFileInput) (req *request.Request, output *GetFileOutput)

GetFileRequest generates a "aws/request.Request" representing the client's request for the GetFile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFile for more information on using the GetFile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFileRequest method.
req, resp := client.GetFileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFile

func (*CodeCommit) GetFileWithContext

func (c *CodeCommit) GetFileWithContext(ctx aws.Context, input *GetFileInput, opts ...request.Option) (*GetFileOutput, error)

GetFileWithContext is the same as GetFile with the addition of the ability to pass a context and additional request options.

See GetFile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetFolder

func (c *CodeCommit) GetFolder(input *GetFolderInput) (*GetFolderOutput, error)

GetFolder API operation for AWS CodeCommit.

Returns the contents of a specified folder in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetFolder for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidCommitException
The specified commit is not valid.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

* FolderDoesNotExistException
The specified folder does not exist. Either the folder name is not correct,
or you did not enter the full path to the folder.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolder

func (*CodeCommit) GetFolderRequest

func (c *CodeCommit) GetFolderRequest(input *GetFolderInput) (req *request.Request, output *GetFolderOutput)

GetFolderRequest generates a "aws/request.Request" representing the client's request for the GetFolder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFolder for more information on using the GetFolder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFolderRequest method.
req, resp := client.GetFolderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolder

func (*CodeCommit) GetFolderWithContext

func (c *CodeCommit) GetFolderWithContext(ctx aws.Context, input *GetFolderInput, opts ...request.Option) (*GetFolderOutput, error)

GetFolderWithContext is the same as GetFolder with the addition of the ability to pass a context and additional request options.

See GetFolder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeCommit

func (c *CodeCommit) GetMergeCommit(input *GetMergeCommitInput) (*GetMergeCommitOutput, error)

GetMergeCommit API operation for AWS CodeCommit.

Returns information about a specified merge commit.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetMergeCommit for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* CommitRequiredException
A commit was not specified.

* InvalidCommitException
The specified commit is not valid.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommit

func (*CodeCommit) GetMergeCommitRequest

func (c *CodeCommit) GetMergeCommitRequest(input *GetMergeCommitInput) (req *request.Request, output *GetMergeCommitOutput)

GetMergeCommitRequest generates a "aws/request.Request" representing the client's request for the GetMergeCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMergeCommit for more information on using the GetMergeCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMergeCommitRequest method.
req, resp := client.GetMergeCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommit

func (*CodeCommit) GetMergeCommitWithContext

func (c *CodeCommit) GetMergeCommitWithContext(ctx aws.Context, input *GetMergeCommitInput, opts ...request.Option) (*GetMergeCommitOutput, error)

GetMergeCommitWithContext is the same as GetMergeCommit with the addition of the ability to pass a context and additional request options.

See GetMergeCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeConflicts

func (c *CodeCommit) GetMergeConflicts(input *GetMergeConflictsInput) (*GetMergeConflictsOutput, error)

GetMergeConflicts API operation for AWS CodeCommit.

Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetMergeConflicts for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* MergeOptionRequiredException
A merge option or stategy is required, and none was provided.

* InvalidMergeOptionException
The specified merge option is not valid for this operation. Not all merge
strategies are supported for all operations.

* InvalidContinuationTokenException
The specified continuation token is not valid.

* CommitRequiredException
A commit was not specified.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidCommitException
The specified commit is not valid.

* TipsDivergenceExceededException
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* InvalidMaxConflictFilesException
The specified value for the number of conflict files to return is not valid.

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidDestinationCommitSpecifierException
The destination commit specifier is not valid. You must provide a valid branch
name, tag, or full commit ID.

* InvalidSourceCommitSpecifierException
The source commit specifier is not valid. You must provide a valid branch
name, tag, or full commit ID.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

* MaximumFileContentToLoadExceededException
The number of files to load exceeds the allowed limit.

* MaximumItemsToCompareExceededException
The number of items to compare between the source or destination branches
and the merge base has exceeded the maximum allowed.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts

func (*CodeCommit) GetMergeConflictsPages

func (c *CodeCommit) GetMergeConflictsPages(input *GetMergeConflictsInput, fn func(*GetMergeConflictsOutput, bool) bool) error

GetMergeConflictsPages iterates over the pages of a GetMergeConflicts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetMergeConflicts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetMergeConflicts operation.
pageNum := 0
err := client.GetMergeConflictsPages(params,
    func(page *codecommit.GetMergeConflictsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) GetMergeConflictsPagesWithContext

func (c *CodeCommit) GetMergeConflictsPagesWithContext(ctx aws.Context, input *GetMergeConflictsInput, fn func(*GetMergeConflictsOutput, bool) bool, opts ...request.Option) error

GetMergeConflictsPagesWithContext same as GetMergeConflictsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeConflictsRequest

func (c *CodeCommit) GetMergeConflictsRequest(input *GetMergeConflictsInput) (req *request.Request, output *GetMergeConflictsOutput)

GetMergeConflictsRequest generates a "aws/request.Request" representing the client's request for the GetMergeConflicts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMergeConflicts for more information on using the GetMergeConflicts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMergeConflictsRequest method.
req, resp := client.GetMergeConflictsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts

func (*CodeCommit) GetMergeConflictsWithContext

func (c *CodeCommit) GetMergeConflictsWithContext(ctx aws.Context, input *GetMergeConflictsInput, opts ...request.Option) (*GetMergeConflictsOutput, error)

GetMergeConflictsWithContext is the same as GetMergeConflicts with the addition of the ability to pass a context and additional request options.

See GetMergeConflicts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetMergeOptions

func (c *CodeCommit) GetMergeOptions(input *GetMergeOptionsInput) (*GetMergeOptionsOutput, error)

GetMergeOptions API operation for AWS CodeCommit.

Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetMergeOptions for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* CommitRequiredException
A commit was not specified.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidCommitException
The specified commit is not valid.

* TipsDivergenceExceededException
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

* MaximumFileContentToLoadExceededException
The number of files to load exceeds the allowed limit.

* MaximumItemsToCompareExceededException
The number of items to compare between the source or destination branches
and the merge base has exceeded the maximum allowed.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptions

func (*CodeCommit) GetMergeOptionsRequest

func (c *CodeCommit) GetMergeOptionsRequest(input *GetMergeOptionsInput) (req *request.Request, output *GetMergeOptionsOutput)

GetMergeOptionsRequest generates a "aws/request.Request" representing the client's request for the GetMergeOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMergeOptions for more information on using the GetMergeOptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMergeOptionsRequest method.
req, resp := client.GetMergeOptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptions

func (*CodeCommit) GetMergeOptionsWithContext

func (c *CodeCommit) GetMergeOptionsWithContext(ctx aws.Context, input *GetMergeOptionsInput, opts ...request.Option) (*GetMergeOptionsOutput, error)

GetMergeOptionsWithContext is the same as GetMergeOptions with the addition of the ability to pass a context and additional request options.

See GetMergeOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetPullRequest

func (c *CodeCommit) GetPullRequest(input *GetPullRequestInput) (*GetPullRequestOutput, error)

GetPullRequest API operation for AWS CodeCommit.

Gets information about a pull request in a specified repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetPullRequest for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest

func (*CodeCommit) GetPullRequestApprovalStates

func (c *CodeCommit) GetPullRequestApprovalStates(input *GetPullRequestApprovalStatesInput) (*GetPullRequestApprovalStatesOutput, error)

GetPullRequestApprovalStates API operation for AWS CodeCommit.

Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetPullRequestApprovalStates for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidRevisionIdException
The revision ID is not valid. Use GetPullRequest to determine the value.

* RevisionIdRequiredException
A revision ID is required, but was not provided.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStates

func (*CodeCommit) GetPullRequestApprovalStatesRequest

func (c *CodeCommit) GetPullRequestApprovalStatesRequest(input *GetPullRequestApprovalStatesInput) (req *request.Request, output *GetPullRequestApprovalStatesOutput)

GetPullRequestApprovalStatesRequest generates a "aws/request.Request" representing the client's request for the GetPullRequestApprovalStates operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPullRequestApprovalStates for more information on using the GetPullRequestApprovalStates API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPullRequestApprovalStatesRequest method.
req, resp := client.GetPullRequestApprovalStatesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStates

func (*CodeCommit) GetPullRequestApprovalStatesWithContext

func (c *CodeCommit) GetPullRequestApprovalStatesWithContext(ctx aws.Context, input *GetPullRequestApprovalStatesInput, opts ...request.Option) (*GetPullRequestApprovalStatesOutput, error)

GetPullRequestApprovalStatesWithContext is the same as GetPullRequestApprovalStates with the addition of the ability to pass a context and additional request options.

See GetPullRequestApprovalStates for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetPullRequestOverrideState

func (c *CodeCommit) GetPullRequestOverrideState(input *GetPullRequestOverrideStateInput) (*GetPullRequestOverrideStateOutput, error)

GetPullRequestOverrideState API operation for AWS CodeCommit.

Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetPullRequestOverrideState for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidRevisionIdException
The revision ID is not valid. Use GetPullRequest to determine the value.

* RevisionIdRequiredException
A revision ID is required, but was not provided.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideState

func (*CodeCommit) GetPullRequestOverrideStateRequest

func (c *CodeCommit) GetPullRequestOverrideStateRequest(input *GetPullRequestOverrideStateInput) (req *request.Request, output *GetPullRequestOverrideStateOutput)

GetPullRequestOverrideStateRequest generates a "aws/request.Request" representing the client's request for the GetPullRequestOverrideState operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPullRequestOverrideState for more information on using the GetPullRequestOverrideState API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPullRequestOverrideStateRequest method.
req, resp := client.GetPullRequestOverrideStateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideState

func (*CodeCommit) GetPullRequestOverrideStateWithContext

func (c *CodeCommit) GetPullRequestOverrideStateWithContext(ctx aws.Context, input *GetPullRequestOverrideStateInput, opts ...request.Option) (*GetPullRequestOverrideStateOutput, error)

GetPullRequestOverrideStateWithContext is the same as GetPullRequestOverrideState with the addition of the ability to pass a context and additional request options.

See GetPullRequestOverrideState for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetPullRequestRequest

func (c *CodeCommit) GetPullRequestRequest(input *GetPullRequestInput) (req *request.Request, output *GetPullRequestOutput)

GetPullRequestRequest generates a "aws/request.Request" representing the client's request for the GetPullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPullRequest for more information on using the GetPullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPullRequestRequest method.
req, resp := client.GetPullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest

func (*CodeCommit) GetPullRequestWithContext

func (c *CodeCommit) GetPullRequestWithContext(ctx aws.Context, input *GetPullRequestInput, opts ...request.Option) (*GetPullRequestOutput, error)

GetPullRequestWithContext is the same as GetPullRequest with the addition of the ability to pass a context and additional request options.

See GetPullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetRepository

func (c *CodeCommit) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error)

GetRepository API operation for AWS CodeCommit.

Returns information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetRepository for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository

func (*CodeCommit) GetRepositoryRequest

func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput)

GetRepositoryRequest generates a "aws/request.Request" representing the client's request for the GetRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepository for more information on using the GetRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryRequest method.
req, resp := client.GetRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository

func (*CodeCommit) GetRepositoryTriggers

func (c *CodeCommit) GetRepositoryTriggers(input *GetRepositoryTriggersInput) (*GetRepositoryTriggersOutput, error)

GetRepositoryTriggers API operation for AWS CodeCommit.

Gets information about triggers configured for a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation GetRepositoryTriggers for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers

func (*CodeCommit) GetRepositoryTriggersRequest

func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) (req *request.Request, output *GetRepositoryTriggersOutput)

GetRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryTriggers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepositoryTriggers for more information on using the GetRepositoryTriggers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryTriggersRequest method.
req, resp := client.GetRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers

func (*CodeCommit) GetRepositoryTriggersWithContext

func (c *CodeCommit) GetRepositoryTriggersWithContext(ctx aws.Context, input *GetRepositoryTriggersInput, opts ...request.Option) (*GetRepositoryTriggersOutput, error)

GetRepositoryTriggersWithContext is the same as GetRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See GetRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) GetRepositoryWithContext

func (c *CodeCommit) GetRepositoryWithContext(ctx aws.Context, input *GetRepositoryInput, opts ...request.Option) (*GetRepositoryOutput, error)

GetRepositoryWithContext is the same as GetRepository with the addition of the ability to pass a context and additional request options.

See GetRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListApprovalRuleTemplates

func (c *CodeCommit) ListApprovalRuleTemplates(input *ListApprovalRuleTemplatesInput) (*ListApprovalRuleTemplatesOutput, error)

ListApprovalRuleTemplates API operation for AWS CodeCommit.

Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListApprovalRuleTemplates for usage and error information.

Returned Error Types:

* InvalidMaxResultsException
The specified number of maximum results is not valid.

* InvalidContinuationTokenException
The specified continuation token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplates

func (*CodeCommit) ListApprovalRuleTemplatesPages

func (c *CodeCommit) ListApprovalRuleTemplatesPages(input *ListApprovalRuleTemplatesInput, fn func(*ListApprovalRuleTemplatesOutput, bool) bool) error

ListApprovalRuleTemplatesPages iterates over the pages of a ListApprovalRuleTemplates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListApprovalRuleTemplates method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListApprovalRuleTemplates operation.
pageNum := 0
err := client.ListApprovalRuleTemplatesPages(params,
    func(page *codecommit.ListApprovalRuleTemplatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListApprovalRuleTemplatesPagesWithContext

func (c *CodeCommit) ListApprovalRuleTemplatesPagesWithContext(ctx aws.Context, input *ListApprovalRuleTemplatesInput, fn func(*ListApprovalRuleTemplatesOutput, bool) bool, opts ...request.Option) error

ListApprovalRuleTemplatesPagesWithContext same as ListApprovalRuleTemplatesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListApprovalRuleTemplatesRequest

func (c *CodeCommit) ListApprovalRuleTemplatesRequest(input *ListApprovalRuleTemplatesInput) (req *request.Request, output *ListApprovalRuleTemplatesOutput)

ListApprovalRuleTemplatesRequest generates a "aws/request.Request" representing the client's request for the ListApprovalRuleTemplates operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListApprovalRuleTemplates for more information on using the ListApprovalRuleTemplates API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListApprovalRuleTemplatesRequest method.
req, resp := client.ListApprovalRuleTemplatesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplates

func (*CodeCommit) ListApprovalRuleTemplatesWithContext

func (c *CodeCommit) ListApprovalRuleTemplatesWithContext(ctx aws.Context, input *ListApprovalRuleTemplatesInput, opts ...request.Option) (*ListApprovalRuleTemplatesOutput, error)

ListApprovalRuleTemplatesWithContext is the same as ListApprovalRuleTemplates with the addition of the ability to pass a context and additional request options.

See ListApprovalRuleTemplates for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepository

func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepository(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput) (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, error)

ListAssociatedApprovalRuleTemplatesForRepository API operation for AWS CodeCommit.

Lists all approval rule templates that are associated with a specified repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListAssociatedApprovalRuleTemplatesForRepository for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidMaxResultsException
The specified number of maximum results is not valid.

* InvalidContinuationTokenException
The specified continuation token is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepository

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPages

func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPages(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, fn func(*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, bool) bool) error

ListAssociatedApprovalRuleTemplatesForRepositoryPages iterates over the pages of a ListAssociatedApprovalRuleTemplatesForRepository operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssociatedApprovalRuleTemplatesForRepository method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssociatedApprovalRuleTemplatesForRepository operation.
pageNum := 0
err := client.ListAssociatedApprovalRuleTemplatesForRepositoryPages(params,
    func(page *codecommit.ListAssociatedApprovalRuleTemplatesForRepositoryOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPagesWithContext

func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPagesWithContext(ctx aws.Context, input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, fn func(*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, bool) bool, opts ...request.Option) error

ListAssociatedApprovalRuleTemplatesForRepositoryPagesWithContext same as ListAssociatedApprovalRuleTemplatesForRepositoryPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryRequest

func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryRequest(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput) (req *request.Request, output *ListAssociatedApprovalRuleTemplatesForRepositoryOutput)

ListAssociatedApprovalRuleTemplatesForRepositoryRequest generates a "aws/request.Request" representing the client's request for the ListAssociatedApprovalRuleTemplatesForRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAssociatedApprovalRuleTemplatesForRepository for more information on using the ListAssociatedApprovalRuleTemplatesForRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAssociatedApprovalRuleTemplatesForRepositoryRequest method.
req, resp := client.ListAssociatedApprovalRuleTemplatesForRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepository

func (*CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryWithContext

func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryWithContext(ctx aws.Context, input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, opts ...request.Option) (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, error)

ListAssociatedApprovalRuleTemplatesForRepositoryWithContext is the same as ListAssociatedApprovalRuleTemplatesForRepository with the addition of the ability to pass a context and additional request options.

See ListAssociatedApprovalRuleTemplatesForRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListBranches

func (c *CodeCommit) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error)

ListBranches API operation for AWS CodeCommit.

Gets information about one or more branches in a repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListBranches for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

* InvalidContinuationTokenException
The specified continuation token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches

func (*CodeCommit) ListBranchesPages

func (c *CodeCommit) ListBranchesPages(input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool) error

ListBranchesPages iterates over the pages of a ListBranches operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBranches method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListBranches operation.
pageNum := 0
err := client.ListBranchesPages(params,
    func(page *codecommit.ListBranchesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListBranchesPagesWithContext

func (c *CodeCommit) ListBranchesPagesWithContext(ctx aws.Context, input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool, opts ...request.Option) error

ListBranchesPagesWithContext same as ListBranchesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListBranchesRequest

func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput)

ListBranchesRequest generates a "aws/request.Request" representing the client's request for the ListBranches operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBranches for more information on using the ListBranches API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBranchesRequest method.
req, resp := client.ListBranchesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches

func (*CodeCommit) ListBranchesWithContext

func (c *CodeCommit) ListBranchesWithContext(ctx aws.Context, input *ListBranchesInput, opts ...request.Option) (*ListBranchesOutput, error)

ListBranchesWithContext is the same as ListBranches with the addition of the ability to pass a context and additional request options.

See ListBranches for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListPullRequests

func (c *CodeCommit) ListPullRequests(input *ListPullRequestsInput) (*ListPullRequestsOutput, error)

ListPullRequests API operation for AWS CodeCommit.

Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListPullRequests for usage and error information.

Returned Error Types:

* InvalidPullRequestStatusException
The pull request status is not valid. The only valid values are OPEN and
CLOSED.

* InvalidAuthorArnException
The Amazon Resource Name (ARN) is not valid. Make sure that you have provided
the full ARN for the author of the pull request, and then try again.

* AuthorDoesNotExistException
The specified Amazon Resource Name (ARN) does not exist in the AWS account.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidMaxResultsException
The specified number of maximum results is not valid.

* InvalidContinuationTokenException
The specified continuation token is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests

func (*CodeCommit) ListPullRequestsPages

func (c *CodeCommit) ListPullRequestsPages(input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool) error

ListPullRequestsPages iterates over the pages of a ListPullRequests operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPullRequests method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPullRequests operation.
pageNum := 0
err := client.ListPullRequestsPages(params,
    func(page *codecommit.ListPullRequestsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListPullRequestsPagesWithContext

func (c *CodeCommit) ListPullRequestsPagesWithContext(ctx aws.Context, input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool, opts ...request.Option) error

ListPullRequestsPagesWithContext same as ListPullRequestsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListPullRequestsRequest

func (c *CodeCommit) ListPullRequestsRequest(input *ListPullRequestsInput) (req *request.Request, output *ListPullRequestsOutput)

ListPullRequestsRequest generates a "aws/request.Request" representing the client's request for the ListPullRequests operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPullRequests for more information on using the ListPullRequests API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPullRequestsRequest method.
req, resp := client.ListPullRequestsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests

func (*CodeCommit) ListPullRequestsWithContext

func (c *CodeCommit) ListPullRequestsWithContext(ctx aws.Context, input *ListPullRequestsInput, opts ...request.Option) (*ListPullRequestsOutput, error)

ListPullRequestsWithContext is the same as ListPullRequests with the addition of the ability to pass a context and additional request options.

See ListPullRequests for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositories

func (c *CodeCommit) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error)

ListRepositories API operation for AWS CodeCommit.

Gets information about one or more repositories.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListRepositories for usage and error information.

Returned Error Types:

* InvalidSortByException
The specified sort by value is not valid.

* InvalidOrderException
The specified sort order is not valid.

* InvalidContinuationTokenException
The specified continuation token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplate

func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplate(input *ListRepositoriesForApprovalRuleTemplateInput) (*ListRepositoriesForApprovalRuleTemplateOutput, error)

ListRepositoriesForApprovalRuleTemplate API operation for AWS CodeCommit.

Lists all repositories associated with the specified approval rule template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListRepositoriesForApprovalRuleTemplate for usage and error information.

Returned Error Types:

* ApprovalRuleTemplateNameRequiredException
An approval rule template name is required, but was not specified.

* InvalidApprovalRuleTemplateNameException
The name of the approval rule template is not valid. Template names must
be between 1 and 100 valid characters in length. For more information about
limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

* ApprovalRuleTemplateDoesNotExistException
The specified approval rule template does not exist. Verify that the name
is correct and that you are signed in to the AWS Region where the template
was created, and then try again.

* InvalidMaxResultsException
The specified number of maximum results is not valid.

* InvalidContinuationTokenException
The specified continuation token is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplate

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplatePages

func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplatePages(input *ListRepositoriesForApprovalRuleTemplateInput, fn func(*ListRepositoriesForApprovalRuleTemplateOutput, bool) bool) error

ListRepositoriesForApprovalRuleTemplatePages iterates over the pages of a ListRepositoriesForApprovalRuleTemplate operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRepositoriesForApprovalRuleTemplate method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRepositoriesForApprovalRuleTemplate operation.
pageNum := 0
err := client.ListRepositoriesForApprovalRuleTemplatePages(params,
    func(page *codecommit.ListRepositoriesForApprovalRuleTemplateOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplatePagesWithContext

func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplatePagesWithContext(ctx aws.Context, input *ListRepositoriesForApprovalRuleTemplateInput, fn func(*ListRepositoriesForApprovalRuleTemplateOutput, bool) bool, opts ...request.Option) error

ListRepositoriesForApprovalRuleTemplatePagesWithContext same as ListRepositoriesForApprovalRuleTemplatePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplateRequest

func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplateRequest(input *ListRepositoriesForApprovalRuleTemplateInput) (req *request.Request, output *ListRepositoriesForApprovalRuleTemplateOutput)

ListRepositoriesForApprovalRuleTemplateRequest generates a "aws/request.Request" representing the client's request for the ListRepositoriesForApprovalRuleTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRepositoriesForApprovalRuleTemplate for more information on using the ListRepositoriesForApprovalRuleTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRepositoriesForApprovalRuleTemplateRequest method.
req, resp := client.ListRepositoriesForApprovalRuleTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplate

func (*CodeCommit) ListRepositoriesForApprovalRuleTemplateWithContext

func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplateWithContext(ctx aws.Context, input *ListRepositoriesForApprovalRuleTemplateInput, opts ...request.Option) (*ListRepositoriesForApprovalRuleTemplateOutput, error)

ListRepositoriesForApprovalRuleTemplateWithContext is the same as ListRepositoriesForApprovalRuleTemplate with the addition of the ability to pass a context and additional request options.

See ListRepositoriesForApprovalRuleTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositoriesPages

func (c *CodeCommit) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error

ListRepositoriesPages iterates over the pages of a ListRepositories operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRepositories method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRepositories operation.
pageNum := 0
err := client.ListRepositoriesPages(params,
    func(page *codecommit.ListRepositoriesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeCommit) ListRepositoriesPagesWithContext

func (c *CodeCommit) ListRepositoriesPagesWithContext(ctx aws.Context, input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool, opts ...request.Option) error

ListRepositoriesPagesWithContext same as ListRepositoriesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListRepositoriesRequest

func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput)

ListRepositoriesRequest generates a "aws/request.Request" representing the client's request for the ListRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRepositories for more information on using the ListRepositories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRepositoriesRequest method.
req, resp := client.ListRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories

func (*CodeCommit) ListRepositoriesWithContext

func (c *CodeCommit) ListRepositoriesWithContext(ctx aws.Context, input *ListRepositoriesInput, opts ...request.Option) (*ListRepositoriesOutput, error)

ListRepositoriesWithContext is the same as ListRepositories with the addition of the ability to pass a context and additional request options.

See ListRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) ListTagsForResource

func (c *CodeCommit) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS CodeCommit.

Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation ListTagsForResource for usage and error information.

Returned Error Types:

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ResourceArnRequiredException
A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required.
For a list of valid resources in AWS CodeCommit, see CodeCommit Resources
and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* InvalidResourceArnException
The value for the resource ARN is not valid. For more information about resources
in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListTagsForResource

func (*CodeCommit) ListTagsForResourceRequest

func (c *CodeCommit) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListTagsForResource

func (*CodeCommit) ListTagsForResourceWithContext

func (c *CodeCommit) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergeBranchesByFastForward

func (c *CodeCommit) MergeBranchesByFastForward(input *MergeBranchesByFastForwardInput) (*MergeBranchesByFastForwardOutput, error)

MergeBranchesByFastForward API operation for AWS CodeCommit.

Merges two branches using the fast-forward merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergeBranchesByFastForward for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* TipsDivergenceExceededException
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* CommitRequiredException
A commit was not specified.

* InvalidCommitException
The specified commit is not valid.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidTargetBranchException
The specified target branch is not valid.

* InvalidBranchNameException
The specified reference name is not valid.

* BranchNameRequiredException
A branch name is required, but was not specified.

* BranchNameIsTagNameException
The specified branch name is not valid because it is a tag name. Enter the
name of a branch in the repository. For a list of valid branch names, use
ListBranches.

* BranchDoesNotExistException
The specified branch does not exist.

* ManualMergeRequiredException
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* ConcurrentReferenceUpdateException
The merge cannot be completed because the target branch has been modified.
Another user might have modified the target branch while the merge was in
progress. Wait a few minutes, and then try again.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForward

func (*CodeCommit) MergeBranchesByFastForwardRequest

func (c *CodeCommit) MergeBranchesByFastForwardRequest(input *MergeBranchesByFastForwardInput) (req *request.Request, output *MergeBranchesByFastForwardOutput)

MergeBranchesByFastForwardRequest generates a "aws/request.Request" representing the client's request for the MergeBranchesByFastForward operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergeBranchesByFastForward for more information on using the MergeBranchesByFastForward API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergeBranchesByFastForwardRequest method.
req, resp := client.MergeBranchesByFastForwardRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForward

func (*CodeCommit) MergeBranchesByFastForwardWithContext

func (c *CodeCommit) MergeBranchesByFastForwardWithContext(ctx aws.Context, input *MergeBranchesByFastForwardInput, opts ...request.Option) (*MergeBranchesByFastForwardOutput, error)

MergeBranchesByFastForwardWithContext is the same as MergeBranchesByFastForward with the addition of the ability to pass a context and additional request options.

See MergeBranchesByFastForward for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergeBranchesBySquash

func (c *CodeCommit) MergeBranchesBySquash(input *MergeBranchesBySquashInput) (*MergeBranchesBySquashOutput, error)

MergeBranchesBySquash API operation for AWS CodeCommit.

Merges two branches using the squash merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergeBranchesBySquash for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* TipsDivergenceExceededException
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* CommitRequiredException
A commit was not specified.

* InvalidCommitException
The specified commit is not valid.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidTargetBranchException
The specified target branch is not valid.

* InvalidBranchNameException
The specified reference name is not valid.

* BranchNameRequiredException
A branch name is required, but was not specified.

* BranchNameIsTagNameException
The specified branch name is not valid because it is a tag name. Enter the
name of a branch in the repository. For a list of valid branch names, use
ListBranches.

* BranchDoesNotExistException
The specified branch does not exist.

* ManualMergeRequiredException
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

* InvalidConflictResolutionException
The specified conflict resolution list is not valid.

* MaximumConflictResolutionEntriesExceededException
The number of allowed conflict resolution entries was exceeded.

* MultipleConflictResolutionEntriesException
More than one conflict resolution entries exists for the conflict. A conflict
can have only one conflict resolution entry.

* ReplacementTypeRequiredException
A replacement type is required.

* InvalidReplacementTypeException
Automerge was specified for resolving the conflict, but the specified replacement
type is not valid.

* ReplacementContentRequiredException
USE_NEW_CONTENT was specified, but no replacement content has been provided.

* InvalidReplacementContentException
Automerge was specified for resolving the conflict, but the replacement type
is not valid or content is missing.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

* FileContentSizeLimitExceededException
The file cannot be added because it is too large. The maximum file size is
6 MB, and the combined file content change size is 7 MB. Consider making
these changes using a Git client.

* FolderContentSizeLimitExceededException
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* MaximumFileContentToLoadExceededException
The number of files to load exceeds the allowed limit.

* MaximumItemsToCompareExceededException
The number of items to compare between the source or destination branches
and the merge base has exceeded the maximum allowed.

* FileModeRequiredException
The commit cannot be created because no file mode has been specified. A file
mode is required to update mode permissions for a file.

* InvalidFileModeException
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* NameLengthExceededException
The user name is not valid because it has exceeded the character limit for
author names.

* InvalidEmailException
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* CommitMessageLengthExceededException
The commit message is too long. Provide a shorter string.

* ConcurrentReferenceUpdateException
The merge cannot be completed because the target branch has been modified.
Another user might have modified the target branch while the merge was in
progress. Wait a few minutes, and then try again.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquash

func (*CodeCommit) MergeBranchesBySquashRequest

func (c *CodeCommit) MergeBranchesBySquashRequest(input *MergeBranchesBySquashInput) (req *request.Request, output *MergeBranchesBySquashOutput)

MergeBranchesBySquashRequest generates a "aws/request.Request" representing the client's request for the MergeBranchesBySquash operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergeBranchesBySquash for more information on using the MergeBranchesBySquash API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergeBranchesBySquashRequest method.
req, resp := client.MergeBranchesBySquashRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquash

func (*CodeCommit) MergeBranchesBySquashWithContext

func (c *CodeCommit) MergeBranchesBySquashWithContext(ctx aws.Context, input *MergeBranchesBySquashInput, opts ...request.Option) (*MergeBranchesBySquashOutput, error)

MergeBranchesBySquashWithContext is the same as MergeBranchesBySquash with the addition of the ability to pass a context and additional request options.

See MergeBranchesBySquash for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergeBranchesByThreeWay

func (c *CodeCommit) MergeBranchesByThreeWay(input *MergeBranchesByThreeWayInput) (*MergeBranchesByThreeWayOutput, error)

MergeBranchesByThreeWay API operation for AWS CodeCommit.

Merges two specified branches using the three-way merge strategy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergeBranchesByThreeWay for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* TipsDivergenceExceededException
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* CommitRequiredException
A commit was not specified.

* InvalidCommitException
The specified commit is not valid.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidTargetBranchException
The specified target branch is not valid.

* InvalidBranchNameException
The specified reference name is not valid.

* BranchNameRequiredException
A branch name is required, but was not specified.

* BranchNameIsTagNameException
The specified branch name is not valid because it is a tag name. Enter the
name of a branch in the repository. For a list of valid branch names, use
ListBranches.

* BranchDoesNotExistException
The specified branch does not exist.

* ManualMergeRequiredException
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* ConcurrentReferenceUpdateException
The merge cannot be completed because the target branch has been modified.
Another user might have modified the target branch while the merge was in
progress. Wait a few minutes, and then try again.

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

* InvalidConflictResolutionException
The specified conflict resolution list is not valid.

* MaximumConflictResolutionEntriesExceededException
The number of allowed conflict resolution entries was exceeded.

* MultipleConflictResolutionEntriesException
More than one conflict resolution entries exists for the conflict. A conflict
can have only one conflict resolution entry.

* ReplacementTypeRequiredException
A replacement type is required.

* InvalidReplacementTypeException
Automerge was specified for resolving the conflict, but the specified replacement
type is not valid.

* ReplacementContentRequiredException
USE_NEW_CONTENT was specified, but no replacement content has been provided.

* InvalidReplacementContentException
Automerge was specified for resolving the conflict, but the replacement type
is not valid or content is missing.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

* FileContentSizeLimitExceededException
The file cannot be added because it is too large. The maximum file size is
6 MB, and the combined file content change size is 7 MB. Consider making
these changes using a Git client.

* FolderContentSizeLimitExceededException
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* MaximumFileContentToLoadExceededException
The number of files to load exceeds the allowed limit.

* MaximumItemsToCompareExceededException
The number of items to compare between the source or destination branches
and the merge base has exceeded the maximum allowed.

* FileModeRequiredException
The commit cannot be created because no file mode has been specified. A file
mode is required to update mode permissions for a file.

* InvalidFileModeException
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* NameLengthExceededException
The user name is not valid because it has exceeded the character limit for
author names.

* InvalidEmailException
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* CommitMessageLengthExceededException
The commit message is too long. Provide a shorter string.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWay

func (*CodeCommit) MergeBranchesByThreeWayRequest

func (c *CodeCommit) MergeBranchesByThreeWayRequest(input *MergeBranchesByThreeWayInput) (req *request.Request, output *MergeBranchesByThreeWayOutput)

MergeBranchesByThreeWayRequest generates a "aws/request.Request" representing the client's request for the MergeBranchesByThreeWay operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergeBranchesByThreeWay for more information on using the MergeBranchesByThreeWay API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergeBranchesByThreeWayRequest method.
req, resp := client.MergeBranchesByThreeWayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWay

func (*CodeCommit) MergeBranchesByThreeWayWithContext

func (c *CodeCommit) MergeBranchesByThreeWayWithContext(ctx aws.Context, input *MergeBranchesByThreeWayInput, opts ...request.Option) (*MergeBranchesByThreeWayOutput, error)

MergeBranchesByThreeWayWithContext is the same as MergeBranchesByThreeWay with the addition of the ability to pass a context and additional request options.

See MergeBranchesByThreeWay for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergePullRequestByFastForward

func (c *CodeCommit) MergePullRequestByFastForward(input *MergePullRequestByFastForwardInput) (*MergePullRequestByFastForwardOutput, error)

MergePullRequestByFastForward API operation for AWS CodeCommit.

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergePullRequestByFastForward for usage and error information.

Returned Error Types:

* ManualMergeRequiredException
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* PullRequestAlreadyClosedException
The pull request status cannot be updated because it is already closed.

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* TipOfSourceReferenceIsDifferentException
The tip of the source branch in the destination repository does not match
the tip of the source branch specified in your request. The pull request
might have been updated. Make sure that you have the latest changes.

* ReferenceDoesNotExistException
The specified reference does not exist. You must provide a full commit ID.

* InvalidCommitIdException
The specified commit ID is not valid.

* RepositoryNotAssociatedWithPullRequestException
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* ConcurrentReferenceUpdateException
The merge cannot be completed because the target branch has been modified.
Another user might have modified the target branch while the merge was in
progress. Wait a few minutes, and then try again.

* PullRequestApprovalRulesNotSatisfiedException
The pull request cannot be merged because one or more approval rules applied
to the pull request have conditions that have not been met.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward

func (*CodeCommit) MergePullRequestByFastForwardRequest

func (c *CodeCommit) MergePullRequestByFastForwardRequest(input *MergePullRequestByFastForwardInput) (req *request.Request, output *MergePullRequestByFastForwardOutput)

MergePullRequestByFastForwardRequest generates a "aws/request.Request" representing the client's request for the MergePullRequestByFastForward operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergePullRequestByFastForward for more information on using the MergePullRequestByFastForward API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergePullRequestByFastForwardRequest method.
req, resp := client.MergePullRequestByFastForwardRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward

func (*CodeCommit) MergePullRequestByFastForwardWithContext

func (c *CodeCommit) MergePullRequestByFastForwardWithContext(ctx aws.Context, input *MergePullRequestByFastForwardInput, opts ...request.Option) (*MergePullRequestByFastForwardOutput, error)

MergePullRequestByFastForwardWithContext is the same as MergePullRequestByFastForward with the addition of the ability to pass a context and additional request options.

See MergePullRequestByFastForward for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergePullRequestBySquash

func (c *CodeCommit) MergePullRequestBySquash(input *MergePullRequestBySquashInput) (*MergePullRequestBySquashOutput, error)

MergePullRequestBySquash API operation for AWS CodeCommit.

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergePullRequestBySquash for usage and error information.

Returned Error Types:

* PullRequestAlreadyClosedException
The pull request status cannot be updated because it is already closed.

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* InvalidCommitIdException
The specified commit ID is not valid.

* ManualMergeRequiredException
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* TipOfSourceReferenceIsDifferentException
The tip of the source branch in the destination repository does not match
the tip of the source branch specified in your request. The pull request
might have been updated. Make sure that you have the latest changes.

* TipsDivergenceExceededException
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* NameLengthExceededException
The user name is not valid because it has exceeded the character limit for
author names.

* InvalidEmailException
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* CommitMessageLengthExceededException
The commit message is too long. Provide a shorter string.

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

* InvalidConflictResolutionException
The specified conflict resolution list is not valid.

* ReplacementTypeRequiredException
A replacement type is required.

* InvalidReplacementTypeException
Automerge was specified for resolving the conflict, but the specified replacement
type is not valid.

* MultipleConflictResolutionEntriesException
More than one conflict resolution entries exists for the conflict. A conflict
can have only one conflict resolution entry.

* ReplacementContentRequiredException
USE_NEW_CONTENT was specified, but no replacement content has been provided.

* MaximumConflictResolutionEntriesExceededException
The number of allowed conflict resolution entries was exceeded.

* ConcurrentReferenceUpdateException
The merge cannot be completed because the target branch has been modified.
Another user might have modified the target branch while the merge was in
progress. Wait a few minutes, and then try again.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

* InvalidFileModeException
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* InvalidReplacementContentException
Automerge was specified for resolving the conflict, but the replacement type
is not valid or content is missing.

* FileContentSizeLimitExceededException
The file cannot be added because it is too large. The maximum file size is
6 MB, and the combined file content change size is 7 MB. Consider making
these changes using a Git client.

* FolderContentSizeLimitExceededException
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* MaximumFileContentToLoadExceededException
The number of files to load exceeds the allowed limit.

* MaximumItemsToCompareExceededException
The number of items to compare between the source or destination branches
and the merge base has exceeded the maximum allowed.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* RepositoryNotAssociatedWithPullRequestException
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* PullRequestApprovalRulesNotSatisfiedException
The pull request cannot be merged because one or more approval rules applied
to the pull request have conditions that have not been met.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquash

func (*CodeCommit) MergePullRequestBySquashRequest

func (c *CodeCommit) MergePullRequestBySquashRequest(input *MergePullRequestBySquashInput) (req *request.Request, output *MergePullRequestBySquashOutput)

MergePullRequestBySquashRequest generates a "aws/request.Request" representing the client's request for the MergePullRequestBySquash operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergePullRequestBySquash for more information on using the MergePullRequestBySquash API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergePullRequestBySquashRequest method.
req, resp := client.MergePullRequestBySquashRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquash

func (*CodeCommit) MergePullRequestBySquashWithContext

func (c *CodeCommit) MergePullRequestBySquashWithContext(ctx aws.Context, input *MergePullRequestBySquashInput, opts ...request.Option) (*MergePullRequestBySquashOutput, error)

MergePullRequestBySquashWithContext is the same as MergePullRequestBySquash with the addition of the ability to pass a context and additional request options.

See MergePullRequestBySquash for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) MergePullRequestByThreeWay

func (c *CodeCommit) MergePullRequestByThreeWay(input *MergePullRequestByThreeWayInput) (*MergePullRequestByThreeWayOutput, error)

MergePullRequestByThreeWay API operation for AWS CodeCommit.

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation MergePullRequestByThreeWay for usage and error information.

Returned Error Types:

* PullRequestAlreadyClosedException
The pull request status cannot be updated because it is already closed.

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* InvalidCommitIdException
The specified commit ID is not valid.

* ManualMergeRequiredException
The pull request cannot be merged automatically into the destination branch.
You must manually merge the branches and resolve any conflicts.

* TipOfSourceReferenceIsDifferentException
The tip of the source branch in the destination repository does not match
the tip of the source branch specified in your request. The pull request
might have been updated. Make sure that you have the latest changes.

* TipsDivergenceExceededException
The divergence between the tips of the provided commit specifiers is too
great to determine whether there might be any merge conflicts. Locally compare
the specifiers using git diff or a diff tool.

* NameLengthExceededException
The user name is not valid because it has exceeded the character limit for
author names.

* InvalidEmailException
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* CommitMessageLengthExceededException
The commit message is too long. Provide a shorter string.

* InvalidConflictDetailLevelException
The specified conflict detail level is not valid.

* InvalidConflictResolutionStrategyException
The specified conflict resolution strategy is not valid.

* InvalidConflictResolutionException
The specified conflict resolution list is not valid.

* ReplacementTypeRequiredException
A replacement type is required.

* InvalidReplacementTypeException
Automerge was specified for resolving the conflict, but the specified replacement
type is not valid.

* MultipleConflictResolutionEntriesException
More than one conflict resolution entries exists for the conflict. A conflict
can have only one conflict resolution entry.

* ReplacementContentRequiredException
USE_NEW_CONTENT was specified, but no replacement content has been provided.

* MaximumConflictResolutionEntriesExceededException
The number of allowed conflict resolution entries was exceeded.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

* InvalidFileModeException
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* InvalidReplacementContentException
Automerge was specified for resolving the conflict, but the replacement type
is not valid or content is missing.

* FileContentSizeLimitExceededException
The file cannot be added because it is too large. The maximum file size is
6 MB, and the combined file content change size is 7 MB. Consider making
these changes using a Git client.

* FolderContentSizeLimitExceededException
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* MaximumFileContentToLoadExceededException
The number of files to load exceeds the allowed limit.

* MaximumItemsToCompareExceededException
The number of items to compare between the source or destination branches
and the merge base has exceeded the maximum allowed.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* RepositoryNotAssociatedWithPullRequestException
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* ConcurrentReferenceUpdateException
The merge cannot be completed because the target branch has been modified.
Another user might have modified the target branch while the merge was in
progress. Wait a few minutes, and then try again.

* PullRequestApprovalRulesNotSatisfiedException
The pull request cannot be merged because one or more approval rules applied
to the pull request have conditions that have not been met.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWay

func (*CodeCommit) MergePullRequestByThreeWayRequest

func (c *CodeCommit) MergePullRequestByThreeWayRequest(input *MergePullRequestByThreeWayInput) (req *request.Request, output *MergePullRequestByThreeWayOutput)

MergePullRequestByThreeWayRequest generates a "aws/request.Request" representing the client's request for the MergePullRequestByThreeWay operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See MergePullRequestByThreeWay for more information on using the MergePullRequestByThreeWay API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the MergePullRequestByThreeWayRequest method.
req, resp := client.MergePullRequestByThreeWayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWay

func (*CodeCommit) MergePullRequestByThreeWayWithContext

func (c *CodeCommit) MergePullRequestByThreeWayWithContext(ctx aws.Context, input *MergePullRequestByThreeWayInput, opts ...request.Option) (*MergePullRequestByThreeWayOutput, error)

MergePullRequestByThreeWayWithContext is the same as MergePullRequestByThreeWay with the addition of the ability to pass a context and additional request options.

See MergePullRequestByThreeWay for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) OverridePullRequestApprovalRules

func (c *CodeCommit) OverridePullRequestApprovalRules(input *OverridePullRequestApprovalRulesInput) (*OverridePullRequestApprovalRulesOutput, error)

OverridePullRequestApprovalRules API operation for AWS CodeCommit.

Sets aside (overrides) all approval rule requirements for a specified pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation OverridePullRequestApprovalRules for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidRevisionIdException
The revision ID is not valid. Use GetPullRequest to determine the value.

* RevisionIdRequiredException
A revision ID is required, but was not provided.

* InvalidOverrideStatusException
The override status is not valid. Valid statuses are OVERRIDE and REVOKE.

* OverrideStatusRequiredException
An override status is required, but no value was provided. Valid values include
OVERRIDE and REVOKE.

* OverrideAlreadySetException
The pull request has already had its approval rules set to override.

* RevisionNotCurrentException
The revision ID provided in the request does not match the current revision
ID. Use GetPullRequest to retrieve the current revision ID.

* PullRequestAlreadyClosedException
The pull request status cannot be updated because it is already closed.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverridePullRequestApprovalRules

func (*CodeCommit) OverridePullRequestApprovalRulesRequest

func (c *CodeCommit) OverridePullRequestApprovalRulesRequest(input *OverridePullRequestApprovalRulesInput) (req *request.Request, output *OverridePullRequestApprovalRulesOutput)

OverridePullRequestApprovalRulesRequest generates a "aws/request.Request" representing the client's request for the OverridePullRequestApprovalRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See OverridePullRequestApprovalRules for more information on using the OverridePullRequestApprovalRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the OverridePullRequestApprovalRulesRequest method.
req, resp := client.OverridePullRequestApprovalRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverridePullRequestApprovalRules

func (*CodeCommit) OverridePullRequestApprovalRulesWithContext

func (c *CodeCommit) OverridePullRequestApprovalRulesWithContext(ctx aws.Context, input *OverridePullRequestApprovalRulesInput, opts ...request.Option) (*OverridePullRequestApprovalRulesOutput, error)

OverridePullRequestApprovalRulesWithContext is the same as OverridePullRequestApprovalRules with the addition of the ability to pass a context and additional request options.

See OverridePullRequestApprovalRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PostCommentForComparedCommit

func (c *CodeCommit) PostCommentForComparedCommit(input *PostCommentForComparedCommitInput) (*PostCommentForComparedCommitOutput, error)

PostCommentForComparedCommit API operation for AWS CodeCommit.

Posts a comment on the comparison between two commits.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PostCommentForComparedCommit for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ClientRequestTokenRequiredException
A client request token is required. A client request token is an unique,
client-generated idempotency token that, when provided in a request, ensures
the request cannot be repeated with a changed parameter. If a request is
received with the same parameters and a token is included, the request returns
information about the initial request that used that token.

* InvalidClientRequestTokenException
The client request token is not valid.

* IdempotencyParameterMismatchException
The client request token is not valid. Either the token is not in a valid
format, or the token has been used in a previous request and cannot be reused.

* CommentContentRequiredException
The comment is empty. You must provide some content for a comment. The content
cannot be null.

* CommentContentSizeLimitExceededException
The comment is too large. Comments are limited to 1,000 characters.

* InvalidFileLocationException
The location of the file is not valid. Make sure that you include the file
name and extension.

* InvalidRelativeFileVersionEnumException
Either the enum is not in a valid format, or the specified file version enum
is not valid in respect to the current file version.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidFilePositionException
The position is not valid. Make sure that the line number exists in the version
of the file you want to comment on.

* CommitIdRequiredException
A commit ID was not specified.

* InvalidCommitIdException
The specified commit ID is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

* 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.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidPathException
The specified path is not valid.

* PathDoesNotExistException
The specified path does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit

func (*CodeCommit) PostCommentForComparedCommitRequest

func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForComparedCommitInput) (req *request.Request, output *PostCommentForComparedCommitOutput)

PostCommentForComparedCommitRequest generates a "aws/request.Request" representing the client's request for the PostCommentForComparedCommit operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PostCommentForComparedCommit for more information on using the PostCommentForComparedCommit API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PostCommentForComparedCommitRequest method.
req, resp := client.PostCommentForComparedCommitRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit

func (*CodeCommit) PostCommentForComparedCommitWithContext

func (c *CodeCommit) PostCommentForComparedCommitWithContext(ctx aws.Context, input *PostCommentForComparedCommitInput, opts ...request.Option) (*PostCommentForComparedCommitOutput, error)

PostCommentForComparedCommitWithContext is the same as PostCommentForComparedCommit with the addition of the ability to pass a context and additional request options.

See PostCommentForComparedCommit for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PostCommentForPullRequest

func (c *CodeCommit) PostCommentForPullRequest(input *PostCommentForPullRequestInput) (*PostCommentForPullRequestOutput, error)

PostCommentForPullRequest API operation for AWS CodeCommit.

Posts a comment on a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PostCommentForPullRequest for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* RepositoryNotAssociatedWithPullRequestException
The repository does not contain any pull requests with that pull request
ID. Use GetPullRequest to verify the correct repository name for the pull
request ID.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ClientRequestTokenRequiredException
A client request token is required. A client request token is an unique,
client-generated idempotency token that, when provided in a request, ensures
the request cannot be repeated with a changed parameter. If a request is
received with the same parameters and a token is included, the request returns
information about the initial request that used that token.

* InvalidClientRequestTokenException
The client request token is not valid.

* IdempotencyParameterMismatchException
The client request token is not valid. Either the token is not in a valid
format, or the token has been used in a previous request and cannot be reused.

* CommentContentRequiredException
The comment is empty. You must provide some content for a comment. The content
cannot be null.

* CommentContentSizeLimitExceededException
The comment is too large. Comments are limited to 1,000 characters.

* InvalidFileLocationException
The location of the file is not valid. Make sure that you include the file
name and extension.

* InvalidRelativeFileVersionEnumException
Either the enum is not in a valid format, or the specified file version enum
is not valid in respect to the current file version.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidFilePositionException
The position is not valid. Make sure that the line number exists in the version
of the file you want to comment on.

* CommitIdRequiredException
A commit ID was not specified.

* InvalidCommitIdException
The specified commit ID is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

* CommitDoesNotExistException
The specified commit does not exist or no commit was specified, and the specified
repository has no default branch.

* InvalidPathException
The specified path is not valid.

* PathDoesNotExistException
The specified path does not exist.

* PathRequiredException
The folderPath for a location cannot be null.

* 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest

func (*CodeCommit) PostCommentForPullRequestRequest

func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullRequestInput) (req *request.Request, output *PostCommentForPullRequestOutput)

PostCommentForPullRequestRequest generates a "aws/request.Request" representing the client's request for the PostCommentForPullRequest operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PostCommentForPullRequest for more information on using the PostCommentForPullRequest API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PostCommentForPullRequestRequest method.
req, resp := client.PostCommentForPullRequestRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest

func (*CodeCommit) PostCommentForPullRequestWithContext

func (c *CodeCommit) PostCommentForPullRequestWithContext(ctx aws.Context, input *PostCommentForPullRequestInput, opts ...request.Option) (*PostCommentForPullRequestOutput, error)

PostCommentForPullRequestWithContext is the same as PostCommentForPullRequest with the addition of the ability to pass a context and additional request options.

See PostCommentForPullRequest for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PostCommentReply

func (c *CodeCommit) PostCommentReply(input *PostCommentReplyInput) (*PostCommentReplyOutput, error)

PostCommentReply API operation for AWS CodeCommit.

Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PostCommentReply for usage and error information.

Returned Error Types:

* ClientRequestTokenRequiredException
A client request token is required. A client request token is an unique,
client-generated idempotency token that, when provided in a request, ensures
the request cannot be repeated with a changed parameter. If a request is
received with the same parameters and a token is included, the request returns
information about the initial request that used that token.

* InvalidClientRequestTokenException
The client request token is not valid.

* IdempotencyParameterMismatchException
The client request token is not valid. Either the token is not in a valid
format, or the token has been used in a previous request and cannot be reused.

* CommentContentRequiredException
The comment is empty. You must provide some content for a comment. The content
cannot be null.

* CommentContentSizeLimitExceededException
The comment is too large. Comments are limited to 1,000 characters.

* CommentDoesNotExistException
No comment exists with the provided ID. Verify that you have used the correct
ID, and then try again.

* CommentIdRequiredException
The comment ID is missing or null. A comment ID is required.

* InvalidCommentIdException
The comment ID is not in a valid format. Make sure that you have provided
the full comment ID.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply

func (*CodeCommit) PostCommentReplyRequest

func (c *CodeCommit) PostCommentReplyRequest(input *PostCommentReplyInput) (req *request.Request, output *PostCommentReplyOutput)

PostCommentReplyRequest generates a "aws/request.Request" representing the client's request for the PostCommentReply operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PostCommentReply for more information on using the PostCommentReply API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PostCommentReplyRequest method.
req, resp := client.PostCommentReplyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply

func (*CodeCommit) PostCommentReplyWithContext

func (c *CodeCommit) PostCommentReplyWithContext(ctx aws.Context, input *PostCommentReplyInput, opts ...request.Option) (*PostCommentReplyOutput, error)

PostCommentReplyWithContext is the same as PostCommentReply with the addition of the ability to pass a context and additional request options.

See PostCommentReply for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PutFile

func (c *CodeCommit) PutFile(input *PutFileInput) (*PutFileOutput, error)

PutFile API operation for AWS CodeCommit.

Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PutFile for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryDoesNotExistException
The specified repository does not exist.

* ParentCommitIdRequiredException
A parent commit ID is required. To view the full commit ID of a branch in
a repository, use GetBranch or a Git command (for example, git pull or git
log).

* InvalidParentCommitIdException
The parent commit ID is not valid. The commit ID cannot be empty, and must
match the head commit ID for the branch of the repository where you want
to add or update a file.

* ParentCommitDoesNotExistException
The parent commit ID is not valid because it does not exist. The specified
parent commit ID does not exist in the specified branch of the repository.

* ParentCommitIdOutdatedException
The file could not be added because the provided parent commit ID is not
the current tip of the specified branch. To view the full commit ID of the
current head of the branch, use GetBranch.

* FileContentRequiredException
The file cannot be added because it is empty. Empty files cannot be added
to the repository with this API.

* FileContentSizeLimitExceededException
The file cannot be added because it is too large. The maximum file size is
6 MB, and the combined file content change size is 7 MB. Consider making
these changes using a Git client.

* FolderContentSizeLimitExceededException
The commit cannot be created because at least one of the overall changes
in the commit results in a folder whose contents exceed the limit of 6 MB.
Either reduce the number and size of your changes, or split the changes across
multiple folders.

* PathRequiredException
The folderPath for a location cannot be null.

* InvalidPathException
The specified path is not valid.

* BranchNameRequiredException
A branch name is required, but was not specified.

* InvalidBranchNameException
The specified reference name is not valid.

* BranchDoesNotExistException
The specified branch does not exist.

* BranchNameIsTagNameException
The specified branch name is not valid because it is a tag name. Enter the
name of a branch in the repository. For a list of valid branch names, use
ListBranches.

* InvalidFileModeException
The specified file mode permission is not valid. For a list of valid file
mode permissions, see PutFile.

* NameLengthExceededException
The user name is not valid because it has exceeded the character limit for
author names.

* InvalidEmailException
The specified email address either contains one or more characters that are
not allowed, or it exceeds the maximum number of characters allowed for an
email address.

* CommitMessageLengthExceededException
The commit message is too long. Provide a shorter string.

* InvalidDeletionParameterException
The specified deletion parameter is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

* SameFileContentException
The file was not added or updated because the content of the file is exactly
the same as the content of that file in the repository and branch that you
specified.

* FileNameConflictsWithDirectoryNameException
A file cannot be added to the repository because the specified file name
has the same name as a directory in this repository. Either provide another
name for the file, or add the file in a directory that does not match the
file name.

* DirectoryNameConflictsWithFileNameException
A file cannot be added to the repository because the specified path name
has the same name as a file that already exists in this repository. Either
provide a different name for the file, or specify a different path for the
file.

* FilePathConflictsWithSubmodulePathException
The commit cannot be created because a specified file path points to a submodule.
Verify that the destination files have valid file paths that do not point
to a submodule.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFile

func (*CodeCommit) PutFileRequest

func (c *CodeCommit) PutFileRequest(input *PutFileInput) (req *request.Request, output *PutFileOutput)

PutFileRequest generates a "aws/request.Request" representing the client's request for the PutFile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutFile for more information on using the PutFile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutFileRequest method.
req, resp := client.PutFileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFile

func (*CodeCommit) PutFileWithContext

func (c *CodeCommit) PutFileWithContext(ctx aws.Context, input *PutFileInput, opts ...request.Option) (*PutFileOutput, error)

PutFileWithContext is the same as PutFile with the addition of the ability to pass a context and additional request options.

See PutFile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) PutRepositoryTriggers

func (c *CodeCommit) PutRepositoryTriggers(input *PutRepositoryTriggersInput) (*PutRepositoryTriggersOutput, error)

PutRepositoryTriggers API operation for AWS CodeCommit.

Replaces all triggers for a repository. Used to create or delete triggers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation PutRepositoryTriggers for usage and error information.

Returned Error Types:

* RepositoryDoesNotExistException
The specified repository does not exist.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryTriggersListRequiredException
The list of triggers for the repository is required, but was not specified.

* MaximumRepositoryTriggersExceededException
The number of triggers allowed for the repository was exceeded.

* InvalidRepositoryTriggerNameException
The name of the trigger is not valid.

* InvalidRepositoryTriggerDestinationArnException
The Amazon Resource Name (ARN) for the trigger is not valid for the specified
destination. The most common reason for this error is that the ARN does not
meet the requirements for the service type.

* InvalidRepositoryTriggerRegionException
The AWS Region for the trigger target does not match the AWS Region for the
repository. Triggers must be created in the same Region as the target for
the trigger.

* InvalidRepositoryTriggerCustomDataException
The custom data provided for the trigger is not valid.

* MaximumBranchesExceededException
The number of branches for the trigger was exceeded.

* InvalidRepositoryTriggerBranchNameException
One or more branch names specified for the trigger is not valid.

* InvalidRepositoryTriggerEventsException
One or more events specified for the trigger is not valid. Check to make
sure that all events specified match the requirements for allowed events.

* RepositoryTriggerNameRequiredException
A name for the trigger is required, but was not specified.

* RepositoryTriggerDestinationArnRequiredException
A destination ARN for the target service for the trigger is required, but
was not specified.

* RepositoryTriggerBranchNameListRequiredException
At least one branch name is required, but was not specified in the trigger
configuration.

* RepositoryTriggerEventsListRequiredException
At least one event for the trigger is required, but was not specified.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers

func (*CodeCommit) PutRepositoryTriggersRequest

func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) (req *request.Request, output *PutRepositoryTriggersOutput)

PutRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the PutRepositoryTriggers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutRepositoryTriggers for more information on using the PutRepositoryTriggers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutRepositoryTriggersRequest method.
req, resp := client.PutRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers

func (*CodeCommit) PutRepositoryTriggersWithContext

func (c *CodeCommit) PutRepositoryTriggersWithContext(ctx aws.Context, input *PutRepositoryTriggersInput, opts ...request.Option) (*PutRepositoryTriggersOutput, error)

PutRepositoryTriggersWithContext is the same as PutRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See PutRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) TagResource

func (c *CodeCommit) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS CodeCommit.

Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation TagResource for usage and error information.

Returned Error Types:

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ResourceArnRequiredException
A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required.
For a list of valid resources in AWS CodeCommit, see CodeCommit Resources
and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* InvalidResourceArnException
The value for the resource ARN is not valid. For more information about resources
in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* TagsMapRequiredException
A map of tags is required.

* InvalidTagsMapException
The map of tags is not valid.

* TooManyTagsException
The maximum number of tags for an AWS CodeCommit resource has been exceeded.

* InvalidSystemTagUsageException
The specified tag is not valid. Key names cannot be prefixed with aws:.

* TagPolicyException
The tag policy is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagResource

func (*CodeCommit) TagResourceRequest

func (c *CodeCommit) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagResource

func (*CodeCommit) TagResourceWithContext

func (c *CodeCommit) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) TestRepositoryTriggers

func (c *CodeCommit) TestRepositoryTriggers(input *TestRepositoryTriggersInput) (*TestRepositoryTriggersOutput, error)

TestRepositoryTriggers API operation for AWS CodeCommit.

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test sends data from the last commit. If no data is available, sample data is generated.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation TestRepositoryTriggers for usage and error information.

Returned Error Types:

* RepositoryDoesNotExistException
The specified repository does not exist.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* RepositoryTriggersListRequiredException
The list of triggers for the repository is required, but was not specified.

* MaximumRepositoryTriggersExceededException
The number of triggers allowed for the repository was exceeded.

* InvalidRepositoryTriggerNameException
The name of the trigger is not valid.

* InvalidRepositoryTriggerDestinationArnException
The Amazon Resource Name (ARN) for the trigger is not valid for the specified
destination. The most common reason for this error is that the ARN does not
meet the requirements for the service type.

* InvalidRepositoryTriggerRegionException
The AWS Region for the trigger target does not match the AWS Region for the
repository. Triggers must be created in the same Region as the target for
the trigger.

* InvalidRepositoryTriggerCustomDataException
The custom data provided for the trigger is not valid.

* MaximumBranchesExceededException
The number of branches for the trigger was exceeded.

* InvalidRepositoryTriggerBranchNameException
One or more branch names specified for the trigger is not valid.

* InvalidRepositoryTriggerEventsException
One or more events specified for the trigger is not valid. Check to make
sure that all events specified match the requirements for allowed events.

* RepositoryTriggerNameRequiredException
A name for the trigger is required, but was not specified.

* RepositoryTriggerDestinationArnRequiredException
A destination ARN for the target service for the trigger is required, but
was not specified.

* RepositoryTriggerBranchNameListRequiredException
At least one branch name is required, but was not specified in the trigger
configuration.

* RepositoryTriggerEventsListRequiredException
At least one event for the trigger is required, but was not specified.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers

func (*CodeCommit) TestRepositoryTriggersRequest

func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) (req *request.Request, output *TestRepositoryTriggersOutput)

TestRepositoryTriggersRequest generates a "aws/request.Request" representing the client's request for the TestRepositoryTriggers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TestRepositoryTriggers for more information on using the TestRepositoryTriggers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TestRepositoryTriggersRequest method.
req, resp := client.TestRepositoryTriggersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers

func (*CodeCommit) TestRepositoryTriggersWithContext

func (c *CodeCommit) TestRepositoryTriggersWithContext(ctx aws.Context, input *TestRepositoryTriggersInput, opts ...request.Option) (*TestRepositoryTriggersOutput, error)

TestRepositoryTriggersWithContext is the same as TestRepositoryTriggers with the addition of the ability to pass a context and additional request options.

See TestRepositoryTriggers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UntagResource

func (c *CodeCommit) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS CodeCommit.

Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UntagResource for usage and error information.

Returned Error Types:

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* ResourceArnRequiredException
A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required.
For a list of valid resources in AWS CodeCommit, see CodeCommit Resources
and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* InvalidResourceArnException
The value for the resource ARN is not valid. For more information about resources
in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
in the AWS CodeCommit User Guide.

* TagKeysListRequiredException
A list of tag keys is required. The list cannot be empty or null.

* InvalidTagKeysListException
The list of tags is not valid.

* TooManyTagsException
The maximum number of tags for an AWS CodeCommit resource has been exceeded.

* InvalidSystemTagUsageException
The specified tag is not valid. Key names cannot be prefixed with aws:.

* TagPolicyException
The tag policy is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UntagResource

func (*CodeCommit) UntagResourceRequest

func (c *CodeCommit) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UntagResource

func (*CodeCommit) UntagResourceWithContext

func (c *CodeCommit) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateApprovalRuleTemplateContent

func (c *CodeCommit) UpdateApprovalRuleTemplateContent(input *UpdateApprovalRuleTemplateContentInput) (*UpdateApprovalRuleTemplateContentOutput, error)

UpdateApprovalRuleTemplateContent API operation for AWS CodeCommit.

Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateApprovalRuleTemplateContent for usage and error information.

Returned Error Types:

* InvalidApprovalRuleTemplateNameException
The name of the approval rule template is not valid. Template names must
be between 1 and 100 valid characters in length. For more information about
limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

* ApprovalRuleTemplateNameRequiredException
An approval rule template name is required, but was not specified.

* ApprovalRuleTemplateDoesNotExistException
The specified approval rule template does not exist. Verify that the name
is correct and that you are signed in to the AWS Region where the template
was created, and then try again.

* InvalidApprovalRuleTemplateContentException
The content of the approval rule template is not valid.

* InvalidRuleContentSha256Exception
The SHA-256 hash signature for the rule content is not valid.

* ApprovalRuleTemplateContentRequiredException
The content for the approval rule template is empty. You must provide some
content for an approval rule template. The content cannot be null.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContent

func (*CodeCommit) UpdateApprovalRuleTemplateContentRequest

func (c *CodeCommit) UpdateApprovalRuleTemplateContentRequest(input *UpdateApprovalRuleTemplateContentInput) (req *request.Request, output *UpdateApprovalRuleTemplateContentOutput)

UpdateApprovalRuleTemplateContentRequest generates a "aws/request.Request" representing the client's request for the UpdateApprovalRuleTemplateContent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApprovalRuleTemplateContent for more information on using the UpdateApprovalRuleTemplateContent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApprovalRuleTemplateContentRequest method.
req, resp := client.UpdateApprovalRuleTemplateContentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContent

func (*CodeCommit) UpdateApprovalRuleTemplateContentWithContext

func (c *CodeCommit) UpdateApprovalRuleTemplateContentWithContext(ctx aws.Context, input *UpdateApprovalRuleTemplateContentInput, opts ...request.Option) (*UpdateApprovalRuleTemplateContentOutput, error)

UpdateApprovalRuleTemplateContentWithContext is the same as UpdateApprovalRuleTemplateContent with the addition of the ability to pass a context and additional request options.

See UpdateApprovalRuleTemplateContent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateApprovalRuleTemplateDescription

func (c *CodeCommit) UpdateApprovalRuleTemplateDescription(input *UpdateApprovalRuleTemplateDescriptionInput) (*UpdateApprovalRuleTemplateDescriptionOutput, error)

UpdateApprovalRuleTemplateDescription API operation for AWS CodeCommit.

Updates the description for a specified approval rule template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateApprovalRuleTemplateDescription for usage and error information.

Returned Error Types:

* InvalidApprovalRuleTemplateNameException
The name of the approval rule template is not valid. Template names must
be between 1 and 100 valid characters in length. For more information about
limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

* ApprovalRuleTemplateNameRequiredException
An approval rule template name is required, but was not specified.

* ApprovalRuleTemplateDoesNotExistException
The specified approval rule template does not exist. Verify that the name
is correct and that you are signed in to the AWS Region where the template
was created, and then try again.

* InvalidApprovalRuleTemplateDescriptionException
The description for the approval rule template is not valid because it exceeds
the maximum characters allowed for a description. For more information about
limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescription

func (*CodeCommit) UpdateApprovalRuleTemplateDescriptionRequest

func (c *CodeCommit) UpdateApprovalRuleTemplateDescriptionRequest(input *UpdateApprovalRuleTemplateDescriptionInput) (req *request.Request, output *UpdateApprovalRuleTemplateDescriptionOutput)

UpdateApprovalRuleTemplateDescriptionRequest generates a "aws/request.Request" representing the client's request for the UpdateApprovalRuleTemplateDescription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApprovalRuleTemplateDescription for more information on using the UpdateApprovalRuleTemplateDescription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApprovalRuleTemplateDescriptionRequest method.
req, resp := client.UpdateApprovalRuleTemplateDescriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescription

func (*CodeCommit) UpdateApprovalRuleTemplateDescriptionWithContext

func (c *CodeCommit) UpdateApprovalRuleTemplateDescriptionWithContext(ctx aws.Context, input *UpdateApprovalRuleTemplateDescriptionInput, opts ...request.Option) (*UpdateApprovalRuleTemplateDescriptionOutput, error)

UpdateApprovalRuleTemplateDescriptionWithContext is the same as UpdateApprovalRuleTemplateDescription with the addition of the ability to pass a context and additional request options.

See UpdateApprovalRuleTemplateDescription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateApprovalRuleTemplateName

func (c *CodeCommit) UpdateApprovalRuleTemplateName(input *UpdateApprovalRuleTemplateNameInput) (*UpdateApprovalRuleTemplateNameOutput, error)

UpdateApprovalRuleTemplateName API operation for AWS CodeCommit.

Updates the name of a specified approval rule template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateApprovalRuleTemplateName for usage and error information.

Returned Error Types:

* InvalidApprovalRuleTemplateNameException
The name of the approval rule template is not valid. Template names must
be between 1 and 100 valid characters in length. For more information about
limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

* ApprovalRuleTemplateNameRequiredException
An approval rule template name is required, but was not specified.

* ApprovalRuleTemplateDoesNotExistException
The specified approval rule template does not exist. Verify that the name
is correct and that you are signed in to the AWS Region where the template
was created, and then try again.

* ApprovalRuleTemplateNameAlreadyExistsException
You cannot create an approval rule template with that name because a template
with that name already exists in this AWS Region for your AWS account. Approval
rule template names must be unique.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateName

func (*CodeCommit) UpdateApprovalRuleTemplateNameRequest

func (c *CodeCommit) UpdateApprovalRuleTemplateNameRequest(input *UpdateApprovalRuleTemplateNameInput) (req *request.Request, output *UpdateApprovalRuleTemplateNameOutput)

UpdateApprovalRuleTemplateNameRequest generates a "aws/request.Request" representing the client's request for the UpdateApprovalRuleTemplateName operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApprovalRuleTemplateName for more information on using the UpdateApprovalRuleTemplateName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApprovalRuleTemplateNameRequest method.
req, resp := client.UpdateApprovalRuleTemplateNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateName

func (*CodeCommit) UpdateApprovalRuleTemplateNameWithContext

func (c *CodeCommit) UpdateApprovalRuleTemplateNameWithContext(ctx aws.Context, input *UpdateApprovalRuleTemplateNameInput, opts ...request.Option) (*UpdateApprovalRuleTemplateNameOutput, error)

UpdateApprovalRuleTemplateNameWithContext is the same as UpdateApprovalRuleTemplateName with the addition of the ability to pass a context and additional request options.

See UpdateApprovalRuleTemplateName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateComment

func (c *CodeCommit) UpdateComment(input *UpdateCommentInput) (*UpdateCommentOutput, error)

UpdateComment API operation for AWS CodeCommit.

Replaces the contents of a comment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateComment for usage and error information.

Returned Error Types:

* CommentContentRequiredException
The comment is empty. You must provide some content for a comment. The content
cannot be null.

* CommentContentSizeLimitExceededException
The comment is too large. Comments are limited to 1,000 characters.

* CommentDoesNotExistException
No comment exists with the provided ID. Verify that you have used the correct
ID, and then try again.

* CommentIdRequiredException
The comment ID is missing or null. A comment ID is required.

* InvalidCommentIdException
The comment ID is not in a valid format. Make sure that you have provided
the full comment ID.

* CommentNotCreatedByCallerException
You cannot modify or delete this comment. Only comment authors can modify
or delete their comments.

* CommentDeletedException
This comment has already been deleted. You cannot edit or delete a deleted
comment.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment

func (*CodeCommit) UpdateCommentRequest

func (c *CodeCommit) UpdateCommentRequest(input *UpdateCommentInput) (req *request.Request, output *UpdateCommentOutput)

UpdateCommentRequest generates a "aws/request.Request" representing the client's request for the UpdateComment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateComment for more information on using the UpdateComment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateCommentRequest method.
req, resp := client.UpdateCommentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment

func (*CodeCommit) UpdateCommentWithContext

func (c *CodeCommit) UpdateCommentWithContext(ctx aws.Context, input *UpdateCommentInput, opts ...request.Option) (*UpdateCommentOutput, error)

UpdateCommentWithContext is the same as UpdateComment with the addition of the ability to pass a context and additional request options.

See UpdateComment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateDefaultBranch

func (c *CodeCommit) UpdateDefaultBranch(input *UpdateDefaultBranchInput) (*UpdateDefaultBranchOutput, error)

UpdateDefaultBranch API operation for AWS CodeCommit.

Sets or changes the default branch name for the specified repository.

If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateDefaultBranch for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* BranchNameRequiredException
A branch name is required, but was not specified.

* InvalidBranchNameException
The specified reference name is not valid.

* BranchDoesNotExistException
The specified branch does not exist.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch

func (*CodeCommit) UpdateDefaultBranchRequest

func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) (req *request.Request, output *UpdateDefaultBranchOutput)

UpdateDefaultBranchRequest generates a "aws/request.Request" representing the client's request for the UpdateDefaultBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDefaultBranch for more information on using the UpdateDefaultBranch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDefaultBranchRequest method.
req, resp := client.UpdateDefaultBranchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch

func (*CodeCommit) UpdateDefaultBranchWithContext

func (c *CodeCommit) UpdateDefaultBranchWithContext(ctx aws.Context, input *UpdateDefaultBranchInput, opts ...request.Option) (*UpdateDefaultBranchOutput, error)

UpdateDefaultBranchWithContext is the same as UpdateDefaultBranch with the addition of the ability to pass a context and additional request options.

See UpdateDefaultBranch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestApprovalRuleContent

func (c *CodeCommit) UpdatePullRequestApprovalRuleContent(input *UpdatePullRequestApprovalRuleContentInput) (*UpdatePullRequestApprovalRuleContentOutput, error)

UpdatePullRequestApprovalRuleContent API operation for AWS CodeCommit.

Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestApprovalRuleContent for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* PullRequestAlreadyClosedException
The pull request status cannot be updated because it is already closed.

* ApprovalRuleNameRequiredException
An approval rule name is required, but was not specified.

* InvalidApprovalRuleNameException
The name for the approval rule is not valid.

* ApprovalRuleDoesNotExistException
The specified approval rule does not exist.

* InvalidRuleContentSha256Exception
The SHA-256 hash signature for the rule content is not valid.

* ApprovalRuleContentRequiredException
The content for the approval rule is empty. You must provide some content
for an approval rule. The content cannot be null.

* InvalidApprovalRuleContentException
The content for the approval rule is not valid.

* CannotModifyApprovalRuleFromTemplateException
The approval rule cannot be modified for the pull request because it was
created by an approval rule template and applied to the pull request automatically.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContent

func (*CodeCommit) UpdatePullRequestApprovalRuleContentRequest

func (c *CodeCommit) UpdatePullRequestApprovalRuleContentRequest(input *UpdatePullRequestApprovalRuleContentInput) (req *request.Request, output *UpdatePullRequestApprovalRuleContentOutput)

UpdatePullRequestApprovalRuleContentRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestApprovalRuleContent operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestApprovalRuleContent for more information on using the UpdatePullRequestApprovalRuleContent API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestApprovalRuleContentRequest method.
req, resp := client.UpdatePullRequestApprovalRuleContentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContent

func (*CodeCommit) UpdatePullRequestApprovalRuleContentWithContext

func (c *CodeCommit) UpdatePullRequestApprovalRuleContentWithContext(ctx aws.Context, input *UpdatePullRequestApprovalRuleContentInput, opts ...request.Option) (*UpdatePullRequestApprovalRuleContentOutput, error)

UpdatePullRequestApprovalRuleContentWithContext is the same as UpdatePullRequestApprovalRuleContent with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestApprovalRuleContent for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestApprovalState

func (c *CodeCommit) UpdatePullRequestApprovalState(input *UpdatePullRequestApprovalStateInput) (*UpdatePullRequestApprovalStateOutput, error)

UpdatePullRequestApprovalState API operation for AWS CodeCommit.

Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestApprovalState for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidRevisionIdException
The revision ID is not valid. Use GetPullRequest to determine the value.

* RevisionIdRequiredException
A revision ID is required, but was not provided.

* InvalidApprovalStateException
The state for the approval is not valid. Valid values include APPROVE and
REVOKE.

* ApprovalStateRequiredException
An approval state is required, but was not specified.

* PullRequestCannotBeApprovedByAuthorException
The approval cannot be applied because the user approving the pull request
matches the user who created the pull request. You cannot approve a pull
request that you created.

* RevisionNotCurrentException
The revision ID provided in the request does not match the current revision
ID. Use GetPullRequest to retrieve the current revision ID.

* PullRequestAlreadyClosedException
The pull request status cannot be updated because it is already closed.

* MaximumNumberOfApprovalsExceededException
The number of approvals required for the approval rule exceeds the maximum
number allowed.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalState

func (*CodeCommit) UpdatePullRequestApprovalStateRequest

func (c *CodeCommit) UpdatePullRequestApprovalStateRequest(input *UpdatePullRequestApprovalStateInput) (req *request.Request, output *UpdatePullRequestApprovalStateOutput)

UpdatePullRequestApprovalStateRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestApprovalState operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestApprovalState for more information on using the UpdatePullRequestApprovalState API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestApprovalStateRequest method.
req, resp := client.UpdatePullRequestApprovalStateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalState

func (*CodeCommit) UpdatePullRequestApprovalStateWithContext

func (c *CodeCommit) UpdatePullRequestApprovalStateWithContext(ctx aws.Context, input *UpdatePullRequestApprovalStateInput, opts ...request.Option) (*UpdatePullRequestApprovalStateOutput, error)

UpdatePullRequestApprovalStateWithContext is the same as UpdatePullRequestApprovalState with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestApprovalState for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestDescription

func (c *CodeCommit) UpdatePullRequestDescription(input *UpdatePullRequestDescriptionInput) (*UpdatePullRequestDescriptionOutput, error)

UpdatePullRequestDescription API operation for AWS CodeCommit.

Replaces the contents of the description of a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestDescription for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidDescriptionException
The pull request description is not valid. Descriptions cannot be more than
1,000 characters.

* PullRequestAlreadyClosedException
The pull request status cannot be updated because it is already closed.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription

func (*CodeCommit) UpdatePullRequestDescriptionRequest

func (c *CodeCommit) UpdatePullRequestDescriptionRequest(input *UpdatePullRequestDescriptionInput) (req *request.Request, output *UpdatePullRequestDescriptionOutput)

UpdatePullRequestDescriptionRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestDescription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestDescription for more information on using the UpdatePullRequestDescription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestDescriptionRequest method.
req, resp := client.UpdatePullRequestDescriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription

func (*CodeCommit) UpdatePullRequestDescriptionWithContext

func (c *CodeCommit) UpdatePullRequestDescriptionWithContext(ctx aws.Context, input *UpdatePullRequestDescriptionInput, opts ...request.Option) (*UpdatePullRequestDescriptionOutput, error)

UpdatePullRequestDescriptionWithContext is the same as UpdatePullRequestDescription with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestDescription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestStatus

func (c *CodeCommit) UpdatePullRequestStatus(input *UpdatePullRequestStatusInput) (*UpdatePullRequestStatusOutput, error)

UpdatePullRequestStatus API operation for AWS CodeCommit.

Updates the status of a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestStatus for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* InvalidPullRequestStatusUpdateException
The pull request status update is not valid. The only valid update is from
OPEN to CLOSED.

* InvalidPullRequestStatusException
The pull request status is not valid. The only valid values are OPEN and
CLOSED.

* PullRequestStatusRequiredException
A pull request status is required, but none was provided.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus

func (*CodeCommit) UpdatePullRequestStatusRequest

func (c *CodeCommit) UpdatePullRequestStatusRequest(input *UpdatePullRequestStatusInput) (req *request.Request, output *UpdatePullRequestStatusOutput)

UpdatePullRequestStatusRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestStatus for more information on using the UpdatePullRequestStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestStatusRequest method.
req, resp := client.UpdatePullRequestStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus

func (*CodeCommit) UpdatePullRequestStatusWithContext

func (c *CodeCommit) UpdatePullRequestStatusWithContext(ctx aws.Context, input *UpdatePullRequestStatusInput, opts ...request.Option) (*UpdatePullRequestStatusOutput, error)

UpdatePullRequestStatusWithContext is the same as UpdatePullRequestStatus with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdatePullRequestTitle

func (c *CodeCommit) UpdatePullRequestTitle(input *UpdatePullRequestTitleInput) (*UpdatePullRequestTitleOutput, error)

UpdatePullRequestTitle API operation for AWS CodeCommit.

Replaces the title of a pull request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdatePullRequestTitle for usage and error information.

Returned Error Types:

* PullRequestDoesNotExistException
The pull request ID could not be found. Make sure that you have specified
the correct repository name and pull request ID, and then try again.

* InvalidPullRequestIdException
The pull request ID is not valid. Make sure that you have provided the full
ID and that the pull request is in the specified repository, and then try
again.

* PullRequestIdRequiredException
A pull request ID is required, but none was provided.

* TitleRequiredException
A pull request title is required. It cannot be empty or null.

* InvalidTitleException
The title of the pull request is not valid. Pull request titles cannot exceed
100 characters in length.

* PullRequestAlreadyClosedException
The pull request status cannot be updated because it is already closed.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle

func (*CodeCommit) UpdatePullRequestTitleRequest

func (c *CodeCommit) UpdatePullRequestTitleRequest(input *UpdatePullRequestTitleInput) (req *request.Request, output *UpdatePullRequestTitleOutput)

UpdatePullRequestTitleRequest generates a "aws/request.Request" representing the client's request for the UpdatePullRequestTitle operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePullRequestTitle for more information on using the UpdatePullRequestTitle API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePullRequestTitleRequest method.
req, resp := client.UpdatePullRequestTitleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle

func (*CodeCommit) UpdatePullRequestTitleWithContext

func (c *CodeCommit) UpdatePullRequestTitleWithContext(ctx aws.Context, input *UpdatePullRequestTitleInput, opts ...request.Option) (*UpdatePullRequestTitleOutput, error)

UpdatePullRequestTitleWithContext is the same as UpdatePullRequestTitle with the addition of the ability to pass a context and additional request options.

See UpdatePullRequestTitle for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateRepositoryDescription

func (c *CodeCommit) UpdateRepositoryDescription(input *UpdateRepositoryDescriptionInput) (*UpdateRepositoryDescriptionOutput, error)

UpdateRepositoryDescription API operation for AWS CodeCommit.

Sets or changes the comment or description for a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateRepositoryDescription for usage and error information.

Returned Error Types:

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* RepositoryDoesNotExistException
The specified repository does not exist.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

* InvalidRepositoryDescriptionException
The specified repository description is not valid.

* EncryptionIntegrityChecksFailedException
An encryption integrity check failed.

* EncryptionKeyAccessDeniedException
An encryption key could not be accessed.

* EncryptionKeyDisabledException
The encryption key is disabled.

* EncryptionKeyNotFoundException
No encryption key was found.

* EncryptionKeyUnavailableException
The encryption key is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription

func (*CodeCommit) UpdateRepositoryDescriptionRequest

func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) (req *request.Request, output *UpdateRepositoryDescriptionOutput)

UpdateRepositoryDescriptionRequest generates a "aws/request.Request" representing the client's request for the UpdateRepositoryDescription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRepositoryDescription for more information on using the UpdateRepositoryDescription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRepositoryDescriptionRequest method.
req, resp := client.UpdateRepositoryDescriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription

func (*CodeCommit) UpdateRepositoryDescriptionWithContext

func (c *CodeCommit) UpdateRepositoryDescriptionWithContext(ctx aws.Context, input *UpdateRepositoryDescriptionInput, opts ...request.Option) (*UpdateRepositoryDescriptionOutput, error)

UpdateRepositoryDescriptionWithContext is the same as UpdateRepositoryDescription with the addition of the ability to pass a context and additional request options.

See UpdateRepositoryDescription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeCommit) UpdateRepositoryName

func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*UpdateRepositoryNameOutput, error)

UpdateRepositoryName API operation for AWS CodeCommit.

Renames a repository. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Limits (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) in the AWS CodeCommit User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeCommit's API operation UpdateRepositoryName for usage and error information.

Returned Error Types:

* RepositoryDoesNotExistException
The specified repository does not exist.

* RepositoryNameExistsException
The specified repository name already exists.

* RepositoryNameRequiredException
A repository name is required, but was not specified.

* InvalidRepositoryNameException
A specified repository name is not valid.

This exception occurs only when a specified repository name is not valid.
Other exceptions occur when a required repository parameter is missing, or
when a specified repository does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName

func (*CodeCommit) UpdateRepositoryNameRequest

func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) (req *request.Request, output *UpdateRepositoryNameOutput)

UpdateRepositoryNameRequest generates a "aws/request.Request" representing the client's request for the UpdateRepositoryName operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRepositoryName for more information on using the UpdateRepositoryName API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRepositoryNameRequest method.
req, resp := client.UpdateRepositoryNameRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName

func (*CodeCommit) UpdateRepositoryNameWithContext

func (c *CodeCommit) UpdateRepositoryNameWithContext(ctx aws.Context, input *UpdateRepositoryNameInput, opts ...request.Option) (*UpdateRepositoryNameOutput, error)

UpdateRepositoryNameWithContext is the same as UpdateRepositoryName with the addition of the ability to pass a context and additional request options.

See UpdateRepositoryName for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Comment

type Comment struct {

    // The Amazon Resource Name (ARN) of the person who posted the comment.
    AuthorArn *string `locationName:"authorArn" type:"string"`

    // A unique, client-generated idempotency token that, when provided in a request,
    // ensures the request cannot be repeated with a changed parameter. If a request
    // is received with the same parameters and a token is included, the request
    // returns information about the initial request that used that token.
    ClientRequestToken *string `locationName:"clientRequestToken" type:"string"`

    // The system-generated comment ID.
    CommentId *string `locationName:"commentId" type:"string"`

    // The content of the comment.
    Content *string `locationName:"content" type:"string"`

    // The date and time the comment was created, in timestamp format.
    CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

    // A Boolean value indicating whether the comment has been deleted.
    Deleted *bool `locationName:"deleted" type:"boolean"`

    // The ID of the comment for which this comment is a reply, if any.
    InReplyTo *string `locationName:"inReplyTo" type:"string"`

    // The date and time the comment was most recently modified, in timestamp format.
    LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`
    // contains filtered or unexported fields
}

Returns information about a specific 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 CommentContentRequiredException

type CommentContentRequiredException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The comment is empty. You must provide some content for a comment. The content cannot be null.

func (CommentContentRequiredException) Code

func (s CommentContentRequiredException) Code() string

Code returns the exception type name.

func (CommentContentRequiredException) Error

func (s CommentContentRequiredException) Error() string

func (CommentContentRequiredException) GoString

func (s CommentContentRequiredException) GoString() string

GoString returns the string representation

func (CommentContentRequiredException) Message

func (s CommentContentRequiredException) Message() string

Message returns the exception's message.

func (CommentContentRequiredException) OrigErr

func (s CommentContentRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommentContentRequiredException) RequestID

func (s CommentContentRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommentContentRequiredException) StatusCode

func (s CommentContentRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentContentRequiredException) String

func (s CommentContentRequiredException) String() string

String returns the string representation

type CommentContentSizeLimitExceededException

type CommentContentSizeLimitExceededException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The comment is too large. Comments are limited to 1,000 characters.

func (CommentContentSizeLimitExceededException) Code

func (s CommentContentSizeLimitExceededException) Code() string

Code returns the exception type name.

func (CommentContentSizeLimitExceededException) Error

func (s CommentContentSizeLimitExceededException) Error() string

func (CommentContentSizeLimitExceededException) GoString

func (s CommentContentSizeLimitExceededException) GoString() string

GoString returns the string representation

func (CommentContentSizeLimitExceededException) Message

func (s CommentContentSizeLimitExceededException) Message() string

Message returns the exception's message.

func (CommentContentSizeLimitExceededException) OrigErr

func (s CommentContentSizeLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommentContentSizeLimitExceededException) RequestID

func (s CommentContentSizeLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommentContentSizeLimitExceededException) StatusCode

func (s CommentContentSizeLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentContentSizeLimitExceededException) String

func (s CommentContentSizeLimitExceededException) String() string

String returns the string representation

type CommentDeletedException

type CommentDeletedException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

This comment has already been deleted. You cannot edit or delete a deleted comment.

func (CommentDeletedException) Code

func (s CommentDeletedException) Code() string

Code returns the exception type name.

func (CommentDeletedException) Error

func (s CommentDeletedException) Error() string

func (CommentDeletedException) GoString

func (s CommentDeletedException) GoString() string

GoString returns the string representation

func (CommentDeletedException) Message

func (s CommentDeletedException) Message() string

Message returns the exception's message.

func (CommentDeletedException) OrigErr

func (s CommentDeletedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommentDeletedException) RequestID

func (s CommentDeletedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommentDeletedException) StatusCode

func (s CommentDeletedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentDeletedException) String

func (s CommentDeletedException) String() string

String returns the string representation

type CommentDoesNotExistException

type CommentDoesNotExistException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

No comment exists with the provided ID. Verify that you have used the correct ID, and then try again.

func (CommentDoesNotExistException) Code

func (s CommentDoesNotExistException) Code() string

Code returns the exception type name.

func (CommentDoesNotExistException) Error

func (s CommentDoesNotExistException) Error() string

func (CommentDoesNotExistException) GoString

func (s CommentDoesNotExistException) GoString() string

GoString returns the string representation

func (CommentDoesNotExistException) Message

func (s CommentDoesNotExistException) Message() string

Message returns the exception's message.

func (CommentDoesNotExistException) OrigErr

func (s CommentDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommentDoesNotExistException) RequestID

func (s CommentDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommentDoesNotExistException) StatusCode

func (s CommentDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentDoesNotExistException) String

func (s CommentDoesNotExistException) String() string

String returns the string representation

type CommentIdRequiredException

type CommentIdRequiredException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The comment ID is missing or null. A comment ID is required.

func (CommentIdRequiredException) Code

func (s CommentIdRequiredException) Code() string

Code returns the exception type name.

func (CommentIdRequiredException) Error

func (s CommentIdRequiredException) Error() string

func (CommentIdRequiredException) GoString

func (s CommentIdRequiredException) GoString() string

GoString returns the string representation

func (CommentIdRequiredException) Message

func (s CommentIdRequiredException) Message() string

Message returns the exception's message.

func (CommentIdRequiredException) OrigErr

func (s CommentIdRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommentIdRequiredException) RequestID

func (s CommentIdRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommentIdRequiredException) StatusCode

func (s CommentIdRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentIdRequiredException) String

func (s CommentIdRequiredException) String() string

String returns the string representation

type CommentNotCreatedByCallerException

type CommentNotCreatedByCallerException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

You cannot modify or delete this comment. Only comment authors can modify or delete their comments.

func (CommentNotCreatedByCallerException) Code

func (s CommentNotCreatedByCallerException) Code() string

Code returns the exception type name.

func (CommentNotCreatedByCallerException) Error

func (s CommentNotCreatedByCallerException) Error() string

func (CommentNotCreatedByCallerException) GoString

func (s CommentNotCreatedByCallerException) GoString() string

GoString returns the string representation

func (CommentNotCreatedByCallerException) Message

func (s CommentNotCreatedByCallerException) Message() string

Message returns the exception's message.

func (CommentNotCreatedByCallerException) OrigErr

func (s CommentNotCreatedByCallerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommentNotCreatedByCallerException) RequestID

func (s CommentNotCreatedByCallerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommentNotCreatedByCallerException) StatusCode

func (s CommentNotCreatedByCallerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommentNotCreatedByCallerException) String

func (s CommentNotCreatedByCallerException) 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.

func (CommentsForComparedCommit) GoString

func (s CommentsForComparedCommit) GoString() string

GoString returns the string representation

func (*CommentsForComparedCommit) SetAfterBlobId

func (s *CommentsForComparedCommit) SetAfterBlobId(v string) *CommentsForComparedCommit

SetAfterBlobId sets the AfterBlobId field's value.

func (*CommentsForComparedCommit) SetAfterCommitId

func (s *CommentsForComparedCommit) SetAfterCommitId(v string) *CommentsForComparedCommit

SetAfterCommitId sets the AfterCommitId field's value.

func (*CommentsForComparedCommit) SetBeforeBlobId

func (s *CommentsForComparedCommit) SetBeforeBlobId(v string) *CommentsForComparedCommit

SetBeforeBlobId sets the BeforeBlobId field's value.

func (*CommentsForComparedCommit) SetBeforeCommitId

func (s *CommentsForComparedCommit) SetBeforeCommitId(v string) *CommentsForComparedCommit

SetBeforeCommitId sets the BeforeCommitId field's value.

func (*CommentsForComparedCommit) SetComments

func (s *CommentsForComparedCommit) SetComments(v []*Comment) *CommentsForComparedCommit

SetComments sets the Comments field's value.

func (*CommentsForComparedCommit) SetLocation

func (s *CommentsForComparedCommit) SetLocation(v *Location) *CommentsForComparedCommit

SetLocation sets the Location field's value.

func (*CommentsForComparedCommit) SetRepositoryName

func (s *CommentsForComparedCommit) SetRepositoryName(v string) *CommentsForComparedCommit

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"`

    // The full commit ID of the commit that was the tip of the source branch at
    // the time the comment was made.
    AfterCommitId *string `locationName:"afterCommitId" type:"string"`

    // The full blob ID of the file on which you want to comment on the destination
    // commit.
    BeforeBlobId *string `locationName:"beforeBlobId" type:"string"`

    // The full commit ID of the commit that was the tip of the destination branch
    // when the pull request was created. This commit is superceded by the after
    // commit in the source branch when and if you merge the source branch into
    // the destination branch.
    BeforeCommitId *string `locationName:"beforeCommitId" type:"string"`

    // An array of comment objects. Each comment object contains information about
    // a comment on the pull request.
    Comments []*Comment `locationName:"comments" type:"list"`

    // Location information about the comment on the pull request, including the
    // file name, line number, and whether the version of the file where the comment
    // was made is BEFORE (destination branch) or AFTER (source branch).
    Location *Location `locationName:"location" type:"structure"`

    // The system-generated ID of the pull request.
    PullRequestId *string `locationName:"pullRequestId" type:"string"`

    // The name of the repository that contains the pull request.
    RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Returns information about comments on a pull request.

func (CommentsForPullRequest) GoString

func (s CommentsForPullRequest) GoString() string

GoString returns the string representation

func (*CommentsForPullRequest) SetAfterBlobId

func (s *CommentsForPullRequest) SetAfterBlobId(v string) *CommentsForPullRequest

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

func (s *CommentsForPullRequest) SetComments(v []*Comment) *CommentsForPullRequest

SetComments sets the Comments field's value.

func (*CommentsForPullRequest) SetLocation

func (s *CommentsForPullRequest) SetLocation(v *Location) *CommentsForPullRequest

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 other data associated with the specified commit.
    AdditionalData *string `locationName:"additionalData" type:"string"`

    // Information about the author of the specified commit. Information includes
    // the date in timestamp format with GMT offset, the name of the author, and
    // the email address for the author, as configured in Git.
    Author *UserInfo `locationName:"author" type:"structure"`

    // The full SHA ID of the specified commit.
    CommitId *string `locationName:"commitId" type:"string"`

    // Information about the person who committed the specified commit, also known
    // as the committer. Information includes the date in timestamp format with
    // GMT offset, the name of the committer, and the email address for the committer,
    // as configured in Git.
    //
    // For more information about the difference between an author and a committer
    // in Git, see Viewing the Commit History (http://git-scm.com/book/ch2-3.html)
    // in Pro Git by Scott Chacon and Ben Straub.
    Committer *UserInfo `locationName:"committer" type:"structure"`

    // The commit message associated with the specified commit.
    Message *string `locationName:"message" type:"string"`

    // A list of parent commits for the specified commit. Each parent commit ID
    // is the full commit ID.
    Parents []*string `locationName:"parents" type:"list"`

    // Tree information for the specified commit.
    TreeId *string `locationName:"treeId" type:"string"`
    // contains filtered or unexported fields
}

Returns information about a specific commit.

func (Commit) GoString

func (s Commit) GoString() string

GoString returns the string representation

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 CommitDoesNotExistException

type CommitDoesNotExistException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

func (CommitDoesNotExistException) Code

func (s CommitDoesNotExistException) Code() string

Code returns the exception type name.

func (CommitDoesNotExistException) Error

func (s CommitDoesNotExistException) Error() string

func (CommitDoesNotExistException) GoString

func (s CommitDoesNotExistException) GoString() string

GoString returns the string representation

func (CommitDoesNotExistException) Message

func (s CommitDoesNotExistException) Message() string

Message returns the exception's message.

func (CommitDoesNotExistException) OrigErr

func (s CommitDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommitDoesNotExistException) RequestID

func (s CommitDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommitDoesNotExistException) StatusCode

func (s CommitDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitDoesNotExistException) String

func (s CommitDoesNotExistException) String() string

String returns the string representation

type CommitIdDoesNotExistException

type CommitIdDoesNotExistException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified commit ID does not exist.

func (CommitIdDoesNotExistException) Code

func (s CommitIdDoesNotExistException) Code() string

Code returns the exception type name.

func (CommitIdDoesNotExistException) Error

func (s CommitIdDoesNotExistException) Error() string

func (CommitIdDoesNotExistException) GoString

func (s CommitIdDoesNotExistException) GoString() string

GoString returns the string representation

func (CommitIdDoesNotExistException) Message

func (s CommitIdDoesNotExistException) Message() string

Message returns the exception's message.

func (CommitIdDoesNotExistException) OrigErr

func (s CommitIdDoesNotExistException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommitIdDoesNotExistException) RequestID

func (s CommitIdDoesNotExistException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommitIdDoesNotExistException) StatusCode

func (s CommitIdDoesNotExistException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitIdDoesNotExistException) String

func (s CommitIdDoesNotExistException) String() string

String returns the string representation

type CommitIdRequiredException

type CommitIdRequiredException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

A commit ID was not specified.

func (CommitIdRequiredException) Code

func (s CommitIdRequiredException) Code() string

Code returns the exception type name.

func (CommitIdRequiredException) Error

func (s CommitIdRequiredException) Error() string

func (CommitIdRequiredException) GoString

func (s CommitIdRequiredException) GoString() string

GoString returns the string representation

func (CommitIdRequiredException) Message

func (s CommitIdRequiredException) Message() string

Message returns the exception's message.

func (CommitIdRequiredException) OrigErr

func (s CommitIdRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommitIdRequiredException) RequestID

func (s CommitIdRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommitIdRequiredException) StatusCode

func (s CommitIdRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitIdRequiredException) String

func (s CommitIdRequiredException) String() string

String returns the string representation

type CommitIdsLimitExceededException

type CommitIdsLimitExceededException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The maximum number of allowed commit IDs in a batch request is 100. Verify that your batch requests contains no more than 100 commit IDs, and then try again.

func (CommitIdsLimitExceededException) Code

func (s CommitIdsLimitExceededException) Code() string

Code returns the exception type name.

func (CommitIdsLimitExceededException) Error

func (s CommitIdsLimitExceededException) Error() string

func (CommitIdsLimitExceededException) GoString

func (s CommitIdsLimitExceededException) GoString() string

GoString returns the string representation

func (CommitIdsLimitExceededException) Message

func (s CommitIdsLimitExceededException) Message() string

Message returns the exception's message.

func (CommitIdsLimitExceededException) OrigErr

func (s CommitIdsLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommitIdsLimitExceededException) RequestID

func (s CommitIdsLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommitIdsLimitExceededException) StatusCode

func (s CommitIdsLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitIdsLimitExceededException) String

func (s CommitIdsLimitExceededException) String() string

String returns the string representation

type CommitIdsListRequiredException

type CommitIdsListRequiredException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

A list of commit IDs is required, but was either not specified or the list was empty.

func (CommitIdsListRequiredException) Code

func (s CommitIdsListRequiredException) Code() string

Code returns the exception type name.

func (CommitIdsListRequiredException) Error

func (s CommitIdsListRequiredException) Error() string

func (CommitIdsListRequiredException) GoString

func (s CommitIdsListRequiredException) GoString() string

GoString returns the string representation

func (CommitIdsListRequiredException) Message

func (s CommitIdsListRequiredException) Message() string

Message returns the exception's message.

func (CommitIdsListRequiredException) OrigErr

func (s CommitIdsListRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommitIdsListRequiredException) RequestID

func (s CommitIdsListRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommitIdsListRequiredException) StatusCode

func (s CommitIdsListRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitIdsListRequiredException) String

func (s CommitIdsListRequiredException) String() string

String returns the string representation

type CommitMessageLengthExceededException

type CommitMessageLengthExceededException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The commit message is too long. Provide a shorter string.

func (CommitMessageLengthExceededException) Code

func (s CommitMessageLengthExceededException) Code() string

Code returns the exception type name.

func (CommitMessageLengthExceededException) Error

func (s CommitMessageLengthExceededException) Error() string

func (CommitMessageLengthExceededException) GoString

func (s CommitMessageLengthExceededException) GoString() string

GoString returns the string representation

func (CommitMessageLengthExceededException) Message

func (s CommitMessageLengthExceededException) Message() string

Message returns the exception's message.

func (CommitMessageLengthExceededException) OrigErr

func (s CommitMessageLengthExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommitMessageLengthExceededException) RequestID

func (s CommitMessageLengthExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommitMessageLengthExceededException) StatusCode

func (s CommitMessageLengthExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitMessageLengthExceededException) String

func (s CommitMessageLengthExceededException) String() string

String returns the string representation

type CommitRequiredException

type CommitRequiredException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

A commit was not specified.

func (CommitRequiredException) Code

func (s CommitRequiredException) Code() string

Code returns the exception type name.

func (CommitRequiredException) Error

func (s CommitRequiredException) Error() string

func (CommitRequiredException) GoString

func (s CommitRequiredException) GoString() string

GoString returns the string representation

func (CommitRequiredException) Message

func (s CommitRequiredException) Message() string

Message returns the exception's message.

func (CommitRequiredException) OrigErr

func (s CommitRequiredException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (CommitRequiredException) RequestID

func (s CommitRequiredException) RequestID() string

RequestID returns the service's response RequestID for request.

func (CommitRequiredException) StatusCode

func (s CommitRequiredException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CommitRequiredException) String

func (s CommitRequiredException) String() string

String returns the string representation

type ConcurrentReferenceUpdateException

type ConcurrentReferenceUpdateException struct {
    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The merge cannot be completed because the target branch has been modified. Another user might have modified the target branch while the merge was in progress. Wait a few minutes, and then try again.

func (ConcurrentReferenceUpdateException) Code

func (s ConcurrentReferenceUpdateException) Code() string

Code returns the exception type name.

func (ConcurrentReferenceUpdateException) Error

func (s ConcurrentReferenceUpdateException) Error() string

func (ConcurrentReferenceUpdateException) GoString

func (s ConcurrentReferenceUpdateException) GoString() string

GoString returns the string representation

func (ConcurrentReferenceUpdateException) Message

func (s ConcurrentReferenceUpdateException) Message() string

Message returns the exception's message.

func (ConcurrentReferenceUpdateException) OrigErr

func (s ConcurrentReferenceUpdateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ConcurrentReferenceUpdateException) RequestID

func (s ConcurrentReferenceUpdateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ConcurrentReferenceUpdateException) StatusCode

func (s ConcurrentReferenceUpdateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConcurrentReferenceUpdateException) String

func (s ConcurrentReferenceUpdateException) String() string

String returns the string representation

type Conflict

type Conflict struct {

    // Metadata about a conflict in a merge operation.
    ConflictMetadata *ConflictMetadata `locationName:"conflictMetadata" type:"structure"`

    // A list of hunks that contain the differences between files or lines causing
    // the conflict.
    MergeHunks []*MergeHunk `locationName:"mergeHunks" type:"list"`
    // contains filtered or unexported fields
}

Information about conflicts in a merge operation.

func (Conflict) GoString

func (s Conflict) GoString() string

GoString returns the string representation

func (*Conflict) SetConflictMetadata

func (s *Conflict) SetConflictMetadata(v *ConflictMetadata) *Conflict

SetConflictMetadata sets the ConflictMetadata field's value.

func (*Conflict) SetMergeHunks

func (s *Conflict) SetMergeHunks(v []*MergeHunk) *Conflict

SetMergeHunks sets the MergeHunks field's value.

func (Conflict) String

func (s Conflict) String() string

String returns the string representation

type ConflictMetadata

type ConflictMetadata struct {

    // A boolean value indicating whether there are conflicts in the content of
    // a file.
    ContentConflict *bool `locationName:"contentConflict" type:"boolean"`

    // A boolean value indicating whether there are conflicts in the file mode of
    // a file.
    FileModeConflict *bool `locationName:"fileModeConflict" type:"boolean"`

    // The file modes of the file in the source, destination, and base of the merge.
    FileModes *FileModes `locationName:"fileModes" type:"structure"`

    // The path of the file that contains conflicts.
    FilePath *string `locationName:"filePath" type:"string"`

    // The file sizes of the file in the source, destination, and base of the merge.
    FileSizes *FileSizes `locationName:"fileSizes" type:"structure"`

    // A boolean value (true or false) indicating whether the file is binary or
    // textual in the source, destination, and base of the merge.
    IsBinaryFile *IsBinaryFile `locationName:"isBinaryFile" type:"structure"`

    // Whether an add, modify, or delete operation caused the conflict between the
    // source and destination of the merge.
    MergeOperations *MergeOperations `locationName:"mergeOperations" type:"structure"`

    // The number of conflicts, including both hunk conflicts and metadata conflicts.
    NumberOfConflicts *int64 `locationName:"numberOfConflicts" type:"integer"`

    // A boolean value (true or false) indicating whether there are conflicts between
    // the branches in the object type of a file, folder, or submodule.
    ObjectTypeConflict *bool `locationName:"objectTypeConflict" type:"boolean"`

    // Information about any object type conflicts in a merge operation.
    ObjectTypes *ObjectTypes `locationName:"objectTypes" type:"structure"`
    // contains filtered or unexported fields
}

Information about the metadata for a conflict in a merge operation.

func (ConflictMetadata) GoString

func (s ConflictMetadata) GoString() string

GoString returns the string representation

func (*ConflictMetadata) SetContentConflict

func (s *ConflictMetadata) SetContentConflict(v bool) *ConflictMetadata

SetContentConflict sets the ContentConflict field's value.

func (*ConflictMetadata) SetFileModeConflict

func (s *ConflictMetadata) SetFileModeConflict(v bool) *ConflictMetadata

SetFileModeConflict sets the FileModeConflict field's value.

func (*ConflictMetadata) SetFileModes

func (s *ConflictMetadata) SetFileModes(v *FileModes) *ConflictMetadata

SetFileModes sets the FileModes field's value.

func (*ConflictMetadata) SetFilePath

func (s *ConflictMetadata) SetFilePath(v string) *ConflictMetadata

SetFilePath sets the FilePath field's value.

func (*ConflictMetadata) SetFileSizes

func (s *ConflictMetadata) SetFileSizes(v *FileSizes) *ConflictMetadata

SetFileSizes sets the FileSizes field's value.

func (*ConflictMetadata) SetIsBinaryFile

func (s *ConflictMetadata) SetIsBinaryFile(v *IsBinaryFile) *ConflictMetadata

SetIsBinaryFile sets the IsBinaryFile field's value.

func (*ConflictMetadata) SetMergeOperations

func (s *ConflictMetadata) SetMergeOperations(v *MergeOperations) *ConflictMetadata

SetMergeOperations sets the MergeOperations field's value.

func (*ConflictMetadata) SetNumberOfConflicts

func (s *ConflictMetadata) SetNumberOfConflicts(v int64) *ConflictMetadata

SetNumberOfConflicts sets the NumberOfConflicts field's value.

func (*ConflictMetadata) SetObjectTypeConflict

func (s *ConflictMetadata) SetObjectTypeConflict(v bool) *ConflictMetadata

SetObjectTypeConflict sets the ObjectTypeConflict field's value.

func (*ConflictMetadata) SetObjectTypes

func (s *ConflictMetadata) SetObjectTypes(v *ObjectTypes) *ConflictMetadata

SetObjectTypes sets the ObjectTypes field's value.

func (ConflictMetadata) String

func (s ConflictMetadata) String() string

String returns the string representation

type ConflictResolution

type ConflictResolution struct {

    // Files to be deleted as part of the merge conflict resolution.
    DeleteFiles []*DeleteFileEntry `locationName:"deleteFiles" type:"list"`

    // Files to have content replaced as part of the merge conflict resolution.
    ReplaceContents []*ReplaceContentEntry `locationName:"replaceContents" type:"list"`

    // File modes that are set as part of the merge conflict resolution.
    SetFileModes []*SetFileModeEntry `locationName:"setFileModes" type:"list"`
    // contains filtered or unexported fields
}

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

func (ConflictResolution) GoString

func (s ConflictResolution) GoString() string

GoString returns the string representation

func (*ConflictResolution) SetDeleteFiles

func (s *ConflictResolution) SetDeleteFiles(v []*DeleteFileEntry) *ConflictResolution

SetDeleteFiles sets the DeleteFiles field's value.

func (*ConflictResolution) SetReplaceContents

func (s *ConflictResolution) SetReplaceContents(v []*ReplaceContentEntry) *ConflictResolution

SetReplaceContents sets the ReplaceContents field's value.

func (*ConflictResolution) SetSetFileModes

func (s *ConflictResolution) SetSetFileModes(v []*SetFileModeEntry) *ConflictResolution

SetSetFileModes sets the SetFileModes field's value.

func (ConflictResolution) String

func (s ConflictResolution) String() string

String returns the string representation

func (*ConflictResolution) Validate

func (s *ConflictResolution) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApprovalRuleTemplateInput

type CreateApprovalRuleTemplateInput struct {

    // The content of the approval rule that is created on pull requests in associated
    // repositories. If you specify one or more destination references (branches),
    // approval rules are created in an associated repository only if their destination
    // references (branches) match those specified in the template.
    //
    // When you create the content of the approval rule template, you can specify
    // approvers in an approval pool in one of two ways:
    //
    //    * CodeCommitApprovers: This option only requires an AWS account and a
    //    resource. It can be used for both IAM users and federated access users
    //    whose name matches the provided resource name. This is a very powerful
    //    option that offers a great deal of flexibility. For example, if you specify
    //    the AWS account 123456789012 and Mary_Major, all of the following are
    //    counted as approvals coming from that user: An IAM user in the account
    //    (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified
    //    in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major)
    //    This option does not recognize an active session of someone assuming the
    //    role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major)
    //    unless you include a wildcard (*Mary_Major).
    //
    //    * Fully qualified ARN: This option allows you to specify the fully qualified
    //    Amazon Resource Name (ARN) of the IAM user or role.
    //
    // For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers
    // (https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html)
    // in the IAM User Guide.
    //
    // ApprovalRuleTemplateContent is a required field
    ApprovalRuleTemplateContent *string `locationName:"approvalRuleTemplateContent" min:"1" type:"string" required:"true"`

    // The description of the approval rule template. Consider providing a description
    // that explains what this template does and when it might be appropriate to
    // associate it with repositories.
    ApprovalRuleTemplateDescription *string `locationName:"approvalRuleTemplateDescription" type:"string"`

    // The name of the approval rule template. Provide descriptive names, because
    // this name is applied to the approval rules created automatically in associated
    // repositories.
    //
    // ApprovalRuleTemplateName is a required field
    ApprovalRuleTemplateName *string `locationName:"approvalRuleTemplateName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateApprovalRuleTemplateInput) GoString

func (s CreateApprovalRuleTemplateInput) GoString() string

GoString returns the string representation

func (*CreateApprovalRuleTemplateInput) SetApprovalRuleTemplateContent

func