codecommit

package module
v1.25.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 45 Imported by: 51

Documentation

Overview

Package codecommit provides the API client, operations, and parameter types for AWS CodeCommit.

CodeCommit

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

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

Repositories, by calling the following:

BatchGetRepositories

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

CreateRepository

  • , which creates an CodeCommit repository.

DeleteRepository

  • , which deletes an CodeCommit repository.

GetRepository

  • , which returns information about a specified repository.

ListRepositories

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

UpdateRepositoryDescription

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

UpdateRepositoryEncryptionKey

  • , which updates the Key Management Service encryption key used to encrypt and decrypt a repository.

UpdateRepositoryName

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

Branches, by calling the following:

CreateBranch

  • , which creates a branch in a specified repository.

DeleteBranch

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

GetBranch

  • , which returns information about a specified branch.

ListBranches

  • , which lists all branches for a specified repository.

UpdateDefaultBranch

  • , which changes the default branch for a repository.

Files, by calling the following:

DeleteFile

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

GetBlob

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

GetFile

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

GetFolder

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

ListFileCommitHistory

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

PutFile

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

Commits, by calling the following:

BatchGetCommits

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

CreateCommit

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

GetCommit

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

GetDifferences

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

Merges, by calling the following:

BatchDescribeMergeConflicts

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

CreateUnreferencedMergeCommit

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

DescribeMergeConflicts

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

GetMergeCommit

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

GetMergeConflicts

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

GetMergeOptions

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

MergeBranchesByFastForward

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

MergeBranchesBySquash

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

MergeBranchesByThreeWay

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

Pull requests, by calling the following:

CreatePullRequest

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

CreatePullRequestApprovalRule

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

DeletePullRequestApprovalRule

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

DescribePullRequestEvents

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

EvaluatePullRequestApprovalRules

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

GetCommentsForPullRequest

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

GetPullRequest

  • , which returns information about a specified pull request.

GetPullRequestApprovalStates

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

GetPullRequestOverrideState

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

ListPullRequests

  • , which lists all pull requests for a repository.

MergePullRequestByFastForward

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

MergePullRequestBySquash

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

MergePullRequestByThreeWay

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

OverridePullRequestApprovalRules

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

PostCommentForPullRequest

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

UpdatePullRequestApprovalRuleContent

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

UpdatePullRequestApprovalState

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

UpdatePullRequestDescription

  • , which updates the description of a pull request.

UpdatePullRequestStatus

  • , which updates the status of a pull request.

UpdatePullRequestTitle

  • , which updates the title of a pull request.

Approval rule templates, by calling the following:

AssociateApprovalRuleTemplateWithRepository

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

BatchAssociateApprovalRuleTemplateWithRepositories

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

BatchDisassociateApprovalRuleTemplateFromRepositories

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

CreateApprovalRuleTemplate

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

DeleteApprovalRuleTemplate

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

DisassociateApprovalRuleTemplateFromRepository

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

GetApprovalRuleTemplate

  • , which returns information about an approval rule template.

ListApprovalRuleTemplates

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

ListAssociatedApprovalRuleTemplatesForRepository

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

ListRepositoriesForApprovalRuleTemplate

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

UpdateApprovalRuleTemplateDescription

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

UpdateApprovalRuleTemplateName

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

UpdateApprovalRuleTemplateContent

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

Comments in a repository, by calling the following:

DeleteCommentContent

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

GetComment

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

GetCommentReactions

  • , which returns information about emoji reactions to comments.

GetCommentsForComparedCommit

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

PostCommentForComparedCommit

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

PostCommentReply

  • , which creates a reply to a comment.

PutCommentReaction

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

UpdateComment

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

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

ListTagsForResource

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

TagResource

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

UntagResource

  • , which removes tags for a resource in CodeCommit.

Triggers, by calling the following:

GetRepositoryTriggers

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

PutRepositoryTriggers

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

TestRepositoryTriggers

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

For information about how to use CodeCommit, see the CodeCommit User Guide.

Index

Constants

View Source
const ServiceAPIVersion = "2015-04-13"
View Source
const ServiceID = "CodeCommit"

Variables

This section is empty.

Functions

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func WithAPIOptions added in v1.0.0

func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)

WithAPIOptions returns a functional option for setting the Client's APIOptions option.

func WithEndpointResolver deprecated

func WithEndpointResolver(v EndpointResolver) func(*Options)

Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.

To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.

func WithEndpointResolverV2 added in v1.15.0

func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)

WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.

func WithSigV4SigningName added in v1.18.2

func WithSigV4SigningName(name string) func(*Options)

WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.

func WithSigV4SigningRegion added in v1.18.2

func WithSigV4SigningRegion(region string) func(*Options)

WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.

Types

type AssociateApprovalRuleTemplateWithRepositoryInput

