Crate rusoto_codecommit

Source
Expand description

AWS CodeCommit

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

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

Repositories, by calling the following:

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

  • CreateRepository, which creates an AWS CodeCommit repository.

  • DeleteRepository, which deletes an AWS CodeCommit repository.

  • GetRepository, which returns information about a specified repository.

  • ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS account.

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

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

Branches, by calling the following:

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

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

  • GetBranch, which returns information about a specified branch.

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

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

Files, by calling the following:

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

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

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

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

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

Commits, by calling the following:

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

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

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

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

Merges, by calling the following:

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

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

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

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

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

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

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

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

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

Pull requests, by calling the following:

Approval rule templates, by calling the following:

Comments in a repository, by calling the following:

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

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

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

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

Triggers, by calling the following:

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

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

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

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

If you’re using the service, you’re probably looking for CodeCommitClient and CodeCommit.

Structs§

Approval

Returns information about a specific approval on a pull request.

ApprovalRule

Returns information about an approval rule.

ApprovalRuleEventMetadata

Returns information about an event for an approval rule.

ApprovalRuleOverriddenEventMetadata

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

ApprovalRuleTemplate

Returns information about an approval rule template.

ApprovalStateChangedEventMetadata

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

AssociateApprovalRuleTemplateWithRepositoryInput
BatchAssociateApprovalRuleTemplateWithRepositoriesInput
BatchAssociateApprovalRuleTemplateWithRepositoriesOutput
BatchDescribeMergeConflictsInput
BatchDescribeMergeConflictsOutput
BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput
BatchGetCommitsInput
BatchGetCommitsOutput
BatchGetRepositoriesInput

Represents the input of a batch get repositories operation.

BatchGetRepositoriesOutput

Represents the output of a batch get repositories operation.

BlobMetadata

Returns information about a specific Git blob object.

BranchInfo

Returns information about a branch.

CodeCommitBatchAssociateApprovalRuleTemplateWithRepositoriesError

Returns information about errors in a BatchAssociateApprovalRuleTemplateWithRepositories operation.

CodeCommitBatchDescribeMergeConflictsError

Returns information about errors in a BatchDescribeMergeConflicts operation.

CodeCommitBatchDisassociateApprovalRuleTemplateFromRepositoriesError

Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation.

CodeCommitBatchGetCommitsError

Returns information about errors in a BatchGetCommits operation.

CodeCommitClient
A client for the CodeCommit API.
Comment

Returns information about a specific comment.

CommentsForComparedCommit

Returns information about comments on the comparison between two commits.

CommentsForPullRequest

Returns information about comments on a pull request.

Commit

Returns information about a specific commit.

Conflict

Information about conflicts in a merge operation.

ConflictMetadata

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

ConflictResolution

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

CreateApprovalRuleTemplateInput
CreateApprovalRuleTemplateOutput
CreateBranchInput

Represents the input of a create branch operation.

CreateCommitInput
CreateCommitOutput
CreatePullRequestApprovalRuleInput
CreatePullRequestApprovalRuleOutput
CreatePullRequestInput
CreatePullRequestOutput
CreateRepositoryInput

Represents the input of a create repository operation.

CreateRepositoryOutput

Represents the output of a create repository operation.

CreateUnreferencedMergeCommitInput
CreateUnreferencedMergeCommitOutput
DeleteApprovalRuleTemplateInput
DeleteApprovalRuleTemplateOutput
DeleteBranchInput

Represents the input of a delete branch operation.

DeleteBranchOutput

Represents the output of a delete branch operation.

DeleteCommentContentInput
DeleteCommentContentOutput
DeleteFileEntry

A file that is deleted as part of a commit.

DeleteFileInput
DeleteFileOutput
DeletePullRequestApprovalRuleInput
DeletePullRequestApprovalRuleOutput
DeleteRepositoryInput

Represents the input of a delete repository operation.

DeleteRepositoryOutput

Represents the output of a delete repository operation.

DescribeMergeConflictsInput
DescribeMergeConflictsOutput
DescribePullRequestEventsInput
DescribePullRequestEventsOutput
Difference

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

