Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws ]

codecommit

Description

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

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

  • Repositories, by calling the following:
    • batch-get-repositories , which returns information about one or more repositories associated with your AWS account
    • create-repository , which creates an AWS CodeCommit repository
    • delete-repository , which deletes an AWS CodeCommit repository
    • get-repository , which returns information about a specified repository
    • list-repositories , which lists all AWS CodeCommit repositories associated with your AWS account
    • update-repository-description , which sets or updates the description of the repository
    • update-repository-name , which changes the name of the repository. If you change the name of a repository, no other users of that repository will be able to access it until you send them the new HTTPS or SSH URL to use.
  • Branches, by calling the following:
    • create-branch , which creates a new branch in a specified repository
    • get-branch , which returns information about a specified branch
    • list-branches , which lists all branches for a specified repository
    • update-default-branch , which changes the default branch for a repository
  • Information about committed code in a repository, by calling the following:
    • get-commit , which returns information about a commit, including commit messages and committer information.
  • Triggers, by calling the following:
    • get-repository-triggers , which returns information about triggers configured for a repository
    • put-repository-triggers , which replaces all triggers for a repository and can be used to create or delete triggers
    • test-repository-triggers , 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 .