type AssociateApprovalRuleTemplateWithRepositoryInput struct {

	// The name for the approval rule template.
	//
	// This member is required.
	ApprovalRuleTemplateName *string

	// The name of the repository that you want to associate with the template.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

type AssociateApprovalRuleTemplateWithRepositoryOutput

type AssociateApprovalRuleTemplateWithRepositoryOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type AuthResolverParameters added in v1.18.2

type AuthResolverParameters struct {
	// The name of the operation being invoked.
	Operation string

	// The region in which the operation is being invoked.
	Region string
}

AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.

type AuthSchemeResolver added in v1.18.2

type AuthSchemeResolver interface {
	ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}

AuthSchemeResolver returns a set of possible authentication options for an operation.

type BatchAssociateApprovalRuleTemplateWithRepositoriesInput

type BatchAssociateApprovalRuleTemplateWithRepositoriesInput struct {

	// The name of the template you want to associate with one or more repositories.
	//
	// This member is required.
	ApprovalRuleTemplateName *string

	// 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.
	//
	// This member is required.
	RepositoryNames []string
	// contains filtered or unexported fields
}

type BatchAssociateApprovalRuleTemplateWithRepositoriesOutput

type BatchAssociateApprovalRuleTemplateWithRepositoriesOutput struct {

	// A list of names of the repositories that have been associated with the template.
	//
	// This member is required.
	AssociatedRepositoryNames []string

	// A list of any errors that might have occurred while attempting to create the
	// association between the template and the repositories.
	//
	// This member is required.
	Errors []types.BatchAssociateApprovalRuleTemplateWithRepositoriesError

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchDescribeMergeConflictsInput

type BatchDescribeMergeConflictsInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	DestinationCommitSpecifier *string

	// The merge option or strategy you want to use to merge the code.
	//
	// This member is required.
	MergeOption types.MergeOptionTypeEnum

	// The name of the repository that contains the merge conflicts you want to review.
	//
	// This member is required.
	RepositoryName *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	SourceCommitSpecifier *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.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 types.ConflictResolutionStrategyTypeEnum

	// The path of the target files used to describe the conflicts. If not specified,
	// the default is all conflict files.
	FilePaths []string

	// The maximum number of files to include in the output.
	MaxConflictFiles *int32

	// The maximum number of merge hunks to include in the output.
	MaxMergeHunks *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string
	// contains filtered or unexported fields
}

type BatchDescribeMergeConflictsOutput

type BatchDescribeMergeConflictsOutput struct {

	// A list of conflicts for each file, including the conflict metadata and the
	// hunks of the differences between the files.
	//
	// This member is required.
	Conflicts []types.Conflict

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	//
	// This member is required.
	DestinationCommitId *string

	// The commit ID of the source commit specifier that was used in the merge
	// evaluation.
	//
	// This member is required.
	SourceCommitId *string

	// The commit ID of the merge base.
	BaseCommitId *string

	// A list of any errors returned while describing the merge conflicts for each
	// file.
	Errors []types.BatchDescribeMergeConflictsError

	// An enumeration token that can be used in a request to return the next batch of
	// the results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchDisassociateApprovalRuleTemplateFromRepositoriesInput

type BatchDisassociateApprovalRuleTemplateFromRepositoriesInput struct {

	// The name of the template that you want to disassociate from one or more
	// repositories.
	//
	// This member is required.
	ApprovalRuleTemplateName *string

	// 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.
	//
	// This member is required.
	RepositoryNames []string
	// contains filtered or unexported fields
}

type BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput

type BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput struct {

	// A list of repository names that have had their association with the template
	// removed.
	//
	// This member is required.
	DisassociatedRepositoryNames []string

	// A list of any errors that might have occurred while attempting to remove the
	// association between the template and the repositories.
	//
	// This member is required.
	Errors []types.BatchDisassociateApprovalRuleTemplateFromRepositoriesError

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

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.
	//
	// This member is required.
	CommitIds []string

	// The name of the repository that contains the commits.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

type BatchGetCommitsOutput

type BatchGetCommitsOutput struct {

	// An array of commit data type objects, each of which contains information about
	// a specified commit.
	Commits []types.Commit

	// 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 []types.BatchGetCommitsError

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

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.
	//
	// This member is required.
	RepositoryNames []string
	// contains filtered or unexported fields
}

Represents the input of a batch get repositories operation.

type BatchGetRepositoriesOutput

type BatchGetRepositoriesOutput struct {

	// Returns information about any errors returned when attempting to retrieve
	// information about the repositories.
	Errors []types.BatchGetRepositoriesError

	// A list of repositories returned by the batch get repositories operation.
	Repositories []types.RepositoryMetadata

	// Returns a list of repository names for which information could not be found.
	RepositoriesNotFound []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a batch get repositories operation.

type Client

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

Client provides the API client to make operations call for AWS CodeCommit.

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) AssociateApprovalRuleTemplateWithRepository

func (c *Client) AssociateApprovalRuleTemplateWithRepository(ctx context.Context, params *AssociateApprovalRuleTemplateWithRepositoryInput, optFns ...func(*Options)) (*AssociateApprovalRuleTemplateWithRepositoryOutput, error)

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.

func (*Client) BatchAssociateApprovalRuleTemplateWithRepositories

func (c *Client) BatchAssociateApprovalRuleTemplateWithRepositories(ctx context.Context, params *BatchAssociateApprovalRuleTemplateWithRepositoriesInput, optFns ...func(*Options)) (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput, error)

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

func (*Client) BatchDescribeMergeConflicts

func (c *Client) BatchDescribeMergeConflicts(ctx context.Context, params *BatchDescribeMergeConflictsInput, optFns ...func(*Options)) (*BatchDescribeMergeConflictsOutput, error)

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

func (*Client) BatchDisassociateApprovalRuleTemplateFromRepositories

func (c *Client) BatchDisassociateApprovalRuleTemplateFromRepositories(ctx context.Context, params *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput, optFns ...func(*Options)) (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, error)

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

func (*Client) BatchGetCommits

func (c *Client) BatchGetCommits(ctx context.Context, params *BatchGetCommitsInput, optFns ...func(*Options)) (*BatchGetCommitsOutput, error)

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

func (*Client) BatchGetRepositories

func (c *Client) BatchGetRepositories(ctx context.Context, params *BatchGetRepositoriesInput, optFns ...func(*Options)) (*BatchGetRepositoriesOutput, error)

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.

func (*Client) CreateApprovalRuleTemplate

func (c *Client) CreateApprovalRuleTemplate(ctx context.Context, params *CreateApprovalRuleTemplateInput, optFns ...func(*Options)) (*CreateApprovalRuleTemplateOutput, error)

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

func (*Client) CreateBranch

func (c *Client) CreateBranch(ctx context.Context, params *CreateBranchInput, optFns ...func(*Options)) (*CreateBranchOutput, error)

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.

func (*Client) CreateCommit

func (c *Client) CreateCommit(ctx context.Context, params *CreateCommitInput, optFns ...func(*Options)) (*CreateCommitOutput, error)

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

func (*Client) CreatePullRequest

func (c *Client) CreatePullRequest(ctx context.Context, params *CreatePullRequestInput, optFns ...func(*Options)) (*CreatePullRequestOutput, error)

Creates a pull request in the specified repository.

func (*Client) CreatePullRequestApprovalRule

func (c *Client) CreatePullRequestApprovalRule(ctx context.Context, params *CreatePullRequestApprovalRuleInput, optFns ...func(*Options)) (*CreatePullRequestApprovalRuleOutput, error)

Creates an approval rule for a pull request.

func (*Client) CreateRepository

func (c *Client) CreateRepository(ctx context.Context, params *CreateRepositoryInput, optFns ...func(*Options)) (*CreateRepositoryOutput, error)

Creates a new, empty repository.

func (*Client) CreateUnreferencedMergeCommit

func (c *Client) CreateUnreferencedMergeCommit(ctx context.Context, params *CreateUnreferencedMergeCommitInput, optFns ...func(*Options)) (*CreateUnreferencedMergeCommitOutput, error)

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.

func (*Client) DeleteApprovalRuleTemplate

func (c *Client) DeleteApprovalRuleTemplate(ctx context.Context, params *DeleteApprovalRuleTemplateInput, optFns ...func(*Options)) (*DeleteApprovalRuleTemplateOutput, error)

Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.

func (*Client) DeleteBranch

func (c *Client) DeleteBranch(ctx context.Context, params *DeleteBranchInput, optFns ...func(*Options)) (*DeleteBranchOutput, error)

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

func (*Client) DeleteCommentContent

func (c *Client) DeleteCommentContent(ctx context.Context, params *DeleteCommentContentInput, optFns ...func(*Options)) (*DeleteCommentContentOutput, error)

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

func (*Client) DeleteFile

func (c *Client) DeleteFile(ctx context.Context, params *DeleteFileInput, optFns ...func(*Options)) (*DeleteFileOutput, error)

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.

func (*Client) DeletePullRequestApprovalRule

func (c *Client) DeletePullRequestApprovalRule(ctx context.Context, params *DeletePullRequestApprovalRuleInput, optFns ...func(*Options)) (*DeletePullRequestApprovalRuleOutput, error)

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.

func (*Client) DeleteRepository

func (c *Client) DeleteRepository(ctx context.Context, params *DeleteRepositoryInput, optFns ...func(*Options)) (*DeleteRepositoryOutput, error)

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.

func (*Client) DescribeMergeConflicts

func (c *Client) DescribeMergeConflicts(ctx context.Context, params *DescribeMergeConflictsInput, optFns ...func(*Options)) (*DescribeMergeConflictsOutput, error)

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.

func (*Client) DescribePullRequestEvents

func (c *Client) DescribePullRequestEvents(ctx context.Context, params *DescribePullRequestEventsInput, optFns ...func(*Options)) (*DescribePullRequestEventsOutput, error)

Returns information about one or more pull request events.

func (*Client) DisassociateApprovalRuleTemplateFromRepository

func (c *Client) DisassociateApprovalRuleTemplateFromRepository(ctx context.Context, params *DisassociateApprovalRuleTemplateFromRepositoryInput, optFns ...func(*Options)) (*DisassociateApprovalRuleTemplateFromRepositoryOutput, error)

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.

func (*Client) EvaluatePullRequestApprovalRules

func (c *Client) EvaluatePullRequestApprovalRules(ctx context.Context, params *EvaluatePullRequestApprovalRulesInput, optFns ...func(*Options)) (*EvaluatePullRequestApprovalRulesOutput, error)

Evaluates whether a pull request has met all the conditions specified in its associated approval rules.

func (*Client) GetApprovalRuleTemplate

func (c *Client) GetApprovalRuleTemplate(ctx context.Context, params *GetApprovalRuleTemplateInput, optFns ...func(*Options)) (*GetApprovalRuleTemplateOutput, error)

Returns information about a specified approval rule template.

func (*Client) GetBlob

func (c *Client) GetBlob(ctx context.Context, params *GetBlobInput, optFns ...func(*Options)) (*GetBlobOutput, error)

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

func (*Client) GetBranch

func (c *Client) GetBranch(ctx context.Context, params *GetBranchInput, optFns ...func(*Options)) (*GetBranchOutput, error)

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

func (*Client) GetComment

func (c *Client) GetComment(ctx context.Context, params *GetCommentInput, optFns ...func(*Options)) (*GetCommentOutput, error)

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

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

func (*Client) GetCommentReactions

func (c *Client) GetCommentReactions(ctx context.Context, params *GetCommentReactionsInput, optFns ...func(*Options)) (*GetCommentReactionsOutput, error)

Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.

func (*Client) GetCommentsForComparedCommit

func (c *Client) GetCommentsForComparedCommit(ctx context.Context, params *GetCommentsForComparedCommitInput, optFns ...func(*Options)) (*GetCommentsForComparedCommitOutput, error)

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

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

func (*Client) GetCommentsForPullRequest

func (c *Client) GetCommentsForPullRequest(ctx context.Context, params *GetCommentsForPullRequestInput, optFns ...func(*Options)) (*GetCommentsForPullRequestOutput, error)

Returns comments made on a pull request.

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

func (*Client) GetCommit

func (c *Client) GetCommit(ctx context.Context, params *GetCommitInput, optFns ...func(*Options)) (*GetCommitOutput, error)

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

func (*Client) GetDifferences

func (c *Client) GetDifferences(ctx context.Context, params *GetDifferencesInput, optFns ...func(*Options)) (*GetDifferencesOutput, error)

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.

func (*Client) GetFile

func (c *Client) GetFile(ctx context.Context, params *GetFileInput, optFns ...func(*Options)) (*GetFileOutput, error)

Returns the base-64 encoded contents of a specified file and its metadata.

func (*Client) GetFolder

func (c *Client) GetFolder(ctx context.Context, params *GetFolderInput, optFns ...func(*Options)) (*GetFolderOutput, error)

Returns the contents of a specified folder in a repository.

func (*Client) GetMergeCommit

func (c *Client) GetMergeCommit(ctx context.Context, params *GetMergeCommitInput, optFns ...func(*Options)) (*GetMergeCommitOutput, error)

Returns information about a specified merge commit.

func (*Client) GetMergeConflicts

func (c *Client) GetMergeConflicts(ctx context.Context, params *GetMergeConflictsInput, optFns ...func(*Options)) (*GetMergeConflictsOutput, error)

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

func (*Client) GetMergeOptions

func (c *Client) GetMergeOptions(ctx context.Context, params *GetMergeOptionsInput, optFns ...func(*Options)) (*GetMergeOptionsOutput, error)

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.

func (*Client) GetPullRequest

func (c *Client) GetPullRequest(ctx context.Context, params *GetPullRequestInput, optFns ...func(*Options)) (*GetPullRequestOutput, error)

Gets information about a pull request in a specified repository.

func (*Client) GetPullRequestApprovalStates

func (c *Client) GetPullRequestApprovalStates(ctx context.Context, params *GetPullRequestApprovalStatesInput, optFns ...func(*Options)) (*GetPullRequestApprovalStatesOutput, error)

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.

func (*Client) GetPullRequestOverrideState

func (c *Client) GetPullRequestOverrideState(ctx context.Context, params *GetPullRequestOverrideStateInput, optFns ...func(*Options)) (*GetPullRequestOverrideStateOutput, error)

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.

func (*Client) GetRepository

func (c *Client) GetRepository(ctx context.Context, params *GetRepositoryInput, optFns ...func(*Options)) (*GetRepositoryOutput, error)

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.

func (*Client) GetRepositoryTriggers

func (c *Client) GetRepositoryTriggers(ctx context.Context, params *GetRepositoryTriggersInput, optFns ...func(*Options)) (*GetRepositoryTriggersOutput, error)

Gets information about triggers configured for a repository.

func (*Client) ListApprovalRuleTemplates

func (c *Client) ListApprovalRuleTemplates(ctx context.Context, params *ListApprovalRuleTemplatesInput, optFns ...func(*Options)) (*ListApprovalRuleTemplatesOutput, error)

Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used.

func (*Client) ListAssociatedApprovalRuleTemplatesForRepository

func (c *Client) ListAssociatedApprovalRuleTemplatesForRepository(ctx context.Context, params *ListAssociatedApprovalRuleTemplatesForRepositoryInput, optFns ...func(*Options)) (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, error)

Lists all approval rule templates that are associated with a specified repository.

func (*Client) ListBranches

func (c *Client) ListBranches(ctx context.Context, params *ListBranchesInput, optFns ...func(*Options)) (*ListBranchesOutput, error)

Gets information about one or more branches in a repository.

func (*Client) ListFileCommitHistory added in v1.16.0

func (c *Client) ListFileCommitHistory(ctx context.Context, params *ListFileCommitHistoryInput, optFns ...func(*Options)) (*ListFileCommitHistoryOutput, error)

Retrieves a list of commits and changes to a specified file.

func (*Client) ListPullRequests

func (c *Client) ListPullRequests(ctx context.Context, params *ListPullRequestsInput, optFns ...func(*Options)) (*ListPullRequestsOutput, error)

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.

func (*Client) ListRepositories

func (c *Client) ListRepositories(ctx context.Context, params *ListRepositoriesInput, optFns ...func(*Options)) (*ListRepositoriesOutput, error)

Gets information about one or more repositories.

func (*Client) ListRepositoriesForApprovalRuleTemplate

func (c *Client) ListRepositoriesForApprovalRuleTemplate(ctx context.Context, params *ListRepositoriesForApprovalRuleTemplateInput, optFns ...func(*Options)) (*ListRepositoriesForApprovalRuleTemplateOutput, error)

Lists all repositories associated with the specified approval rule template.

func (*Client) ListTagsForResource

func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operationsin the CodeCommit User Guide.

func (*Client) MergeBranchesByFastForward

func (c *Client) MergeBranchesByFastForward(ctx context.Context, params *MergeBranchesByFastForwardInput, optFns ...func(*Options)) (*MergeBranchesByFastForwardOutput, error)

Merges two branches using the fast-forward merge strategy.

func (*Client) MergeBranchesBySquash

func (c *Client) MergeBranchesBySquash(ctx context.Context, params *MergeBranchesBySquashInput, optFns ...func(*Options)) (*MergeBranchesBySquashOutput, error)

Merges two branches using the squash merge strategy.

func (*Client) MergeBranchesByThreeWay

func (c *Client) MergeBranchesByThreeWay(ctx context.Context, params *MergeBranchesByThreeWayInput, optFns ...func(*Options)) (*MergeBranchesByThreeWayOutput, error)

Merges two specified branches using the three-way merge strategy.

func (*Client) MergePullRequestByFastForward

func (c *Client) MergePullRequestByFastForward(ctx context.Context, params *MergePullRequestByFastForwardInput, optFns ...func(*Options)) (*MergePullRequestByFastForwardOutput, error)

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.

func (*Client) MergePullRequestBySquash

func (c *Client) MergePullRequestBySquash(ctx context.Context, params *MergePullRequestBySquashInput, optFns ...func(*Options)) (*MergePullRequestBySquashOutput, error)

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.

func (*Client) MergePullRequestByThreeWay

func (c *Client) MergePullRequestByThreeWay(ctx context.Context, params *MergePullRequestByThreeWayInput, optFns ...func(*Options)) (*MergePullRequestByThreeWayOutput, error)

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.

func (*Client) Options added in v1.19.0

func (c *Client) Options() Options

Options returns a copy of the client configuration.

Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.

func (*Client) OverridePullRequestApprovalRules

func (c *Client) OverridePullRequestApprovalRules(ctx context.Context, params *OverridePullRequestApprovalRulesInput, optFns ...func(*Options)) (*OverridePullRequestApprovalRulesOutput, error)

Sets aside (overrides) all approval rule requirements for a specified pull request.

func (*Client) PostCommentForComparedCommit

func (c *Client) PostCommentForComparedCommit(ctx context.Context, params *PostCommentForComparedCommitInput, optFns ...func(*Options)) (*PostCommentForComparedCommitOutput, error)

Posts a comment on the comparison between two commits.

func (*Client) PostCommentForPullRequest

func (c *Client) PostCommentForPullRequest(ctx context.Context, params *PostCommentForPullRequestInput, optFns ...func(*Options)) (*PostCommentForPullRequestOutput, error)

Posts a comment on a pull request.

func (*Client) PostCommentReply

func (c *Client) PostCommentReply(ctx context.Context, params *PostCommentReplyInput, optFns ...func(*Options)) (*PostCommentReplyOutput, error)

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

func (*Client) PutCommentReaction

func (c *Client) PutCommentReaction(ctx context.Context, params *PutCommentReactionInput, optFns ...func(*Options)) (*PutCommentReactionOutput, error)

Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.

func (*Client) PutFile

func (c *Client) PutFile(ctx context.Context, params *PutFileInput, optFns ...func(*Options)) (*PutFileOutput, error)

Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch.

func (*Client) PutRepositoryTriggers

func (c *Client) PutRepositoryTriggers(ctx context.Context, params *PutRepositoryTriggersInput, optFns ...func(*Options)) (*PutRepositoryTriggersOutput, error)

Replaces all triggers for a repository. Used to create or delete triggers.

func (*Client) TagResource

func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

Adds or updates tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operationsin the CodeCommit User Guide.

func (*Client) TestRepositoryTriggers

func (c *Client) TestRepositoryTriggers(ctx context.Context, params *TestRepositoryTriggersInput, optFns ...func(*Options)) (*TestRepositoryTriggersOutput, error)

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.

func (*Client) UntagResource

func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operationsin the CodeCommit User Guide.

func (*Client) UpdateApprovalRuleTemplateContent

func (c *Client) UpdateApprovalRuleTemplateContent(ctx context.Context, params *UpdateApprovalRuleTemplateContentInput, optFns ...func(*Options)) (*UpdateApprovalRuleTemplateContentOutput, error)

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.

func (*Client) UpdateApprovalRuleTemplateDescription

func (c *Client) UpdateApprovalRuleTemplateDescription(ctx context.Context, params *UpdateApprovalRuleTemplateDescriptionInput, optFns ...func(*Options)) (*UpdateApprovalRuleTemplateDescriptionOutput, error)

Updates the description for a specified approval rule template.

func (*Client) UpdateApprovalRuleTemplateName

func (c *Client) UpdateApprovalRuleTemplateName(ctx context.Context, params *UpdateApprovalRuleTemplateNameInput, optFns ...func(*Options)) (*UpdateApprovalRuleTemplateNameOutput, error)

Updates the name of a specified approval rule template.

func (*Client) UpdateComment

func (c *Client) UpdateComment(ctx context.Context, params *UpdateCommentInput, optFns ...func(*Options)) (*UpdateCommentOutput, error)

Replaces the contents of a comment.

func (*Client) UpdateDefaultBranch

func (c *Client) UpdateDefaultBranch(ctx context.Context, params *UpdateDefaultBranchInput, optFns ...func(*Options)) (*UpdateDefaultBranchOutput, error)

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.

func (*Client) UpdatePullRequestApprovalRuleContent

func (c *Client) UpdatePullRequestApprovalRuleContent(ctx context.Context, params *UpdatePullRequestApprovalRuleContentInput, optFns ...func(*Options)) (*UpdatePullRequestApprovalRuleContentOutput, error)

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.

func (*Client) UpdatePullRequestApprovalState

func (c *Client) UpdatePullRequestApprovalState(ctx context.Context, params *UpdatePullRequestApprovalStateInput, optFns ...func(*Options)) (*UpdatePullRequestApprovalStateOutput, error)

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.

func (*Client) UpdatePullRequestDescription

func (c *Client) UpdatePullRequestDescription(ctx context.Context, params *UpdatePullRequestDescriptionInput, optFns ...func(*Options)) (*UpdatePullRequestDescriptionOutput, error)

Replaces the contents of the description of a pull request.

func (*Client) UpdatePullRequestStatus

func (c *Client) UpdatePullRequestStatus(ctx context.Context, params *UpdatePullRequestStatusInput, optFns ...func(*Options)) (*UpdatePullRequestStatusOutput, error)

Updates the status of a pull request.

func (*Client) UpdatePullRequestTitle

func (c *Client) UpdatePullRequestTitle(ctx context.Context, params *UpdatePullRequestTitleInput, optFns ...func(*Options)) (*UpdatePullRequestTitleOutput, error)

Replaces the title of a pull request.

func (*Client) UpdateRepositoryDescription

func (c *Client) UpdateRepositoryDescription(ctx context.Context, params *UpdateRepositoryDescriptionInput, optFns ...func(*Options)) (*UpdateRepositoryDescriptionOutput, error)

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.

func (*Client) UpdateRepositoryEncryptionKey added in v1.20.0

func (c *Client) UpdateRepositoryEncryptionKey(ctx context.Context, params *UpdateRepositoryEncryptionKeyInput, optFns ...func(*Options)) (*UpdateRepositoryEncryptionKeyOutput, error)

Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository.

func (*Client) UpdateRepositoryName

func (c *Client) UpdateRepositoryName(ctx context.Context, params *UpdateRepositoryNameInput, optFns ...func(*Options)) (*UpdateRepositoryNameOutput, error)

Renames a repository. The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Quotasin the CodeCommit User Guide.

type CreateApprovalRuleTemplateInput

type CreateApprovalRuleTemplateInput struct {

	// The content of the approval rule that is created on pull requests in associated
	// repositories. If you specify one or more destination references (branches),
	// approval rules are created in an associated repository only if their destination
	// references (branches) match those specified in the template.
	//
	// When you create the content of the approval rule template, you can specify
	// approvers in an approval pool in one of two ways:
	//
	//   - CodeCommitApprovers: This option only requires an Amazon Web Services
	//   account and a resource. It can be used for both IAM users and federated access
	//   users whose name matches the provided resource name. This is a very powerful
	//   option that offers a great deal of flexibility. For example, if you specify the
	//   Amazon Web Services account 123456789012 and Mary_Major, all of the following
	//   are counted as approvals coming from that user:
	//
	//   - An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
	//
	//   - A federated user identified in IAM as Mary_Major
	//   (arn:aws:sts::123456789012:federated-user/Mary_Major)
	//
	// This option does not recognize an active session of someone assuming the role
	//   of CodeCommitReview with a role session name of Mary_Major
	//   (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you
	//   include a wildcard (*Mary_Major).
	//
	//   - Fully qualified ARN: This option allows you to specify the fully qualified
	//   Amazon Resource Name (ARN) of the IAM user or role.
	//
	// For more information about IAM ARNs, wildcards, and formats, see [IAM Identifiers] in the IAM
	// User Guide.
	//
	// [IAM Identifiers]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
	//
	// This member is required.
	ApprovalRuleTemplateContent *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.
	//
	// This member is required.
	ApprovalRuleTemplateName *string

	// 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
	// contains filtered or unexported fields
}

type CreateApprovalRuleTemplateOutput

type CreateApprovalRuleTemplateOutput struct {

	// The content and structure of the created approval rule template.
	//
	// This member is required.
	ApprovalRuleTemplate *types.ApprovalRuleTemplate

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateBranchInput

type CreateBranchInput struct {

	// The name of the new branch to create.
	//
	// This member is required.
	BranchName *string

	// The ID of the commit to point the new branch to.
	//
	// This member is required.
	CommitId *string

	// The name of the repository in which you want to create the new branch.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

Represents the input of a create branch operation.

type CreateBranchOutput

type CreateBranchOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateCommitInput

type CreateCommitInput struct {

	// The name of the branch where you create the commit.
	//
	// This member is required.
	BranchName *string

	// The name of the repository where you create the commit.
	//
	// This member is required.
	RepositoryName *string

	// The name of the author who created the commit. This information is used as both
	// the author and committer for the commit.
	AuthorName *string

	// The commit message you want to include in the commit. Commit messages are
	// limited to 256 KB. If no message is specified, a default message is used.
	CommitMessage *string

	// The files to delete in this commit. These files still exist in earlier commits.
	DeleteFiles []types.DeleteFileEntry

	// The email address of the person who created the commit.
	Email *string

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If true, a ..gitkeep file is created for
	// empty folders. The default is false.
	KeepEmptyFolders bool

	// The ID of the commit that is the parent of the commit you create. Not required
	// if this is an empty repository.
	ParentCommitId *string

	// The files to add or update in this commit.
	PutFiles []types.PutFileEntry

	// The file modes to update for files in this commit.
	SetFileModes []types.SetFileModeEntry
	// contains filtered or unexported fields
}

type CreateCommitOutput

type CreateCommitOutput struct {

	// The full commit ID of the commit that contains your committed file changes.
	CommitId *string

	// The files added as part of the committed file changes.
	FilesAdded []types.FileMetadata

	// The files deleted as part of the committed file changes.
	FilesDeleted []types.FileMetadata

	// The files updated as part of the commited file changes.
	FilesUpdated []types.FileMetadata

	// The full SHA-1 pointer of the tree information for the commit that contains the
	// commited file changes.
	TreeId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreatePullRequestApprovalRuleInput

type CreatePullRequestApprovalRuleInput struct {

	// The content of the approval rule, including the number of approvals needed and
	// the structure of an approval pool defined for approvals, if any. For more
	// information about approval pools, see the CodeCommit User Guide.
	//
	// When you create the content of the approval rule, you can specify approvers in
	// an approval pool in one of two ways:
	//
	//   - CodeCommitApprovers: This option only requires an Amazon Web Services
	//   account and a resource. It can be used for both IAM users and federated access
	//   users whose name matches the provided resource name. This is a very powerful
	//   option that offers a great deal of flexibility. For example, if you specify the
	//   Amazon Web Services account 123456789012 and Mary_Major, all of the following
	//   would be counted as approvals coming from that user:
	//
	//   - An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
	//
	//   - A federated user identified in IAM as Mary_Major
	//   (arn:aws:sts::123456789012:federated-user/Mary_Major)
	//
	// This option does not recognize an active session of someone assuming the role
	//   of CodeCommitReview with a role session name of Mary_Major
	//   (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you
	//   include a wildcard (*Mary_Major).
	//
	//   - Fully qualified ARN: This option allows you to specify the fully qualified
	//   Amazon Resource Name (ARN) of the IAM user or role.
	//
	// For more information about IAM ARNs, wildcards, and formats, see [IAM Identifiers] in the IAM
	// User Guide.
	//
	// [IAM Identifiers]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
	//
	// This member is required.
	ApprovalRuleContent *string

	// The name for the approval rule.
	//
	// This member is required.
	ApprovalRuleName *string

	// The system-generated ID of the pull request for which you want to create the
	// approval rule.
	//
	// This member is required.
	PullRequestId *string
	// contains filtered or unexported fields
}

type CreatePullRequestApprovalRuleOutput

type CreatePullRequestApprovalRuleOutput struct {

	// Information about the created approval rule.
	//
	// This member is required.
	ApprovalRule *types.ApprovalRule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreatePullRequestInput

type CreatePullRequestInput struct {

	// The targets for the pull request, including the source of the code to be
	// reviewed (the source branch) and the destination where the creator of the pull
	// request intends the code to be merged after the pull request is closed (the
	// destination branch).
	//
	// This member is required.
	Targets []types.Target

	// The title of the pull request. This title is used to identify the pull request
	// to other users in the repository.
	//
	// This member is required.
	Title *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.
	//
	// The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using
	// an Amazon Web ServicesSDK, an idempotency token is created for you.
	ClientRequestToken *string

	// A description of the pull request.
	Description *string
	// contains filtered or unexported fields
}

type CreatePullRequestOutput

type CreatePullRequestOutput struct {

	// Information about the newly created pull request.
	//
	// This member is required.
	PullRequest *types.PullRequest

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateRepositoryInput

type CreateRepositoryInput struct {

	// The name of the new repository to be created.
	//
	// The repository name must be unique across the calling Amazon Web Services
	// account. Repository names are limited to 100 alphanumeric, dash, and underscore
	// characters, and cannot include certain characters. For more information about
	// the limits on repository names, see [Quotas]in the CodeCommit User Guide. The suffix
	// .git is prohibited.
	//
	// [Quotas]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
	//
	// This member is required.
	RepositoryName *string

	// The ID of the encryption key. You can view the ID of an encryption key in the
	// KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more
	// information about acceptable values for kmsKeyID, see [KeyId]in the Decrypt API
	// description in the Key Management Service API Reference.
	//
	// If no key is specified, the default aws/codecommit Amazon Web Services managed
	// key is used.
	//
	// [KeyId]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
	KmsKeyId *string

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

	// One or more tag key-value pairs to use when tagging this repository.
	Tags map[string]string
	// contains filtered or unexported fields
}

Represents the input of a create repository operation.

type CreateRepositoryOutput

type CreateRepositoryOutput struct {

	// Information about the newly created repository.
	RepositoryMetadata *types.RepositoryMetadata

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a create repository operation.

type CreateUnreferencedMergeCommitInput

type CreateUnreferencedMergeCommitInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	DestinationCommitSpecifier *string

	// The merge option or strategy you want to use to merge the code.
	//
	// This member is required.
	MergeOption types.MergeOptionTypeEnum

	// The name of the repository where you want to create the unreferenced merge
	// commit.
	//
	// This member is required.
	RepositoryName *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	SourceCommitSpecifier *string

	// The name of the author who created the unreferenced commit. This information is
	// used as both the author and committer for the commit.
	AuthorName *string

	// The commit message for the unreferenced commit.
	CommitMessage *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.ConflictDetailLevelTypeEnum

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

	// 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 types.ConflictResolutionStrategyTypeEnum

	// The email address for the person who created the unreferenced commit.
	Email *string

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If this is specified as true, a .gitkeep
	// file is created for empty folders. The default is false.
	KeepEmptyFolders bool
	// contains filtered or unexported fields
}

type CreateUnreferencedMergeCommitOutput

type CreateUnreferencedMergeCommitOutput struct {

	// The full commit ID of the commit that contains your merge results.
	CommitId *string

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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteApprovalRuleTemplateInput

type DeleteApprovalRuleTemplateInput struct {

	// The name of the approval rule template to delete.
	//
	// This member is required.
	ApprovalRuleTemplateName *string
	// contains filtered or unexported fields
}

type DeleteApprovalRuleTemplateOutput

type DeleteApprovalRuleTemplateOutput struct {

	// The system-generated ID of the deleted approval rule template. If the template
	// has been previously deleted, the only response is a 200 OK.
	//
	// This member is required.
	ApprovalRuleTemplateId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteBranchInput

type DeleteBranchInput struct {

	// The name of the branch to delete.
	//
	// This member is required.
	BranchName *string

	// The name of the repository that contains the branch to be deleted.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

Represents the input of a delete branch operation.

type DeleteBranchOutput

type DeleteBranchOutput struct {

	// Information about the branch deleted by the operation, including the branch
	// name and the commit ID that was the tip of the branch.
	DeletedBranch *types.BranchInfo

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a delete branch operation.

type DeleteCommentContentInput

type DeleteCommentContentInput struct {

	// The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
	//
	// This member is required.
	CommentId *string
	// contains filtered or unexported fields
}

type DeleteCommentContentOutput

type DeleteCommentContentOutput struct {

	// Information about the comment you just deleted.
	Comment *types.Comment

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteFileInput

type DeleteFileInput struct {

	// The name of the branch where the commit that deletes the file is made.
	//
	// This member is required.
	BranchName *string

	// The fully qualified path to the file that to be deleted, including the full
	// name and extension of that file. For example, /examples/file.md is a fully
	// qualified path to a file named file.md in a folder named examples.
	//
	// This member is required.
	FilePath *string

	// The ID of the commit that is the tip of the branch where you want to create the
	// commit that deletes the file. This must be the HEAD commit for the branch. The
	// commit that deletes the file is created from this commit ID.
	//
	// This member is required.
	ParentCommitId *string

	// The name of the repository that contains the file to delete.
	//
	// This member is required.
	RepositoryName *string

	// The commit message you want to include as part of deleting the file. Commit
	// messages are limited to 256 KB. If no message is specified, a default message is
	// used.
	CommitMessage *string

	// The email address for the commit that deletes the file. If no email address is
	// specified, the email address is left blank.
	Email *string

	// If a file is the only object in the folder or directory, specifies whether to
	// delete the folder or directory that contains the file. By default, empty folders
	// are deleted. This includes empty folders that are part of the directory
	// structure. For example, if the path to a file is dir1/dir2/dir3/dir4, and dir2
	// and dir3 are empty, deleting the last file in dir4 also deletes the empty
	// folders dir4, dir3, and dir2.
	KeepEmptyFolders bool

	// The name of the author of the commit that deletes the file. If no name is
	// specified, the user's ARN is used as the author name and committer name.
	Name *string
	// contains filtered or unexported fields
}

type DeleteFileOutput

type DeleteFileOutput struct {

	// The blob ID removed from the tree as part of deleting the file.
	//
	// This member is required.
	BlobId *string

	// The full commit ID of the commit that contains the change that deletes the file.
	//
	// This member is required.
	CommitId *string

	// The fully qualified path to the file to be deleted, including the full name and
	// extension of that file.
	//
	// This member is required.
	FilePath *string

	// The full SHA-1 pointer of the tree information for the commit that contains the
	// delete file change.
	//
	// This member is required.
	TreeId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeletePullRequestApprovalRuleInput

type DeletePullRequestApprovalRuleInput struct {

	// The name of the approval rule you want to delete.
	//
	// This member is required.
	ApprovalRuleName *string

	// The system-generated ID of the pull request that contains the approval rule you
	// want to delete.
	//
	// This member is required.
	PullRequestId *string
	// contains filtered or unexported fields
}

type DeletePullRequestApprovalRuleOutput

type DeletePullRequestApprovalRuleOutput struct {

	// The ID of the deleted approval rule.
	//
	// If the approval rule was deleted in an earlier API call, the response is 200 OK
	// without content.
	//
	// This member is required.
	ApprovalRuleId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteRepositoryInput

type DeleteRepositoryInput struct {

	// The name of the repository to delete.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

Represents the input of a delete repository operation.

type DeleteRepositoryOutput

type DeleteRepositoryOutput struct {

	// The ID of the repository that was deleted.
	RepositoryId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a delete repository operation.

type DescribeMergeConflictsAPIClient added in v0.30.0

type DescribeMergeConflictsAPIClient interface {
	DescribeMergeConflicts(context.Context, *DescribeMergeConflictsInput, ...func(*Options)) (*DescribeMergeConflictsOutput, error)
}

DescribeMergeConflictsAPIClient is a client that implements the DescribeMergeConflicts operation.

type DescribeMergeConflictsInput

type DescribeMergeConflictsInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	DestinationCommitSpecifier *string

	// The path of the target files used to describe the conflicts.
	//
	// This member is required.
	FilePath *string

	// The merge option or strategy you want to use to merge the code.
	//
	// This member is required.
	MergeOption types.MergeOptionTypeEnum

	// The name of the repository where you want to get information about a merge
	// conflict.
	//
	// This member is required.
	RepositoryName *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	SourceCommitSpecifier *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.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 types.ConflictResolutionStrategyTypeEnum

	// The maximum number of merge hunks to include in the output.
	MaxMergeHunks *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string
	// contains filtered or unexported fields
}

type DescribeMergeConflictsOutput

type DescribeMergeConflictsOutput struct {

	// Contains metadata about the conflicts found in the merge.
	//
	// This member is required.
	ConflictMetadata *types.ConflictMetadata

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	//
	// This member is required.
	DestinationCommitId *string

	// A list of merge hunks of the differences between the files or lines.
	//
	// This member is required.
	MergeHunks []types.MergeHunk

	// The commit ID of the source commit specifier that was used in the merge
	// evaluation.
	//
	// This member is required.
	SourceCommitId *string

	// The commit ID of the merge base.
	BaseCommitId *string

	// An enumeration token that can be used in a request to return the next batch of
	// the results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeMergeConflictsPaginator added in v0.30.0

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

DescribeMergeConflictsPaginator is a paginator for DescribeMergeConflicts

func NewDescribeMergeConflictsPaginator added in v0.30.0

NewDescribeMergeConflictsPaginator returns a new DescribeMergeConflictsPaginator

func (*DescribeMergeConflictsPaginator) HasMorePages added in v0.30.0

func (p *DescribeMergeConflictsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeMergeConflictsPaginator) NextPage added in v0.30.0

NextPage retrieves the next DescribeMergeConflicts page.

type DescribeMergeConflictsPaginatorOptions added in v0.30.0

type DescribeMergeConflictsPaginatorOptions struct {
	// The maximum number of merge hunks to include in the output.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeMergeConflictsPaginatorOptions is the paginator options for DescribeMergeConflicts

type DescribePullRequestEventsAPIClient added in v0.30.0

type DescribePullRequestEventsAPIClient interface {
	DescribePullRequestEvents(context.Context, *DescribePullRequestEventsInput, ...func(*Options)) (*DescribePullRequestEventsOutput, error)
}

DescribePullRequestEventsAPIClient is a client that implements the DescribePullRequestEvents operation.

type DescribePullRequestEventsInput

type DescribePullRequestEventsInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string

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

	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is 100 events, which is also the maximum number of events that can
	// be returned in a result.
	MaxResults *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string

	// Optional. The pull request event type about which you want to return
	// information.
	PullRequestEventType types.PullRequestEventType
	// contains filtered or unexported fields
}

type DescribePullRequestEventsOutput

type DescribePullRequestEventsOutput struct {

	// Information about the pull request events.
	//
	// This member is required.
	PullRequestEvents []types.PullRequestEvent

	// An enumeration token that can be used in a request to return the next batch of
	// the results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribePullRequestEventsPaginator added in v0.30.0

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

DescribePullRequestEventsPaginator is a paginator for DescribePullRequestEvents

func NewDescribePullRequestEventsPaginator added in v0.30.0

NewDescribePullRequestEventsPaginator returns a new DescribePullRequestEventsPaginator

func (*DescribePullRequestEventsPaginator) HasMorePages added in v0.30.0

func (p *DescribePullRequestEventsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribePullRequestEventsPaginator) NextPage added in v0.30.0

NextPage retrieves the next DescribePullRequestEvents page.

type DescribePullRequestEventsPaginatorOptions added in v0.30.0

type DescribePullRequestEventsPaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is 100 events, which is also the maximum number of events that can
	// be returned in a result.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribePullRequestEventsPaginatorOptions is the paginator options for DescribePullRequestEvents

type DisassociateApprovalRuleTemplateFromRepositoryInput

type DisassociateApprovalRuleTemplateFromRepositoryInput struct {

	// The name of the approval rule template to disassociate from a specified
	// repository.
	//
	// This member is required.
	ApprovalRuleTemplateName *string

	// The name of the repository you want to disassociate from the template.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

type DisassociateApprovalRuleTemplateFromRepositoryOutput

type DisassociateApprovalRuleTemplateFromRepositoryOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EndpointParameters added in v1.15.0

type EndpointParameters struct {
	// The AWS region used to dispatch the request.
	//
	// Parameter is
	// required.
	//
	// AWS::Region
	Region *string

	// When true, use the dual-stack endpoint. If the configured endpoint does not
	// support dual-stack, dispatching the request MAY return an error.
	//
	// Defaults to
	// false if no value is provided.
	//
	// AWS::UseDualStack
	UseDualStack *bool

	// When true, send this request to the FIPS-compliant regional endpoint. If the
	// configured endpoint does not have a FIPS compliant endpoint, dispatching the
	// request will return an error.
	//
	// Defaults to false if no value is
	// provided.
	//
	// AWS::UseFIPS
	UseFIPS *bool

	// Override the endpoint used to send this request
	//
	// Parameter is
	// required.
	//
	// SDK::Endpoint
	Endpoint *string
}

EndpointParameters provides the parameters that influence how endpoints are resolved.

func (EndpointParameters) ValidateRequired added in v1.15.0

func (p EndpointParameters) ValidateRequired() error

ValidateRequired validates required parameters are set.

func (EndpointParameters) WithDefaults added in v1.15.0

func (p EndpointParameters) WithDefaults() EndpointParameters

WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func EndpointResolverFromURL added in v1.1.0

func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver

EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)

type EndpointResolverOptions added in v0.29.0

type EndpointResolverOptions = internalendpoints.Options

EndpointResolverOptions is the service endpoint resolver options

type EndpointResolverV2 added in v1.15.0

type EndpointResolverV2 interface {
	// ResolveEndpoint attempts to resolve the endpoint with the provided options,
	// returning the endpoint if found. Otherwise an error is returned.
	ResolveEndpoint(ctx context.Context, params EndpointParameters) (
		smithyendpoints.Endpoint, error,
	)
}

EndpointResolverV2 provides the interface for resolving service endpoints.

func NewDefaultEndpointResolverV2 added in v1.15.0

func NewDefaultEndpointResolverV2() EndpointResolverV2

type EvaluatePullRequestApprovalRulesInput

type EvaluatePullRequestApprovalRulesInput struct {

	// The system-generated ID of the pull request you want to evaluate.
	//
	// This member is required.
	PullRequestId *string

	// The system-generated ID for the pull request revision. To retrieve the most
	// recent revision ID for a pull request, use GetPullRequest.
	//
	// This member is required.
	RevisionId *string
	// contains filtered or unexported fields
}

type EvaluatePullRequestApprovalRulesOutput

type EvaluatePullRequestApprovalRulesOutput struct {

	// The result of the evaluation, including the names of the rules whose conditions
	// have been met (if any), the names of the rules whose conditions have not been
	// met (if any), whether the pull request is in the approved state, and whether the
	// pull request approval rule has been set aside by an override.
	//
	// This member is required.
	Evaluation *types.Evaluation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetApprovalRuleTemplateInput

type GetApprovalRuleTemplateInput struct {

	// The name of the approval rule template for which you want to get information.
	//
	// This member is required.
	ApprovalRuleTemplateName *string
	// contains filtered or unexported fields
}

type GetApprovalRuleTemplateOutput

type GetApprovalRuleTemplateOutput struct {

	// The content and structure of the approval rule template.
	//
	// This member is required.
	ApprovalRuleTemplate *types.ApprovalRuleTemplate

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetBlobInput

type GetBlobInput struct {

	// The ID of the blob, which is its SHA-1 pointer.
	//
	// This member is required.
	BlobId *string

	// The name of the repository that contains the blob.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

Represents the input of a get blob operation.

type GetBlobOutput

type GetBlobOutput struct {

	// The content of the blob, usually a file.
	//
	// This member is required.
	Content []byte

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a get blob operation.

type GetBranchInput

type GetBranchInput struct {

	// The name of the branch for which you want to retrieve information.
	BranchName *string

	// The name of the repository that contains the branch for which you want to
	// retrieve information.
	RepositoryName *string
	// contains filtered or unexported fields
}

Represents the input of a get branch operation.

type GetBranchOutput

type GetBranchOutput struct {

	// The name of the branch.
	Branch *types.BranchInfo

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a get branch operation.

type GetCommentInput

type GetCommentInput struct {

	// The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
	//
	// This member is required.
	CommentId *string
	// contains filtered or unexported fields
}

type GetCommentOutput

type GetCommentOutput struct {

	// The contents of the comment.
	Comment *types.Comment

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetCommentReactionsAPIClient added in v0.30.0

type GetCommentReactionsAPIClient interface {
	GetCommentReactions(context.Context, *GetCommentReactionsInput, ...func(*Options)) (*GetCommentReactionsOutput, error)
}

GetCommentReactionsAPIClient is a client that implements the GetCommentReactions operation.

type GetCommentReactionsInput

type GetCommentReactionsInput struct {

	// The ID of the comment for which you want to get reactions information.
	//
	// This member is required.
	CommentId *string

	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is the same as the allowed maximum, 1,000.
	MaxResults *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string

	// Optional. The Amazon Resource Name (ARN) of the user or identity for which you
	// want to get reaction information.
	ReactionUserArn *string
	// contains filtered or unexported fields
}

type GetCommentReactionsOutput

type GetCommentReactionsOutput struct {

	// An array of reactions to the specified comment.
	//
	// This member is required.
	ReactionsForComment []types.ReactionForComment

	// An enumeration token that can be used in a request to return the next batch of
	// the results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetCommentReactionsPaginator added in v0.30.0

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

GetCommentReactionsPaginator is a paginator for GetCommentReactions

func NewGetCommentReactionsPaginator added in v0.30.0

func NewGetCommentReactionsPaginator(client GetCommentReactionsAPIClient, params *GetCommentReactionsInput, optFns ...func(*GetCommentReactionsPaginatorOptions)) *GetCommentReactionsPaginator

NewGetCommentReactionsPaginator returns a new GetCommentReactionsPaginator

func (*GetCommentReactionsPaginator) HasMorePages added in v0.30.0

func (p *GetCommentReactionsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetCommentReactionsPaginator) NextPage added in v0.30.0

func (p *GetCommentReactionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetCommentReactionsOutput, error)

NextPage retrieves the next GetCommentReactions page.

type GetCommentReactionsPaginatorOptions added in v0.30.0

type GetCommentReactionsPaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is the same as the allowed maximum, 1,000.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetCommentReactionsPaginatorOptions is the paginator options for GetCommentReactions

type GetCommentsForComparedCommitAPIClient added in v0.30.0

type GetCommentsForComparedCommitAPIClient interface {
	GetCommentsForComparedCommit(context.Context, *GetCommentsForComparedCommitInput, ...func(*Options)) (*GetCommentsForComparedCommitOutput, error)
}

GetCommentsForComparedCommitAPIClient is a client that implements the GetCommentsForComparedCommit operation.

type GetCommentsForComparedCommitInput

type GetCommentsForComparedCommitInput struct {

	// To establish the directionality of the comparison, the full commit ID of the
	// after commit.
	//
	// This member is required.
	AfterCommitId *string

	// The name of the repository where you want to compare commits.
	//
	// This member is required.
	RepositoryName *string

	// To establish the directionality of the comparison, the full commit ID of the
	// before commit.
	BeforeCommitId *string

	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is 100 comments, but you can configure up to 500.
	MaxResults *int32

	// An enumeration token that when provided in a request, returns the next batch of
	// the results.
	NextToken *string
	// contains filtered or unexported fields
}

type GetCommentsForComparedCommitOutput

type GetCommentsForComparedCommitOutput struct {

	// A list of comment objects on the compared commit.
	CommentsForComparedCommitData []types.CommentsForComparedCommit

	// An enumeration token that can be used in a request to return the next batch of
	// the results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetCommentsForComparedCommitPaginator added in v0.30.0

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

GetCommentsForComparedCommitPaginator is a paginator for GetCommentsForComparedCommit

func NewGetCommentsForComparedCommitPaginator added in v0.30.0

NewGetCommentsForComparedCommitPaginator returns a new GetCommentsForComparedCommitPaginator

func (*GetCommentsForComparedCommitPaginator) HasMorePages added in v0.30.0

func (p *GetCommentsForComparedCommitPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetCommentsForComparedCommitPaginator) NextPage added in v0.30.0

NextPage retrieves the next GetCommentsForComparedCommit page.

type GetCommentsForComparedCommitPaginatorOptions added in v0.30.0

type GetCommentsForComparedCommitPaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is 100 comments, but you can configure up to 500.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetCommentsForComparedCommitPaginatorOptions is the paginator options for GetCommentsForComparedCommit

type GetCommentsForPullRequestAPIClient added in v0.30.0

type GetCommentsForPullRequestAPIClient interface {
	GetCommentsForPullRequest(context.Context, *GetCommentsForPullRequestInput, ...func(*Options)) (*GetCommentsForPullRequestOutput, error)
}

GetCommentsForPullRequestAPIClient is a client that implements the GetCommentsForPullRequest operation.

type GetCommentsForPullRequestInput

type GetCommentsForPullRequestInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string

	// The full commit ID of the commit in the source branch that was the tip of the
	// branch at the time the comment was made. Requirement is conditional:
	// afterCommitId must be specified when repositoryName is included.
	AfterCommitId *string

	// The full commit ID of the commit in the destination branch that was the tip of
	// the branch at the time the pull request was created. Requirement is conditional:
	// beforeCommitId must be specified when repositoryName is included.
	BeforeCommitId *string

	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is 100 comments. You can return up to 500 comments with a single
	// request.
	MaxResults *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string

	// The name of the repository that contains the pull request. Requirement is
	// conditional: repositoryName must be specified when beforeCommitId and
	// afterCommitId are included.
	RepositoryName *string
	// contains filtered or unexported fields
}

type GetCommentsForPullRequestOutput

type GetCommentsForPullRequestOutput struct {

	// An array of comment objects on the pull request.
	CommentsForPullRequestData []types.CommentsForPullRequest

	// An enumeration token that can be used in a request to return the next batch of
	// the results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetCommentsForPullRequestPaginator added in v0.30.0

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

GetCommentsForPullRequestPaginator is a paginator for GetCommentsForPullRequest

func NewGetCommentsForPullRequestPaginator added in v0.30.0

NewGetCommentsForPullRequestPaginator returns a new GetCommentsForPullRequestPaginator

func (*GetCommentsForPullRequestPaginator) HasMorePages added in v0.30.0

func (p *GetCommentsForPullRequestPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetCommentsForPullRequestPaginator) NextPage added in v0.30.0

NextPage retrieves the next GetCommentsForPullRequest page.

type GetCommentsForPullRequestPaginatorOptions added in v0.30.0

type GetCommentsForPullRequestPaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	// The default is 100 comments. You can return up to 500 comments with a single
	// request.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetCommentsForPullRequestPaginatorOptions is the paginator options for GetCommentsForPullRequest

type GetCommitInput

type GetCommitInput struct {

	// The commit ID. Commit IDs are the full SHA ID of the commit.
	//
	// This member is required.
	CommitId *string

	// The name of the repository to which the commit was made.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

Represents the input of a get commit operation.

type GetCommitOutput

type GetCommitOutput struct {

	// A commit data type object that contains information about the specified commit.
	//
	// This member is required.
	Commit *types.Commit

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a get commit operation.

type GetDifferencesAPIClient added in v0.30.0

type GetDifferencesAPIClient interface {
	GetDifferences(context.Context, *GetDifferencesInput, ...func(*Options)) (*GetDifferencesOutput, error)
}

GetDifferencesAPIClient is a client that implements the GetDifferences operation.

type GetDifferencesInput

type GetDifferencesInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit.
	//
	// This member is required.
	AfterCommitSpecifier *string

	// The name of the repository where you want to get differences.
	//
	// This member is required.
	RepositoryName *string

	// The file path in which to check differences. Limits the results to this path.
	// Can also be used to specify the changed name of a directory or folder, if it has
	// changed. If not specified, differences are shown for all paths.
	AfterPath *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, the full commit ID). Optional. If not specified, all
	// changes before the afterCommitSpecifier value are shown. If you do not use
	// beforeCommitSpecifier in your request, consider limiting the results with
	// maxResults .
	BeforeCommitSpecifier *string

	// The file path in which to check for differences. Limits the results to this
	// path. Can also be used to specify the previous name of a directory or folder. If
	// beforePath and afterPath are not specified, differences are shown for all paths.
	BeforePath *string

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string
	// contains filtered or unexported fields
}

type GetDifferencesOutput

type GetDifferencesOutput struct {

	// A data type object that contains information about the differences, including
	// whether the difference is added, modified, or deleted (A, D, M).
	Differences []types.Difference

	// An enumeration token that can be used in a request to return the next batch of
	// the results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetDifferencesPaginator added in v0.30.0

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

GetDifferencesPaginator is a paginator for GetDifferences

func NewGetDifferencesPaginator added in v0.30.0

func NewGetDifferencesPaginator(client GetDifferencesAPIClient, params *GetDifferencesInput, optFns ...func(*GetDifferencesPaginatorOptions)) *GetDifferencesPaginator

NewGetDifferencesPaginator returns a new GetDifferencesPaginator

func (*GetDifferencesPaginator) HasMorePages added in v0.30.0

func (p *GetDifferencesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetDifferencesPaginator) NextPage added in v0.30.0

func (p *GetDifferencesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetDifferencesOutput, error)

NextPage retrieves the next GetDifferences page.

type GetDifferencesPaginatorOptions added in v0.30.0

type GetDifferencesPaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetDifferencesPaginatorOptions is the paginator options for GetDifferences

type GetFileInput

type GetFileInput struct {

	// The fully qualified path to the file, including the full name and extension of
	// the file. For example, /examples/file.md is the fully qualified path to a file
	// named file.md in a folder named examples.
	//
	// This member is required.
	FilePath *string

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

	// The fully quaified reference that identifies the commit that contains the file.
	// For example, you can specify a full commit ID, a tag, a branch name, or a
	// reference such as refs/heads/main. If none is provided, the head commit is used.
	CommitSpecifier *string
	// contains filtered or unexported fields
}

type GetFileOutput

type GetFileOutput struct {

	// The blob ID of the object that represents the file content.
	//
	// This member is required.
	BlobId *string

	// The full commit ID of the commit that contains the content returned by GetFile.
	//
	// This member is required.
	CommitId *string

	// The base-64 encoded binary data object that represents the content of the file.
	//
	// This member is required.
	FileContent []byte

	// The extrapolated file mode permissions of the blob. Valid values include
	// strings such as EXECUTABLE and not numeric values.
	//
	// The file mode permissions returned by this API are not the standard file mode
	// permission values, such as 100644, but rather extrapolated values. See the
	// supported return values.
	//
	// This member is required.
	FileMode types.FileModeTypeEnum

	// The fully qualified path to the specified file. Returns the name and extension
	// of the file.
	//
	// This member is required.
	FilePath *string

	// The size of the contents of the file, in bytes.
	//
	// This member is required.
	FileSize int64

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetFolderInput

type GetFolderInput struct {

	// The fully qualified path to the folder whose contents are returned, including
	// the folder name. For example, /examples is a fully-qualified path to a folder
	// named examples that was created off of the root directory (/) of a repository.
	//
	// This member is required.
	FolderPath *string

	// The name of the repository.
	//
	// This member is required.
	RepositoryName *string

	// A fully qualified reference used to identify a commit that contains the version
	// of the folder's content to return. A fully qualified reference can be a commit
	// ID, branch name, tag, or reference such as HEAD. If no specifier is provided,
	// the folder content is returned as it exists in the HEAD commit.
	CommitSpecifier *string
	// contains filtered or unexported fields
}

type GetFolderOutput

type GetFolderOutput struct {

	// The full commit ID used as a reference for the returned version of the folder
	// content.
	//
	// This member is required.
	CommitId *string

	// The fully qualified path of the folder whose contents are returned.
	//
	// This member is required.
	FolderPath *string

	// The list of files in the specified folder, if any.
	Files []types.File

	// The list of folders that exist under the specified folder, if any.
	SubFolders []types.Folder

	// The list of submodules in the specified folder, if any.
	SubModules []types.SubModule

	// The list of symbolic links to other files and folders in the specified folder,
	// if any.
	SymbolicLinks []types.SymbolicLink

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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetMergeCommitInput

type GetMergeCommitInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	DestinationCommitSpecifier *string

	// The name of the repository that contains the merge commit about which you want
	// to get information.
	//
	// This member is required.
	RepositoryName *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	SourceCommitSpecifier *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.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 types.ConflictResolutionStrategyTypeEnum
	// contains filtered or unexported fields
}

type GetMergeCommitOutput

type GetMergeCommitOutput struct {

	// The commit ID of the merge base.
	BaseCommitId *string

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	DestinationCommitId *string

	// The commit ID for the merge commit created when the source branch was merged
	// into the destination branch. If the fast-forward merge strategy was used, there
	// is no merge commit.
	MergedCommitId *string

	// The commit ID of the source commit specifier that was used in the merge
	// evaluation.
	SourceCommitId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetMergeConflictsAPIClient added in v0.30.0

type GetMergeConflictsAPIClient interface {
	GetMergeConflicts(context.Context, *GetMergeConflictsInput, ...func(*Options)) (*GetMergeConflictsOutput, error)
}

GetMergeConflictsAPIClient is a client that implements the GetMergeConflicts operation.

type GetMergeConflictsInput

type GetMergeConflictsInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	DestinationCommitSpecifier *string

	// The merge option or strategy you want to use to merge the code.
	//
	// This member is required.
	MergeOption types.MergeOptionTypeEnum

	// The name of the repository where the pull request was created.
	//
	// This member is required.
	RepositoryName *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	SourceCommitSpecifier *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.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 types.ConflictResolutionStrategyTypeEnum

	// The maximum number of files to include in the output.
	MaxConflictFiles *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string
	// contains filtered or unexported fields
}

type GetMergeConflictsOutput

type GetMergeConflictsOutput struct {

	// A list of metadata for any conflicting files. If the specified merge strategy
	// is FAST_FORWARD_MERGE, this list is always empty.
	//
	// This member is required.
	ConflictMetadataList []types.ConflictMetadata

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	//
	// This member is required.
	DestinationCommitId *string

	// A Boolean value that indicates whether the code is mergeable by the specified
	// merge option.
	//
	// This member is required.
	Mergeable bool

	// The commit ID of the source commit specifier that was used in the merge
	// evaluation.
	//
	// This member is required.
	SourceCommitId *string

	// The commit ID of the merge base.
	BaseCommitId *string

	// An enumeration token that can be used in a request to return the next batch of
	// the results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetMergeConflictsPaginator added in v0.30.0

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

GetMergeConflictsPaginator is a paginator for GetMergeConflicts

func NewGetMergeConflictsPaginator added in v0.30.0

func NewGetMergeConflictsPaginator(client GetMergeConflictsAPIClient, params *GetMergeConflictsInput, optFns ...func(*GetMergeConflictsPaginatorOptions)) *GetMergeConflictsPaginator

NewGetMergeConflictsPaginator returns a new GetMergeConflictsPaginator

func (*GetMergeConflictsPaginator) HasMorePages added in v0.30.0

func (p *GetMergeConflictsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetMergeConflictsPaginator) NextPage added in v0.30.0

func (p *GetMergeConflictsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetMergeConflictsOutput, error)

NextPage retrieves the next GetMergeConflicts page.

type GetMergeConflictsPaginatorOptions added in v0.30.0

type GetMergeConflictsPaginatorOptions struct {
	// The maximum number of files to include in the output.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetMergeConflictsPaginatorOptions is the paginator options for GetMergeConflicts

type GetMergeOptionsInput

type GetMergeOptionsInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	DestinationCommitSpecifier *string

	// The name of the repository that contains the commits about which you want to
	// get merge options.
	//
	// This member is required.
	RepositoryName *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	SourceCommitSpecifier *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.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 types.ConflictResolutionStrategyTypeEnum
	// contains filtered or unexported fields
}

type GetMergeOptionsOutput

type GetMergeOptionsOutput struct {

	// The commit ID of the merge base.
	//
	// This member is required.
	BaseCommitId *string

	// The commit ID of the destination commit specifier that was used in the merge
	// evaluation.
	//
	// This member is required.
	DestinationCommitId *string

	// The merge option or strategy used to merge the code.
	//
	// This member is required.
	MergeOptions []types.MergeOptionTypeEnum

	// The commit ID of the source commit specifier that was used in the merge
	// evaluation.
	//
	// This member is required.
	SourceCommitId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetPullRequestApprovalStatesInput

type GetPullRequestApprovalStatesInput struct {

	// The system-generated ID for the pull request.
	//
	// This member is required.
	PullRequestId *string

	// The system-generated ID for the pull request revision.
	//
	// This member is required.
	RevisionId *string
	// contains filtered or unexported fields
}

type GetPullRequestApprovalStatesOutput

type GetPullRequestApprovalStatesOutput struct {

	// Information about users who have approved the pull request.
	Approvals []types.Approval

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetPullRequestInput

type GetPullRequestInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string
	// contains filtered or unexported fields
}

type GetPullRequestOutput

type GetPullRequestOutput struct {

	// Information about the specified pull request.
	//
	// This member is required.
	PullRequest *types.PullRequest

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetPullRequestOverrideStateInput

type GetPullRequestOverrideStateInput struct {

	// The ID of the pull request for which you want to get information about whether
	// approval rules have been set aside (overridden).
	//
	// This member is required.
	PullRequestId *string

	// The system-generated ID of the revision for the pull request. To retrieve the
	// most recent revision ID, use GetPullRequest.
	//
	// This member is required.
	RevisionId *string
	// contains filtered or unexported fields
}

type GetPullRequestOverrideStateOutput

type GetPullRequestOverrideStateOutput struct {

	// A Boolean value that indicates whether a pull request has had its rules set
	// aside (TRUE) or whether all approval rules still apply (FALSE).
	Overridden bool

	// The Amazon Resource Name (ARN) of the user or identity that overrode the rules
	// and their requirements for the pull request.
	Overrider *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetRepositoryInput

type GetRepositoryInput struct {

	// The name of the repository to get information about.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

Represents the input of a get repository operation.

type GetRepositoryOutput

type GetRepositoryOutput struct {

	// Information about the repository.
	RepositoryMetadata *types.RepositoryMetadata

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a get repository operation.

type GetRepositoryTriggersInput

type GetRepositoryTriggersInput struct {

	// The name of the repository for which the trigger is configured.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

Represents the input of a get repository triggers operation.

type GetRepositoryTriggersOutput

type GetRepositoryTriggersOutput struct {

	// The system-generated unique ID for the trigger.
	ConfigurationId *string

	// The JSON block of configuration information for each trigger.
	Triggers []types.RepositoryTrigger

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a get repository triggers operation.

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error
}

type IdempotencyTokenProvider

type IdempotencyTokenProvider interface {
	GetIdempotencyToken() (string, error)
}

IdempotencyTokenProvider interface for providing idempotency token

type ListApprovalRuleTemplatesAPIClient added in v0.30.0

type ListApprovalRuleTemplatesAPIClient interface {
	ListApprovalRuleTemplates(context.Context, *ListApprovalRuleTemplatesInput, ...func(*Options)) (*ListApprovalRuleTemplatesOutput, error)
}

ListApprovalRuleTemplatesAPIClient is a client that implements the ListApprovalRuleTemplates operation.

type ListApprovalRuleTemplatesInput

type ListApprovalRuleTemplatesInput struct {

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListApprovalRuleTemplatesOutput

type ListApprovalRuleTemplatesOutput struct {

	// The names of all the approval rule templates found in the Amazon Web Services
	// Region for your Amazon Web Services account.
	ApprovalRuleTemplateNames []string

	// An enumeration token that allows the operation to batch the next results of the
	// operation.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListApprovalRuleTemplatesPaginator added in v0.30.0

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

ListApprovalRuleTemplatesPaginator is a paginator for ListApprovalRuleTemplates

func NewListApprovalRuleTemplatesPaginator added in v0.30.0

NewListApprovalRuleTemplatesPaginator returns a new ListApprovalRuleTemplatesPaginator

func (*ListApprovalRuleTemplatesPaginator) HasMorePages added in v0.30.0

func (p *ListApprovalRuleTemplatesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListApprovalRuleTemplatesPaginator) NextPage added in v0.30.0

NextPage retrieves the next ListApprovalRuleTemplates page.

type ListApprovalRuleTemplatesPaginatorOptions added in v0.30.0

type ListApprovalRuleTemplatesPaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListApprovalRuleTemplatesPaginatorOptions is the paginator options for ListApprovalRuleTemplates

type ListAssociatedApprovalRuleTemplatesForRepositoryAPIClient added in v0.30.0

type ListAssociatedApprovalRuleTemplatesForRepositoryAPIClient interface {
	ListAssociatedApprovalRuleTemplatesForRepository(context.Context, *ListAssociatedApprovalRuleTemplatesForRepositoryInput, ...func(*Options)) (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, error)
}

ListAssociatedApprovalRuleTemplatesForRepositoryAPIClient is a client that implements the ListAssociatedApprovalRuleTemplatesForRepository operation.

type ListAssociatedApprovalRuleTemplatesForRepositoryInput

type ListAssociatedApprovalRuleTemplatesForRepositoryInput struct {

	// The name of the repository for which you want to list all associated approval
	// rule templates.
	//
	// This member is required.
	RepositoryName *string

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListAssociatedApprovalRuleTemplatesForRepositoryOutput

type ListAssociatedApprovalRuleTemplatesForRepositoryOutput struct {

	// The names of all approval rule templates associated with the repository.
	ApprovalRuleTemplateNames []string

	// An enumeration token that allows the operation to batch the next results of the
	// operation.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListAssociatedApprovalRuleTemplatesForRepositoryPaginator added in v0.30.0

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

ListAssociatedApprovalRuleTemplatesForRepositoryPaginator is a paginator for ListAssociatedApprovalRuleTemplatesForRepository

func NewListAssociatedApprovalRuleTemplatesForRepositoryPaginator added in v0.30.0

NewListAssociatedApprovalRuleTemplatesForRepositoryPaginator returns a new ListAssociatedApprovalRuleTemplatesForRepositoryPaginator

func (*ListAssociatedApprovalRuleTemplatesForRepositoryPaginator) HasMorePages added in v0.30.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListAssociatedApprovalRuleTemplatesForRepositoryPaginator) NextPage added in v0.30.0

NextPage retrieves the next ListAssociatedApprovalRuleTemplatesForRepository page.

type ListAssociatedApprovalRuleTemplatesForRepositoryPaginatorOptions added in v0.30.0

type ListAssociatedApprovalRuleTemplatesForRepositoryPaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListAssociatedApprovalRuleTemplatesForRepositoryPaginatorOptions is the paginator options for ListAssociatedApprovalRuleTemplatesForRepository

type ListBranchesAPIClient added in v0.30.0

type ListBranchesAPIClient interface {
	ListBranches(context.Context, *ListBranchesInput, ...func(*Options)) (*ListBranchesOutput, error)
}

ListBranchesAPIClient is a client that implements the ListBranches operation.

type ListBranchesInput

type ListBranchesInput struct {

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

	// An enumeration token that allows the operation to batch the results.
	NextToken *string
	// contains filtered or unexported fields
}

Represents the input of a list branches operation.

type ListBranchesOutput

type ListBranchesOutput struct {

	// The list of branch names.
	Branches []string

	// An enumeration token that returns the batch of the results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a list branches operation.

type ListBranchesPaginator added in v0.30.0

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

ListBranchesPaginator is a paginator for ListBranches

func NewListBranchesPaginator added in v0.30.0

func NewListBranchesPaginator(client ListBranchesAPIClient, params *ListBranchesInput, optFns ...func(*ListBranchesPaginatorOptions)) *ListBranchesPaginator

NewListBranchesPaginator returns a new ListBranchesPaginator

func (*ListBranchesPaginator) HasMorePages added in v0.30.0

func (p *ListBranchesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBranchesPaginator) NextPage added in v0.30.0

func (p *ListBranchesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBranchesOutput, error)

NextPage retrieves the next ListBranches page.

type ListBranchesPaginatorOptions added in v0.30.0

type ListBranchesPaginatorOptions struct {
	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBranchesPaginatorOptions is the paginator options for ListBranches

type ListFileCommitHistoryAPIClient added in v1.16.0

type ListFileCommitHistoryAPIClient interface {
	ListFileCommitHistory(context.Context, *ListFileCommitHistoryInput, ...func(*Options)) (*ListFileCommitHistoryOutput, error)
}

ListFileCommitHistoryAPIClient is a client that implements the ListFileCommitHistory operation.

type ListFileCommitHistoryInput added in v1.16.0

type ListFileCommitHistoryInput struct {

	// The full path of the file whose history you want to retrieve, including the
	// name of the file.
	//
	// This member is required.
	FilePath *string

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

	// The fully quaified reference that identifies the commit that contains the file.
	// For example, you can specify a full commit ID, a tag, a branch name, or a
	// reference such as refs/heads/main . If none is provided, the head commit is used.
	CommitSpecifier *string

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int32

	// An enumeration token that allows the operation to batch the results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListFileCommitHistoryOutput added in v1.16.0

type ListFileCommitHistoryOutput struct {

	// An array of FileVersion objects that form a directed acyclic graph (DAG) of the
	// changes to the file made by the commits that changed the file.
	//
	// This member is required.
	RevisionDag []types.FileVersion

	// An enumeration token that can be used to return the next batch of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListFileCommitHistoryPaginator added in v1.16.0

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

ListFileCommitHistoryPaginator is a paginator for ListFileCommitHistory

func NewListFileCommitHistoryPaginator added in v1.16.0

NewListFileCommitHistoryPaginator returns a new ListFileCommitHistoryPaginator

func (*ListFileCommitHistoryPaginator) HasMorePages added in v1.16.0

func (p *ListFileCommitHistoryPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListFileCommitHistoryPaginator) NextPage added in v1.16.0

NextPage retrieves the next ListFileCommitHistory page.

type ListFileCommitHistoryPaginatorOptions added in v1.16.0

type ListFileCommitHistoryPaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListFileCommitHistoryPaginatorOptions is the paginator options for ListFileCommitHistory

type ListPullRequestsAPIClient added in v0.30.0

type ListPullRequestsAPIClient interface {
	ListPullRequests(context.Context, *ListPullRequestsInput, ...func(*Options)) (*ListPullRequestsOutput, error)
}

ListPullRequestsAPIClient is a client that implements the ListPullRequests operation.

type ListPullRequestsInput

type ListPullRequestsInput struct {

	// The name of the repository for which you want to list pull requests.
	//
	// This member is required.
	RepositoryName *string

	// Optional. The Amazon Resource Name (ARN) of the user who created the pull
	// request. If used, this filters the results to pull requests created by that
	// user.
	AuthorArn *string

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string

	// Optional. The status of the pull request. If used, this refines the results to
	// the pull requests that match the specified status.
	PullRequestStatus types.PullRequestStatusEnum
	// contains filtered or unexported fields
}

type ListPullRequestsOutput

type ListPullRequestsOutput struct {

	// The system-generated IDs of the pull requests.
	//
	// This member is required.
	PullRequestIds []string

	// An enumeration token that allows the operation to batch the next results of the
	// operation.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListPullRequestsPaginator added in v0.30.0

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

ListPullRequestsPaginator is a paginator for ListPullRequests

func NewListPullRequestsPaginator added in v0.30.0

func NewListPullRequestsPaginator(client ListPullRequestsAPIClient, params *ListPullRequestsInput, optFns ...func(*ListPullRequestsPaginatorOptions)) *ListPullRequestsPaginator

NewListPullRequestsPaginator returns a new ListPullRequestsPaginator

func (*ListPullRequestsPaginator) HasMorePages added in v0.30.0

func (p *ListPullRequestsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListPullRequestsPaginator) NextPage added in v0.30.0

func (p *ListPullRequestsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPullRequestsOutput, error)

NextPage retrieves the next ListPullRequests page.

type ListPullRequestsPaginatorOptions added in v0.30.0

type ListPullRequestsPaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListPullRequestsPaginatorOptions is the paginator options for ListPullRequests

type ListRepositoriesAPIClient added in v0.30.0

type ListRepositoriesAPIClient interface {
	ListRepositories(context.Context, *ListRepositoriesInput, ...func(*Options)) (*ListRepositoriesOutput, error)
}

ListRepositoriesAPIClient is a client that implements the ListRepositories operation.

type ListRepositoriesForApprovalRuleTemplateAPIClient added in v0.30.0

type ListRepositoriesForApprovalRuleTemplateAPIClient interface {
	ListRepositoriesForApprovalRuleTemplate(context.Context, *ListRepositoriesForApprovalRuleTemplateInput, ...func(*Options)) (*ListRepositoriesForApprovalRuleTemplateOutput, error)
}

ListRepositoriesForApprovalRuleTemplateAPIClient is a client that implements the ListRepositoriesForApprovalRuleTemplate operation.

type ListRepositoriesForApprovalRuleTemplateInput

type ListRepositoriesForApprovalRuleTemplateInput struct {

	// The name of the approval rule template for which you want to list repositories
	// that are associated with that template.
	//
	// This member is required.
	ApprovalRuleTemplateName *string

	// A non-zero, non-negative integer used to limit the number of returned results.
	MaxResults *int32

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListRepositoriesForApprovalRuleTemplateOutput

type ListRepositoriesForApprovalRuleTemplateOutput struct {

	// An enumeration token that allows the operation to batch the next results of the
	// operation.
	NextToken *string

	// A list of repository names that are associated with the specified approval rule
	// template.
	RepositoryNames []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListRepositoriesForApprovalRuleTemplatePaginator added in v0.30.0

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

ListRepositoriesForApprovalRuleTemplatePaginator is a paginator for ListRepositoriesForApprovalRuleTemplate

func NewListRepositoriesForApprovalRuleTemplatePaginator added in v0.30.0

NewListRepositoriesForApprovalRuleTemplatePaginator returns a new ListRepositoriesForApprovalRuleTemplatePaginator

func (*ListRepositoriesForApprovalRuleTemplatePaginator) HasMorePages added in v0.30.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListRepositoriesForApprovalRuleTemplatePaginator) NextPage added in v0.30.0

NextPage retrieves the next ListRepositoriesForApprovalRuleTemplate page.

type ListRepositoriesForApprovalRuleTemplatePaginatorOptions added in v0.30.0

type ListRepositoriesForApprovalRuleTemplatePaginatorOptions struct {
	// A non-zero, non-negative integer used to limit the number of returned results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListRepositoriesForApprovalRuleTemplatePaginatorOptions is the paginator options for ListRepositoriesForApprovalRuleTemplate

type ListRepositoriesInput

type ListRepositoriesInput struct {

	// An enumeration token that allows the operation to batch the results of the
	// operation. Batch sizes are 1,000 for list repository operations. When the client
	// sends the token back to CodeCommit, another page of 1,000 records is retrieved.
	NextToken *string

	// The order in which to sort the results of a list repositories operation.
	Order types.OrderEnum

	// The criteria used to sort the results of a list repositories operation.
	SortBy types.SortByEnum
	// contains filtered or unexported fields
}

Represents the input of a list repositories operation.

type ListRepositoriesOutput

type ListRepositoriesOutput struct {

	// An enumeration token that allows the operation to batch the results of the
	// operation. Batch sizes are 1,000 for list repository operations. When the client
	// sends the token back to CodeCommit, another page of 1,000 records is retrieved.
	NextToken *string

	// Lists the repositories called by the list repositories operation.
	Repositories []types.RepositoryNameIdPair

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a list repositories operation.

type ListRepositoriesPaginator added in v0.30.0

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

ListRepositoriesPaginator is a paginator for ListRepositories

func NewListRepositoriesPaginator added in v0.30.0

func NewListRepositoriesPaginator(client ListRepositoriesAPIClient, params *ListRepositoriesInput, optFns ...func(*ListRepositoriesPaginatorOptions)) *ListRepositoriesPaginator

NewListRepositoriesPaginator returns a new ListRepositoriesPaginator

func (*ListRepositoriesPaginator) HasMorePages added in v0.30.0

func (p *ListRepositoriesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListRepositoriesPaginator) NextPage added in v0.30.0

func (p *ListRepositoriesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRepositoriesOutput, error)

NextPage retrieves the next ListRepositories page.

type ListRepositoriesPaginatorOptions added in v0.30.0

type ListRepositoriesPaginatorOptions struct {
	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListRepositoriesPaginatorOptions is the paginator options for ListRepositories

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource for which you want to get
	// information about tags, if any.
	//
	// This member is required.
	ResourceArn *string

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// An enumeration token that allows the operation to batch the next results of the
	// operation.
	NextToken *string

	// A list of tag key and value pairs associated with the specified resource.
	Tags map[string]string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type MergeBranchesByFastForwardInput

type MergeBranchesByFastForwardInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	DestinationCommitSpecifier *string

	// The name of the repository where you want to merge two branches.
	//
	// This member is required.
	RepositoryName *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	SourceCommitSpecifier *string

	// The branch where the merge is applied.
	TargetBranch *string
	// contains filtered or unexported fields
}

type MergeBranchesByFastForwardOutput

type MergeBranchesByFastForwardOutput struct {

	// The commit ID of the merge in the destination or target branch.
	CommitId *string

	// The tree ID of the merge in the destination or target branch.
	TreeId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type MergeBranchesBySquashInput

type MergeBranchesBySquashInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	DestinationCommitSpecifier *string

	// The name of the repository where you want to merge two branches.
	//
	// This member is required.
	RepositoryName *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	SourceCommitSpecifier *string

	// The name of the author who created the commit. This information is used as both
	// the author and committer for the commit.
	AuthorName *string

	// The commit message for the merge.
	CommitMessage *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.ConflictDetailLevelTypeEnum

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

	// 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 types.ConflictResolutionStrategyTypeEnum

	// The email address of the person merging the branches. This information is used
	// in the commit information for the merge.
	Email *string

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If this is specified as true, a .gitkeep
	// file is created for empty folders. The default is false.
	KeepEmptyFolders bool

	// The branch where the merge is applied.
	TargetBranch *string
	// contains filtered or unexported fields
}

type MergeBranchesBySquashOutput

type MergeBranchesBySquashOutput struct {

	// The commit ID of the merge in the destination or target branch.
	CommitId *string

	// The tree ID of the merge in the destination or target branch.
	TreeId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type MergeBranchesByThreeWayInput

type MergeBranchesByThreeWayInput struct {

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	DestinationCommitSpecifier *string

	// The name of the repository where you want to merge two branches.
	//
	// This member is required.
	RepositoryName *string

	// The branch, tag, HEAD, or other fully qualified reference used to identify a
	// commit (for example, a branch name or a full commit ID).
	//
	// This member is required.
	SourceCommitSpecifier *string

	// The name of the author who created the commit. This information is used as both
	// the author and committer for the commit.
	AuthorName *string

	// The commit message to include in the commit information for the merge.
	CommitMessage *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.ConflictDetailLevelTypeEnum

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

	// 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 types.ConflictResolutionStrategyTypeEnum

	// The email address of the person merging the branches. This information is used
	// in the commit information for the merge.
	Email *string

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If true, a .gitkeep file is created for
	// empty folders. The default is false.
	KeepEmptyFolders bool

	// The branch where the merge is applied.
	TargetBranch *string
	// contains filtered or unexported fields
}

type MergeBranchesByThreeWayOutput

type MergeBranchesByThreeWayOutput struct {

	// The commit ID of the merge in the destination or target branch.
	CommitId *string

	// The tree ID of the merge in the destination or target branch.
	TreeId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type MergePullRequestByFastForwardInput

type MergePullRequestByFastForwardInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string

	// The name of the repository where the pull request was created.
	//
	// This member is required.
	RepositoryName *string

	// The full commit ID of the original or updated commit in the pull request source
	// branch. Pass this value if you want an exception thrown if the current commit ID
	// of the tip of the source branch does not match this commit ID.
	SourceCommitId *string
	// contains filtered or unexported fields
}

type MergePullRequestByFastForwardOutput

type MergePullRequestByFastForwardOutput struct {

	// Information about the specified pull request, including the merge.
	PullRequest *types.PullRequest

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type MergePullRequestBySquashInput

type MergePullRequestBySquashInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string

	// The name of the repository where the pull request was created.
	//
	// This member is required.
	RepositoryName *string

	// The name of the author who created the commit. This information is used as both
	// the author and committer for the commit.
	AuthorName *string

	// The commit message to include in the commit information for the merge.
	CommitMessage *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.ConflictDetailLevelTypeEnum

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

	// 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 types.ConflictResolutionStrategyTypeEnum

	// The email address of the person merging the branches. This information is used
	// in the commit information for the merge.
	Email *string

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If true, a .gitkeep file is created for
	// empty folders. The default is false.
	KeepEmptyFolders bool

	// The full commit ID of the original or updated commit in the pull request source
	// branch. Pass this value if you want an exception thrown if the current commit ID
	// of the tip of the source branch does not match this commit ID.
	SourceCommitId *string
	// contains filtered or unexported fields
}

type MergePullRequestBySquashOutput

type MergePullRequestBySquashOutput struct {

	// Returns information about a pull request.
	PullRequest *types.PullRequest

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type MergePullRequestByThreeWayInput

type MergePullRequestByThreeWayInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string

	// The name of the repository where the pull request was created.
	//
	// This member is required.
	RepositoryName *string

	// The name of the author who created the commit. This information is used as both
	// the author and committer for the commit.
	AuthorName *string

	// The commit message to include in the commit information for the merge.
	CommitMessage *string

	// The level of conflict detail to use. If unspecified, the default FILE_LEVEL is
	// used, which returns a not-mergeable result if the same file has differences in
	// both branches. If LINE_LEVEL is specified, a conflict is considered not
	// mergeable if the same file in both branches has differences on the same line.
	ConflictDetailLevel types.ConflictDetailLevelTypeEnum

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

	// 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 types.ConflictResolutionStrategyTypeEnum

	// The email address of the person merging the branches. This information is used
	// in the commit information for the merge.
	Email *string

	// If the commit contains deletions, whether to keep a folder or folder structure
	// if the changes leave the folders empty. If true, a .gitkeep file is created for
	// empty folders. The default is false.
	KeepEmptyFolders bool

	// The full commit ID of the original or updated commit in the pull request source
	// branch. Pass this value if you want an exception thrown if the current commit ID
	// of the tip of the source branch does not match this commit ID.
	SourceCommitId *string
	// contains filtered or unexported fields
}

type MergePullRequestByThreeWayOutput

type MergePullRequestByThreeWayOutput struct {

	// Returns information about a pull request.
	PullRequest *types.PullRequest

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// Indicates how aws account ID is applied in endpoint2.0 routing
	AccountIDEndpointMode aws.AccountIDEndpointMode

	// The optional application specific identifier appended to the User-Agent header.
	AppID string

	// This endpoint will be given as input to an EndpointResolverV2. It is used for
	// providing a custom base endpoint that is subject to modifications by the
	// processing EndpointResolverV2.
	BaseEndpoint *string

	// Configures the events that will be sent to the configured logger.
	ClientLogMode aws.ClientLogMode

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The configuration DefaultsMode that the SDK should use when constructing the
	// clients initial default settings.
	DefaultsMode aws.DefaultsMode

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions EndpointResolverOptions

	// The service endpoint resolver.
	//
	// Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a
	// value for this field will likely prevent you from using any endpoint-related
	// service features released after the introduction of EndpointResolverV2 and
	// BaseEndpoint.
	//
	// To migrate an EndpointResolver implementation that uses a custom endpoint, set
	// the client option BaseEndpoint instead.
	EndpointResolver EndpointResolver

	// Resolves the endpoint used for a particular service operation. This should be
	// used over the deprecated EndpointResolver.
	EndpointResolverV2 EndpointResolverV2

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// Provides idempotency tokens values that will be automatically populated into
	// idempotent API operations.
	IdempotencyTokenProvider IdempotencyTokenProvider

	// The logger writer interface to write logging messages to.
	Logger logging.Logger

	// The region to send requests to. (Required)
	Region string

	// RetryMaxAttempts specifies the maximum number attempts an API client will call
	// an operation that fails with a retryable error. A value of 0 is ignored, and
	// will not be used to configure the API client created default retryer, or modify
	// per operation call's retry max attempts.
	//
	// If specified in an operation call's functional options with a value that is
	// different than the constructed client's Options, the Client's Retryer will be
	// wrapped to use the operation's specific RetryMaxAttempts value.
	RetryMaxAttempts int

	// RetryMode specifies the retry mode the API client will be created with, if
	// Retryer option is not also specified.
	//
	// When creating a new API Clients this member will only be used if the Retryer
	// Options member is nil. This value will be ignored if Retryer is not nil.
	//
	// Currently does not support per operation call overrides, may in the future.
	RetryMode aws.RetryMode

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer. The kind of
	// default retry created by the API client can be changed with the RetryMode
	// option.
	Retryer aws.Retryer

	// The RuntimeEnvironment configuration, only populated if the DefaultsMode is set
	// to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You
	// should not populate this structure programmatically, or rely on the values here
	// within your applications.
	RuntimeEnvironment aws.RuntimeEnvironment

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient

	// The auth scheme resolver which determines how to authenticate for each
	// operation.
	AuthSchemeResolver AuthSchemeResolver

	// The list of auth schemes supported by the client.
	AuthSchemes []smithyhttp.AuthScheme
	// contains filtered or unexported fields
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetIdentityResolver added in v1.18.2

func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver

type OverridePullRequestApprovalRulesInput

type OverridePullRequestApprovalRulesInput struct {

	// Whether you want to set aside approval rule requirements for the pull request
	// (OVERRIDE) or revoke a previous override and apply approval rule requirements
	// (REVOKE). REVOKE status is not stored.
	//
	// This member is required.
	OverrideStatus types.OverrideStatus

	// The system-generated ID of the pull request for which you want to override all
	// approval rule requirements. To get this information, use GetPullRequest.
	//
	// This member is required.
	PullRequestId *string

	// The system-generated ID of the most recent revision of the pull request. You
	// cannot override approval rules for anything but the most recent revision of a
	// pull request. To get the revision ID, use GetPullRequest.
	//
	// This member is required.
	RevisionId *string
	// contains filtered or unexported fields
}

type OverridePullRequestApprovalRulesOutput

type OverridePullRequestApprovalRulesOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PostCommentForComparedCommitInput

type PostCommentForComparedCommitInput struct {

	// To establish the directionality of the comparison, the full commit ID of the
	// after commit.
	//
	// This member is required.
	AfterCommitId *string

	// The content of the comment you want to make.
	//
	// This member is required.
	Content *string

	// The name of the repository where you want to post a comment on the comparison
	// between commits.
	//
	// This member is required.
	RepositoryName *string

	// To establish the directionality of the comparison, the full commit ID of the
	// before commit. Required for commenting on any commit unless that commit is the
	// initial commit.
	BeforeCommitId *string

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

	// The location of the comparison where you want to comment.
	Location *types.Location
	// contains filtered or unexported fields
}

type PostCommentForComparedCommitOutput

type PostCommentForComparedCommitOutput struct {

	// In the directionality you established, the blob ID of the after blob.
	AfterBlobId *string

	// In the directionality you established, the full commit ID of the after commit.
	AfterCommitId *string

	// In the directionality you established, the blob ID of the before blob.
	BeforeBlobId *string

	// In the directionality you established, the full commit ID of the before commit.
	BeforeCommitId *string

	// The content of the comment you posted.
	Comment *types.Comment

	// The location of the comment in the comparison between the two commits.
	Location *types.Location

	// The name of the repository where you posted a comment on the comparison between
	// commits.
	RepositoryName *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PostCommentForPullRequestInput

type PostCommentForPullRequestInput struct {

	// The full commit ID of the commit in the source branch that is the current tip
	// of the branch for the pull request when you post the comment.
	//
	// This member is required.
	AfterCommitId *string

	// The full commit ID of the commit in the destination branch that was the tip of
	// the branch at the time the pull request was created.
	//
	// This member is required.
	BeforeCommitId *string

	// The content of your comment on the change.
	//
	// This member is required.
	Content *string

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string

	// The name of the repository where you want to post a comment on a pull request.
	//
	// This member is required.
	RepositoryName *string

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

	// The location of the change where you want to post your comment. If no location
	// is provided, the comment is posted as a general comment on the pull request
	// difference between the before commit ID and the after commit ID.
	Location *types.Location
	// contains filtered or unexported fields
}

type PostCommentForPullRequestOutput

type PostCommentForPullRequestOutput struct {

	// In the directionality of the pull request, the blob ID of the after blob.
	AfterBlobId *string

	// The full commit ID of the commit in the destination branch where the pull
	// request is merged.
	AfterCommitId *string

	// In the directionality of the pull request, the blob ID of the before blob.
	BeforeBlobId *string

	// The full commit ID of the commit in the source branch used to create the pull
	// request, or in the case of an updated pull request, the full commit ID of the
	// commit used to update the pull request.
	BeforeCommitId *string

	// The content of the comment you posted.
	Comment *types.Comment

	// The location of the change where you posted your comment.
	Location *types.Location

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

	// The name of the repository where you posted a comment on a pull request.
	RepositoryName *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PostCommentReplyInput

type PostCommentReplyInput struct {

	// The contents of your reply to a comment.
	//
	// This member is required.
	Content *string

	// The system-generated ID of the comment to which you want to reply. To get this
	// ID, use GetCommentsForComparedCommitor GetCommentsForPullRequest.
	//
	// This member is required.
	InReplyTo *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
	// contains filtered or unexported fields
}

type PostCommentReplyOutput

type PostCommentReplyOutput struct {

	// Information about the reply to a comment.
	Comment *types.Comment

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutCommentReactionInput

type PutCommentReactionInput struct {

	// The ID of the comment to which you want to add or update a reaction.
	//
	// This member is required.
	CommentId *string

	// The emoji reaction you want to add or update. To remove a reaction, provide a
	// value of blank or null. You can also provide the value of none. For information
	// about emoji reaction values supported in CodeCommit, see the [CodeCommit User Guide].
	//
	// [CodeCommit User Guide]: https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table
	//
	// This member is required.
	ReactionValue *string
	// contains filtered or unexported fields
}

type PutCommentReactionOutput

type PutCommentReactionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutFileInput

type PutFileInput struct {

	// The name of the branch where you want to add or update the file. If this is an
	// empty repository, this branch is created.
	//
	// This member is required.
	BranchName *string

	// The content of the file, in binary object format.
	//
	// This member is required.
	FileContent []byte

	// The name of the file you want to add or update, including the relative path to
	// the file in the repository.
	//
	// If the path does not currently exist in the repository, the path is created as
	// part of adding the file.
	//
	// This member is required.
	FilePath *string

	// The name of the repository where you want to add or update the file.
	//
	// This member is required.
	RepositoryName *string

	// A message about why this file was added or updated. Although it is optional, a
	// message makes the commit history for your repository more useful.
	CommitMessage *string

	// An email address for the person adding or updating the file.
	Email *string

	// The file mode permissions of the blob. Valid file mode permissions are listed
	// here.
	FileMode types.FileModeTypeEnum

	// The name of the person adding or updating the file. Although it is optional, a
	// name makes the commit history for your repository more useful.
	Name *string

	// The full commit ID of the head commit in the branch where you want to add or
	// update the file. If this is an empty repository, no commit ID is required. If
	// this is not an empty repository, a commit ID is required.
	//
	// The commit ID must match the ID of the head commit at the time of the
	// operation. Otherwise, an error occurs, and the file is not added or updated.
	ParentCommitId *string
	// contains filtered or unexported fields
}

type PutFileOutput

type PutFileOutput struct {

	// The ID of the blob, which is its SHA-1 pointer.
	//
	// This member is required.
	BlobId *string

	// The full SHA ID of the commit that contains this file change.
	//
	// This member is required.
	CommitId *string

	// The full SHA-1 pointer of the tree information for the commit that contains
	// this file change.
	//
	// This member is required.
	TreeId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type PutRepositoryTriggersInput

type PutRepositoryTriggersInput struct {

	// The name of the repository where you want to create or update the trigger.
	//
	// This member is required.
	RepositoryName *string

	// The JSON block of configuration information for each trigger.
	//
	// This member is required.
	Triggers []types.RepositoryTrigger
	// contains filtered or unexported fields
}

Represents the input of a put repository triggers operation.

type PutRepositoryTriggersOutput

type PutRepositoryTriggersOutput struct {

	// The system-generated unique ID for the create or update operation.
	ConfigurationId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a put repository triggers operation.

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  EndpointResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to which you want to add or
	// update tags.
	//
	// This member is required.
	ResourceArn *string

	// The key-value pair to use when tagging this repository.
	//
	// This member is required.
	Tags map[string]string
	// contains filtered or unexported fields
}

type TagResourceOutput

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type TestRepositoryTriggersInput

type TestRepositoryTriggersInput struct {

	// The name of the repository in which to test the triggers.
	//
	// This member is required.
	RepositoryName *string

	// The list of triggers to test.
	//
	// This member is required.
	Triggers []types.RepositoryTrigger
	// contains filtered or unexported fields
}

Represents the input of a test repository triggers operation.

type TestRepositoryTriggersOutput

type TestRepositoryTriggersOutput struct {

	// The list of triggers that were not tested. This list provides the names of the
	// triggers that could not be tested, separated by commas.
	FailedExecutions []types.RepositoryTriggerExecutionFailure

	// The list of triggers that were successfully tested. This list provides the
	// names of the triggers that were successfully tested, separated by commas.
	SuccessfulExecutions []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Represents the output of a test repository triggers operation.

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to which you want to remove tags.
	//
	// This member is required.
	ResourceArn *string

	// The tag key for each tag that you want to remove from the resource.
	//
	// This member is required.
	TagKeys []string
	// contains filtered or unexported fields
}

type UntagResourceOutput

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateApprovalRuleTemplateContentInput

type UpdateApprovalRuleTemplateContentInput struct {

	// The name of the approval rule template where you want to update the content of
	// the rule.
	//
	// This member is required.
	ApprovalRuleTemplateName *string

	// The content that replaces the existing content of the rule. Content statements
	// must be complete. You cannot provide only the changes.
	//
	// This member is required.
	NewRuleContent *string

	// The SHA-256 hash signature for the content of the approval rule. You can
	// retrieve this information by using GetPullRequest.
	ExistingRuleContentSha256 *string
	// contains filtered or unexported fields
}

type UpdateApprovalRuleTemplateContentOutput

type UpdateApprovalRuleTemplateContentOutput struct {

	// Returns information about an approval rule template.
	//
	// This member is required.
	ApprovalRuleTemplate *types.ApprovalRuleTemplate

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateApprovalRuleTemplateDescriptionInput

type UpdateApprovalRuleTemplateDescriptionInput struct {

	// The updated description of the approval rule template.
	//
	// This member is required.
	ApprovalRuleTemplateDescription *string

	// The name of the template for which you want to update the description.
	//
	// This member is required.
	ApprovalRuleTemplateName *string
	// contains filtered or unexported fields
}

type UpdateApprovalRuleTemplateDescriptionOutput

type UpdateApprovalRuleTemplateDescriptionOutput struct {

	// The structure and content of the updated approval rule template.
	//
	// This member is required.
	ApprovalRuleTemplate *types.ApprovalRuleTemplate

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateApprovalRuleTemplateNameInput

type UpdateApprovalRuleTemplateNameInput struct {

	// The new name you want to apply to the approval rule template.
	//
	// This member is required.
	NewApprovalRuleTemplateName *string

	// The current name of the approval rule template.
	//
	// This member is required.
	OldApprovalRuleTemplateName *string
	// contains filtered or unexported fields
}

type UpdateApprovalRuleTemplateNameOutput

type UpdateApprovalRuleTemplateNameOutput struct {

	// The structure and content of the updated approval rule template.
	//
	// This member is required.
	ApprovalRuleTemplate *types.ApprovalRuleTemplate

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateCommentInput

type UpdateCommentInput struct {

	// The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit
	// or GetCommentsForPullRequest.
	//
	// This member is required.
	CommentId *string

	// The updated content to replace the existing content of the comment.
	//
	// This member is required.
	Content *string
	// contains filtered or unexported fields
}

type UpdateCommentOutput

type UpdateCommentOutput struct {

	// Information about the updated comment.
	Comment *types.Comment

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateDefaultBranchInput

type UpdateDefaultBranchInput struct {

	// The name of the branch to set as the default branch.
	//
	// This member is required.
	DefaultBranchName *string

	// The name of the repository for which you want to set or change the default
	// branch.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

Represents the input of an update default branch operation.

type UpdateDefaultBranchOutput

type UpdateDefaultBranchOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdatePullRequestApprovalRuleContentInput

type UpdatePullRequestApprovalRuleContentInput struct {

	// The name of the approval rule you want to update.
	//
	// This member is required.
	ApprovalRuleName *string

	// The updated content for the approval rule.
	//
	// When you update the content of the approval rule, you can specify approvers in
	// an approval pool in one of two ways:
	//
	//   - CodeCommitApprovers: This option only requires an Amazon Web Services
	//   account and a resource. It can be used for both IAM users and federated access
	//   users whose name matches the provided resource name. This is a very powerful
	//   option that offers a great deal of flexibility. For example, if you specify the
	//   Amazon Web Services account 123456789012 and Mary_Major, all of the following
	//   are counted as approvals coming from that user:
	//
	//   - An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major)
	//
	//   - A federated user identified in IAM as Mary_Major
	//   (arn:aws:sts::123456789012:federated-user/Mary_Major)
	//
	// This option does not recognize an active session of someone assuming the role
	//   of CodeCommitReview with a role session name of Mary_Major
	//   (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you
	//   include a wildcard (*Mary_Major).
	//
	//   - Fully qualified ARN: This option allows you to specify the fully qualified
	//   Amazon Resource Name (ARN) of the IAM user or role.
	//
	// For more information about IAM ARNs, wildcards, and formats, see [IAM Identifiers] in the IAM
	// User Guide.
	//
	// [IAM Identifiers]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
	//
	// This member is required.
	NewRuleContent *string

	// The system-generated ID of the pull request.
	//
	// This member is required.
	PullRequestId *string

	// The SHA-256 hash signature for the content of the approval rule. You can
	// retrieve this information by using GetPullRequest.
	ExistingRuleContentSha256 *string
	// contains filtered or unexported fields
}

type UpdatePullRequestApprovalRuleContentOutput

type UpdatePullRequestApprovalRuleContentOutput struct {

	// Information about the updated approval rule.
	//
	// This member is required.
	ApprovalRule *types.ApprovalRule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdatePullRequestApprovalStateInput

type UpdatePullRequestApprovalStateInput struct {

	// The approval state to associate with the user on the pull request.
	//
	// This member is required.
	ApprovalState types.ApprovalState

	// The system-generated ID of the pull request.
	//
	// This member is required.
	PullRequestId *string

	// The system-generated ID of the revision.
	//
	// This member is required.
	RevisionId *string
	// contains filtered or unexported fields
}

type UpdatePullRequestApprovalStateOutput

type UpdatePullRequestApprovalStateOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdatePullRequestDescriptionInput

type UpdatePullRequestDescriptionInput struct {

	// The updated content of the description for the pull request. This content
	// replaces the existing description.
	//
	// This member is required.
	Description *string

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string
	// contains filtered or unexported fields
}

type UpdatePullRequestDescriptionOutput

type UpdatePullRequestDescriptionOutput struct {

	// Information about the updated pull request.
	//
	// This member is required.
	PullRequest *types.PullRequest

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdatePullRequestStatusInput

type UpdatePullRequestStatusInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string

	// The status of the pull request. The only valid operations are to update the
	// status from OPEN to OPEN , OPEN to CLOSED or from CLOSED to CLOSED .
	//
	// This member is required.
	PullRequestStatus types.PullRequestStatusEnum
	// contains filtered or unexported fields
}

type UpdatePullRequestStatusOutput

type UpdatePullRequestStatusOutput struct {

	// Information about the pull request.
	//
	// This member is required.
	PullRequest *types.PullRequest

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdatePullRequestTitleInput

type UpdatePullRequestTitleInput struct {

	// The system-generated ID of the pull request. To get this ID, use ListPullRequests.
	//
	// This member is required.
	PullRequestId *string

	// The updated title of the pull request. This replaces the existing title.
	//
	// This member is required.
	Title *string
	// contains filtered or unexported fields
}

type UpdatePullRequestTitleOutput

type UpdatePullRequestTitleOutput struct {

	// Information about the updated pull request.
	//
	// This member is required.
	PullRequest *types.PullRequest

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateRepositoryDescriptionInput

type UpdateRepositoryDescriptionInput struct {

	// The name of the repository to set or change the comment or description for.
	//
	// This member is required.
	RepositoryName *string

	// The new comment or description for the specified repository. Repository
	// descriptions are limited to 1,000 characters.
	RepositoryDescription *string
	// contains filtered or unexported fields
}

Represents the input of an update repository description operation.

type UpdateRepositoryDescriptionOutput

type UpdateRepositoryDescriptionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateRepositoryEncryptionKeyInput added in v1.20.0

type UpdateRepositoryEncryptionKeyInput struct {

	// The ID of the encryption key. You can view the ID of an encryption key in the
	// KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more
	// information about acceptable values for keyID, see [KeyId]in the Decrypt API
	// description in the Key Management Service API Reference.
	//
	// [KeyId]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId
	//
	// This member is required.
	KmsKeyId *string

	// The name of the repository for which you want to update the KMS encryption key
	// used to encrypt and decrypt the repository.
	//
	// This member is required.
	RepositoryName *string
	// contains filtered or unexported fields
}

type UpdateRepositoryEncryptionKeyOutput added in v1.20.0

type UpdateRepositoryEncryptionKeyOutput struct {

	// The ID of the encryption key.
	KmsKeyId *string

	// The ID of the encryption key formerly used to encrypt and decrypt the
	// repository.
	OriginalKmsKeyId *string

	// The ID of the repository.
	RepositoryId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateRepositoryNameInput

type UpdateRepositoryNameInput struct {

	// The new name for the repository.
	//
	// This member is required.
	NewName *string

	// The current name of the repository.
	//
	// This member is required.
	OldName *string
	// contains filtered or unexported fields
}

Represents the input of an update repository description operation.

type UpdateRepositoryNameOutput

type UpdateRepositoryNameOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Source Files

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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