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:

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

Source

Summary

batch_get_repositories!(client, input)

Same as batch_get_repositories/2 but raise on error

batch_get_repositories(client, input)

BatchGetRepositories

create_branch!(client, input)

Same as create_branch/2 but raise on error

create_branch(client, input)

CreateBranch

create_repository!(client, input)

Same as create_repository/2 but raise on error

create_repository(client, input)

CreateRepository

delete_repository!(client, input)

Same as delete_repository/2 but raise on error

delete_repository(client, input)

DeleteRepository

get_branch!(client, input)

Same as get_branch/2 but raise on error

get_branch(client, input)

GetBranch

get_repository!(client, input)

Same as get_repository/2 but raise on error

get_repository(client, input)

GetRepository

list_branches!(client, input)

Same as list_branches/2 but raise on error

list_branches(client, input)

ListBranches

list_repositories!(client, input)

Same as list_repositories/2 but raise on error

list_repositories(client, input)

ListRepositories

update_default_branch!(client, input)

Same as update_default_branch/2 but raise on error

update_default_branch(client, input)

UpdateDefaultBranch

update_repository_description!(client, input)

Same as update_repository_description/2 but raise on error

update_repository_description(client, input)

UpdateRepositoryDescription

update_repository_name!(client, input)

Same as update_repository_name/2 but raise on error

update_repository_name(client, input)

UpdateRepositoryName

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]

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

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}]

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]

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}]

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

batch_get_repositories(client, input)

Specs:

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.

Source
batch_get_repositories!(client, input)

Specs:

Same as batch_get_repositories/2 but raise on error.

Source
create_branch(client, input)

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.

Source
create_branch!(client, input)

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.

Source
create_repository(client, input)

Specs:

  • create_repository(client :: ExAws.CodeCommit.t, input :: create_repository_input) :: ExAws.Request.JSON.response_t

CreateRepository

Creates a new, empty repository.

Source
create_repository!(client, input)

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.

Source
delete_repository(client, input)

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.

Source
delete_repository!(client, input)

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.

Source
get_branch(client, input)

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.

Source
get_branch!(client, input)

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.

Source
get_repository(client, input)

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.

Source
get_repository!(client, input)

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.

Source
list_branches(client, input)

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.

Source
list_branches!(client, input)

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.

Source
list_repositories(client, input)

Specs:

  • list_repositories(client :: ExAws.CodeCommit.t, input :: list_repositories_input) :: ExAws.Request.JSON.response_t

ListRepositories

Gets information about one or more repositories.

Source
list_repositories!(client, input)

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.

Source
update_default_branch(client, input)

Specs:

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.

Source
update_default_branch!(client, input)

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.

Source
update_repository_description(client, input)

Specs:

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.

Source
update_repository_description!(client, input)

Specs:

Same as update_repository_description/2 but raise on error.

Source
update_repository_name(client, input)

Specs:

UpdateRepositoryName

Renames a repository.

Source
update_repository_name!(client, input)

Specs:

Same as update_repository_name/2 but raise on error.

Source