DisassociateApprovalRuleTemplateFromRepositoryInput
EvaluatePullRequestApprovalRulesInput
EvaluatePullRequestApprovalRulesOutput
Evaluation

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

File

Returns information about a file in a repository.

FileMetadata

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

FileModes

Information about file modes in a merge or pull request.

FileSizes

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

Folder

Returns information about a folder in a repository.

GetApprovalRuleTemplateInput
GetApprovalRuleTemplateOutput
GetBlobInput

Represents the input of a get blob operation.

GetBlobOutput

Represents the output of a get blob operation.

GetBranchInput

Represents the input of a get branch operation.

GetBranchOutput

Represents the output of a get branch operation.

GetCommentInput
GetCommentOutput
GetCommentReactionsInput
GetCommentReactionsOutput
GetCommentsForComparedCommitInput
GetCommentsForComparedCommitOutput
GetCommentsForPullRequestInput
GetCommentsForPullRequestOutput
GetCommitInput

Represents the input of a get commit operation.

GetCommitOutput

Represents the output of a get commit operation.

GetDifferencesInput
GetDifferencesOutput
GetFileInput
GetFileOutput
GetFolderInput
GetFolderOutput
GetMergeCommitInput
GetMergeCommitOutput
GetMergeConflictsInput
GetMergeConflictsOutput
GetMergeOptionsInput
GetMergeOptionsOutput
GetPullRequestApprovalStatesInput
GetPullRequestApprovalStatesOutput
GetPullRequestInput
GetPullRequestOutput
GetPullRequestOverrideStateInput
GetPullRequestOverrideStateOutput
GetRepositoryInput

Represents the input of a get repository operation.

GetRepositoryOutput

Represents the output of a get repository operation.

GetRepositoryTriggersInput

Represents the input of a get repository triggers operation.

GetRepositoryTriggersOutput

Represents the output of a get repository triggers operation.

IsBinaryFile

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

ListApprovalRuleTemplatesInput
ListApprovalRuleTemplatesOutput
ListAssociatedApprovalRuleTemplatesForRepositoryInput
ListAssociatedApprovalRuleTemplatesForRepositoryOutput
ListBranchesInput

Represents the input of a list branches operation.

ListBranchesOutput

Represents the output of a list branches operation.

ListPullRequestsInput
ListPullRequestsOutput
ListRepositoriesForApprovalRuleTemplateInput
ListRepositoriesForApprovalRuleTemplateOutput
ListRepositoriesInput

Represents the input of a list repositories operation.

ListRepositoriesOutput

Represents the output of a list repositories operation.

ListTagsForResourceInput
ListTagsForResourceOutput
Location

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

MergeBranchesByFastForwardInput
MergeBranchesByFastForwardOutput
MergeBranchesBySquashInput
MergeBranchesBySquashOutput
MergeBranchesByThreeWayInput
MergeBranchesByThreeWayOutput
MergeHunk

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

MergeHunkDetail

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

MergeMetadata

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

MergeOperations

Information about the file operation conflicts in a merge operation.

MergePullRequestByFastForwardInput
MergePullRequestByFastForwardOutput
MergePullRequestBySquashInput
MergePullRequestBySquashOutput
MergePullRequestByThreeWayInput
MergePullRequestByThreeWayOutput
ObjectTypes

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

OriginApprovalRuleTemplate

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

OverridePullRequestApprovalRulesInput
PostCommentForComparedCommitInput
PostCommentForComparedCommitOutput
PostCommentForPullRequestInput
PostCommentForPullRequestOutput
PostCommentReplyInput
PostCommentReplyOutput
PullRequest

Returns information about a pull request.

PullRequestCreatedEventMetadata

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

PullRequestEvent

Returns information about a pull request event.

PullRequestMergedStateChangedEventMetadata

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

PullRequestSourceReferenceUpdatedEventMetadata

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

PullRequestStatusChangedEventMetadata

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

PullRequestTarget

Returns information about a pull request target.

PutCommentReactionInput
PutFileEntry

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

PutFileInput
PutFileOutput
PutRepositoryTriggersInput

