ExAws.CodeCommit.Core
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↑
Types ↑
branch_name :: binary
delete_repository_output :: [{:repository_id, repository_id}]
update_repository_description_input :: [repository_description: repository_description, repository_name: repository_name]
update_default_branch_input :: [default_branch_name: branch_name, repository_name: repository_name]
batch_get_repositories_input :: [{:repository_names, repository_name_list}]
list_repositories_input :: [next_token: next_token, order: order_enum, sort_by: sort_by_enum]
creation_date :: integer
clone_url_http :: binary
order_enum :: binary
repository_description :: binary
get_branch_input :: [branch_name: branch_name, repository_name: repository_name]
repository_name_id_pair :: [repository_id: repository_id, repository_name: repository_name]
account_id :: binary
create_repository_output :: [{:repository_metadata, repository_metadata}]
repository_metadata :: [arn: arn, account_id: account_id, clone_url_http: clone_url_http, clone_url_ssh: clone_url_ssh, creation_date: creation_date, default_branch: branch_name, last_modified_date: last_modified_date, repository_description: repository_description, repository_id: repository_id, repository_name: repository_name]
get_branch_output :: [{:branch, branch_info}]
invalid_order_exception :: []
create_repository_input :: [repository_description: repository_description, repository_name: repository_name]
arn :: binary
repository_name :: binary
clone_url_ssh :: binary
branch_info :: [branch_name: branch_name, commit_id: commit_id]
list_repositories_output :: [next_token: next_token, repositories: repository_name_id_pair_list]
create_branch_input :: [branch_name: branch_name, commit_id: commit_id, repository_name: repository_name]
repository_id :: binary
get_repository_input :: [{:repository_name, repository_name}]
sort_by_enum :: binary
commit_id :: binary
get_repository_output :: [{:repository_metadata, repository_metadata}]
batch_get_repositories_output :: [repositories: repository_metadata_list, repositories_not_found: repository_not_found_list]
update_repository_name_input :: [new_name: repository_name, old_name: repository_name]
list_branches_input :: [next_token: next_token, repository_name: repository_name]
delete_repository_input :: [{:repository_name, repository_name}]
next_token :: binary
list_branches_output :: [branches: branch_name_list, next_token: next_token]
last_modified_date :: integer
Functions
Specs:
- batch_get_repositories(client :: ExAws.CodeCommit.t, input :: batch_get_repositories_input) :: ExAws.Request.JSON.response_t
BatchGetRepositories
Gets information about one or more repositories.
Note: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.
Specs:
- batch_get_repositories!(client :: ExAws.CodeCommit.t, input :: batch_get_repositories_input) :: ExAws.Request.JSON.success_t | no_return
Same as batch_get_repositories/2
but raise on error.
Specs:
- create_branch(client :: ExAws.CodeCommit.t, input :: create_branch_input) :: ExAws.Request.JSON.response_t
CreateBranch
Creates a new branch in a repository and points the branch to a commit.
Note:Calling the create branch operation does not set a repository’s default branch. To do this, call the update default branch operation.
Specs:
- create_branch!(client :: ExAws.CodeCommit.t, input :: create_branch_input) :: ExAws.Request.JSON.success_t | no_return
Same as create_branch/2
but raise on error.
Specs:
- create_repository(client :: ExAws.CodeCommit.t, input :: create_repository_input) :: ExAws.Request.JSON.response_t
CreateRepository
Creates a new, empty repository.
Specs:
- create_repository!(client :: ExAws.CodeCommit.t, input :: create_repository_input) :: ExAws.Request.JSON.success_t | no_return
Same as create_repository/2
but raise on error.
Specs:
- delete_repository(client :: ExAws.CodeCommit.t, input :: delete_repository_input) :: ExAws.Request.JSON.response_t
DeleteRepository
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.
Specs:
- delete_repository!(client :: ExAws.CodeCommit.t, input :: delete_repository_input) :: ExAws.Request.JSON.success_t | no_return
Same as delete_repository/2
but raise on error.
Specs:
- get_branch(client :: ExAws.CodeCommit.t, input :: get_branch_input) :: ExAws.Request.JSON.response_t
GetBranch
Retrieves information about a repository branch, including its name and the last commit ID.
Specs:
- get_branch!(client :: ExAws.CodeCommit.t, input :: get_branch_input) :: ExAws.Request.JSON.success_t | no_return
Same as get_branch/2
but raise on error.
Specs:
- get_repository(client :: ExAws.CodeCommit.t, input :: get_repository_input) :: ExAws.Request.JSON.response_t
GetRepository
Gets information about a repository.
Note: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.
Specs:
- get_repository!(client :: ExAws.CodeCommit.t, input :: get_repository_input) :: ExAws.Request.JSON.success_t | no_return
Same as get_repository/2
but raise on error.
Specs:
- list_branches(client :: ExAws.CodeCommit.t, input :: list_branches_input) :: ExAws.Request.JSON.response_t
ListBranches
Gets information about one or more branches in a repository.
Specs:
- list_branches!(client :: ExAws.CodeCommit.t, input :: list_branches_input) :: ExAws.Request.JSON.success_t | no_return
Same as list_branches/2
but raise on error.
Specs:
- list_repositories(client :: ExAws.CodeCommit.t, input :: list_repositories_input) :: ExAws.Request.JSON.response_t
ListRepositories
Gets information about one or more repositories.
Specs:
- list_repositories!(client :: ExAws.CodeCommit.t, input :: list_repositories_input) :: ExAws.Request.JSON.success_t | no_return
Same as list_repositories/2
but raise on error.
Specs:
- update_default_branch(client :: ExAws.CodeCommit.t, input :: update_default_branch_input) :: ExAws.Request.JSON.response_t
UpdateDefaultBranch
Sets or changes the default branch name for the specified repository.
Note: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.
Specs:
- update_default_branch!(client :: ExAws.CodeCommit.t, input :: update_default_branch_input) :: ExAws.Request.JSON.success_t | no_return
Same as update_default_branch/2
but raise on error.
Specs:
- update_repository_description(client :: ExAws.CodeCommit.t, input :: update_repository_description_input) :: ExAws.Request.JSON.response_t
UpdateRepositoryDescription
Sets or changes the comment or description for a repository.
Note: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.
Specs:
- update_repository_description!(client :: ExAws.CodeCommit.t, input :: update_repository_description_input) :: ExAws.Request.JSON.success_t | no_return
Same as update_repository_description/2
but raise on error.
Specs:
- update_repository_name(client :: ExAws.CodeCommit.t, input :: update_repository_name_input) :: ExAws.Request.JSON.response_t
UpdateRepositoryName
Renames a repository.
Specs:
- update_repository_name!(client :: ExAws.CodeCommit.t, input :: update_repository_name_input) :: ExAws.Request.JSON.success_t | no_return
Same as update_repository_name/2
but raise on error.