AWS.CodeCommit

AWS CodeCommit

This is the AWS CodeCommit API Reference. This reference provides descriptions of the AWS CodeCommit API.

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

  • Repositories
  • Branches
  • Commits
For

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

Summary

Functions

Gets information about one or more repositories

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

Creates a new, empty repository

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

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

Gets information about a repository

Gets information about one or more branches in a repository

Gets information about one or more repositories

Sets or changes the default branch name for the specified repository

Sets or changes the comment or description for a repository

Functions

batch_get_repositories(client, input, options \\ [])

Gets information about one or more repositories.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
create_branch(client, input, options \\ [])

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

Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
create_repository(client, input, options \\ [])

Creates a new, empty repository.

delete_repository(client, input, options \\ [])

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

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.
get_branch(client, input, options \\ [])

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

get_repository(client, input, options \\ [])

Gets information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
list_branches(client, input, options \\ [])

Gets information about one or more branches in a repository.

list_repositories(client, input, options \\ [])

Gets information about one or more repositories.

update_default_branch(client, input, options \\ [])

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.
update_repository_description(client, input, options \\ [])

Sets or changes the comment or description for a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
update_repository_name(client, input, options \\ [])

Renames a repository.