Represents the input of a put repository triggers operation.

PutRepositoryTriggersOutput

Represents the output of a put repository triggers operation.

ReactionForComment

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

ReactionValueFormats

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

ReplaceContentEntry

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

RepositoryMetadata

Information about a repository.

RepositoryNameIdPair

Information about a repository name and ID.

RepositoryTrigger

Information about a trigger for a repository.

RepositoryTriggerExecutionFailure

A trigger failed to run.

SetFileModeEntry

Information about the file mode changes.

SourceFileSpecifier

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

SubModule

Returns information about a submodule reference in a repository folder.

SymbolicLink

Returns information about a symbolic link in a repository folder.

TagResourceInput
Target

Returns information about a target for a pull request.

TestRepositoryTriggersInput

Represents the input of a test repository triggers operation.

TestRepositoryTriggersOutput

Represents the output of a test repository triggers operation.

UntagResourceInput
UpdateApprovalRuleTemplateContentInput
UpdateApprovalRuleTemplateContentOutput
UpdateApprovalRuleTemplateDescriptionInput
UpdateApprovalRuleTemplateDescriptionOutput
UpdateApprovalRuleTemplateNameInput
UpdateApprovalRuleTemplateNameOutput
UpdateCommentInput
UpdateCommentOutput
UpdateDefaultBranchInput

Represents the input of an update default branch operation.

UpdatePullRequestApprovalRuleContentInput
UpdatePullRequestApprovalRuleContentOutput
UpdatePullRequestApprovalStateInput
UpdatePullRequestDescriptionInput
UpdatePullRequestDescriptionOutput
UpdatePullRequestStatusInput
UpdatePullRequestStatusOutput
UpdatePullRequestTitleInput
UpdatePullRequestTitleOutput
UpdateRepositoryDescriptionInput

Represents the input of an update repository description operation.

UpdateRepositoryNameInput

Represents the input of an update repository description operation.

UserInfo

Information about the user who made a specified commit.

Enums§

AssociateApprovalRuleTemplateWithRepositoryError
Errors returned by AssociateApprovalRuleTemplateWithRepository
BatchAssociateApprovalRuleTemplateWithRepositoriesError
Errors returned by BatchAssociateApprovalRuleTemplateWithRepositories
BatchDescribeMergeConflictsError
Errors returned by BatchDescribeMergeConflicts
BatchDisassociateApprovalRuleTemplateFromRepositoriesError
Errors returned by BatchDisassociateApprovalRuleTemplateFromRepositories
BatchGetCommitsError
Errors returned by BatchGetCommits
BatchGetRepositoriesError
Errors returned by BatchGetRepositories
CreateApprovalRuleTemplateError
Errors returned by CreateApprovalRuleTemplate
CreateBranchError
Errors returned by CreateBranch
CreateCommitError
Errors returned by CreateCommit
CreatePullRequestApprovalRuleError
Errors returned by CreatePullRequestApprovalRule
CreatePullRequestError
Errors returned by CreatePullRequest
CreateRepositoryError
Errors returned by CreateRepository
CreateUnreferencedMergeCommitError
Errors returned by CreateUnreferencedMergeCommit
DeleteApprovalRuleTemplateError
Errors returned by DeleteApprovalRuleTemplate
DeleteBranchError
Errors returned by DeleteBranch
DeleteCommentContentError
Errors returned by DeleteCommentContent
DeleteFileError
Errors returned by DeleteFile
DeletePullRequestApprovalRuleError
Errors returned by DeletePullRequestApprovalRule
DeleteRepositoryError
Errors returned by DeleteRepository
DescribeMergeConflictsError
Errors returned by DescribeMergeConflicts
DescribePullRequestEventsError
Errors returned by DescribePullRequestEvents
DisassociateApprovalRuleTemplateFromRepositoryError
Errors returned by DisassociateApprovalRuleTemplateFromRepository
EvaluatePullRequestApprovalRulesError
Errors returned by EvaluatePullRequestApprovalRules
GetApprovalRuleTemplateError
Errors returned by GetApprovalRuleTemplate
GetBlobError
Errors returned by GetBlob
GetBranchError
Errors returned by GetBranch
GetCommentError
Errors returned by GetComment
GetCommentReactionsError
Errors returned by GetCommentReactions
GetCommentsForComparedCommitError
Errors returned by GetCommentsForComparedCommit
GetCommentsForPullRequestError
Errors returned by GetCommentsForPullRequest
GetCommitError
Errors returned by GetCommit
GetDifferencesError
Errors returned by GetDifferences
GetFileError
Errors returned by GetFile
GetFolderError
Errors returned by GetFolder
GetMergeCommitError
Errors returned by GetMergeCommit
GetMergeConflictsError
Errors returned by GetMergeConflicts
GetMergeOptionsError
Errors returned by GetMergeOptions
GetPullRequestApprovalStatesError
Errors returned by GetPullRequestApprovalStates
GetPullRequestError
Errors returned by GetPullRequest
GetPullRequestOverrideStateError
Errors returned by GetPullRequestOverrideState
GetRepositoryError
Errors returned by GetRepository
GetRepositoryTriggersError
Errors returned by GetRepositoryTriggers
ListApprovalRuleTemplatesError
Errors returned by ListApprovalRuleTemplates
ListAssociatedApprovalRuleTemplatesForRepositoryError
Errors returned by ListAssociatedApprovalRuleTemplatesForRepository
ListBranchesError
Errors returned by ListBranches
ListPullRequestsError
Errors returned by ListPullRequests
ListRepositoriesError
Errors returned by ListRepositories
ListRepositoriesForApprovalRuleTemplateError
Errors returned by ListRepositoriesForApprovalRuleTemplate
ListTagsForResourceError
Errors returned by ListTagsForResource
MergeBranchesByFastForwardError
Errors returned by MergeBranchesByFastForward
MergeBranchesBySquashError
Errors returned by MergeBranchesBySquash
MergeBranchesByThreeWayError
Errors returned by MergeBranchesByThreeWay
MergePullRequestByFastForwardError
Errors returned by MergePullRequestByFastForward
MergePullRequestBySquashError
Errors returned by MergePullRequestBySquash
MergePullRequestByThreeWayError
Errors returned by MergePullRequestByThreeWay
OverridePullRequestApprovalRulesError
Errors returned by OverridePullRequestApprovalRules
PostCommentForComparedCommitError
Errors returned by PostCommentForComparedCommit
PostCommentForPullRequestError
Errors returned by PostCommentForPullRequest
PostCommentReplyError
Errors returned by PostCommentReply
PutCommentReactionError
Errors returned by PutCommentReaction
PutFileError
Errors returned by PutFile
PutRepositoryTriggersError
Errors returned by PutRepositoryTriggers
TagResourceError
Errors returned by TagResource
TestRepositoryTriggersError
Errors returned by TestRepositoryTriggers
UntagResourceError
Errors returned by UntagResource
UpdateApprovalRuleTemplateContentError
Errors returned by UpdateApprovalRuleTemplateContent
UpdateApprovalRuleTemplateDescriptionError
Errors returned by UpdateApprovalRuleTemplateDescription
UpdateApprovalRuleTemplateNameError
Errors returned by UpdateApprovalRuleTemplateName
UpdateCommentError
Errors returned by UpdateComment
UpdateDefaultBranchError
Errors returned by UpdateDefaultBranch
UpdatePullRequestApprovalRuleContentError
Errors returned by UpdatePullRequestApprovalRuleContent
UpdatePullRequestApprovalStateError
Errors returned by UpdatePullRequestApprovalState
UpdatePullRequestDescriptionError
Errors returned by UpdatePullRequestDescription
UpdatePullRequestStatusError
Errors returned by UpdatePullRequestStatus
UpdatePullRequestTitleError
Errors returned by UpdatePullRequestTitle
UpdateRepositoryDescriptionError
Errors returned by UpdateRepositoryDescription
UpdateRepositoryNameError
Errors returned by UpdateRepositoryName

Traits§

CodeCommit
Trait representing the capabilities of the CodeCommit API. CodeCommit clients implement this trait.