[][src]Struct rusoto_codecommit::CodeCommitClient

pub struct CodeCommitClient { /* fields omitted */ }

A client for the CodeCommit API.

Methods

impl CodeCommitClient[src]

pub fn new(region: Region) -> CodeCommitClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> CodeCommitClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl CodeCommit for CodeCommitClient[src]

fn batch_get_repositories(
    &self,
    input: BatchGetRepositoriesInput
) -> RusotoFuture<BatchGetRepositoriesOutput, BatchGetRepositoriesError>
[src]

Returns 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.

fn create_branch(
    &self,
    input: CreateBranchInput
) -> RusotoFuture<(), CreateBranchError>
[src]

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.

fn create_commit(
    &self,
    input: CreateCommitInput
) -> RusotoFuture<CreateCommitOutput, CreateCommitError>
[src]

Creates a commit for a repository on the tip of a specified branch.

fn create_pull_request(
    &self,
    input: CreatePullRequestInput
) -> RusotoFuture<CreatePullRequestOutput, CreatePullRequestError>
[src]

Creates a pull request in the specified repository.

fn create_repository(
    &self,
    input: CreateRepositoryInput
) -> RusotoFuture<CreateRepositoryOutput, CreateRepositoryError>
[src]

Creates a new, empty repository.

fn delete_branch(
    &self,
    input: DeleteBranchInput
) -> RusotoFuture<DeleteBranchOutput, DeleteBranchError>
[src]

Deletes a branch from a repository, unless that branch is the default branch for the repository.

fn delete_comment_content(
    &self,
    input: DeleteCommentContentInput
) -> RusotoFuture<DeleteCommentContentOutput, DeleteCommentContentError>
[src]

Deletes the content of a comment made on a change, file, or commit in a repository.

fn delete_file(
    &self,
    input: DeleteFileInput
) -> RusotoFuture<DeleteFileOutput, DeleteFileError>
[src]

Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file will still exist in the commits prior to the commit that contains the deletion.

fn delete_repository(
    &self,
    input: DeleteRepositoryInput
) -> RusotoFuture<DeleteRepositoryOutput, DeleteRepositoryError>
[src]

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.

fn describe_pull_request_events(
    &self,
    input: DescribePullRequestEventsInput
) -> RusotoFuture<DescribePullRequestEventsOutput, DescribePullRequestEventsError>
[src]

Returns information about one or more pull request events.

fn get_blob(
    &self,
    input: GetBlobInput
) -> RusotoFuture<GetBlobOutput, GetBlobError>
[src]

Returns the base-64 encoded content of an individual blob within a repository.

fn get_branch(
    &self,
    input: GetBranchInput
) -> RusotoFuture<GetBranchOutput, GetBranchError>
[src]

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

fn get_comment(
    &self,
    input: GetCommentInput
) -> RusotoFuture<GetCommentOutput, GetCommentError>
[src]

Returns the content of a comment made on a change, file, or commit in a repository.

fn get_comments_for_compared_commit(
    &self,
    input: GetCommentsForComparedCommitInput
) -> RusotoFuture<GetCommentsForComparedCommitOutput, GetCommentsForComparedCommitError>
[src]

Returns information about comments made on the comparison between two commits.

fn get_comments_for_pull_request(
    &self,
    input: GetCommentsForPullRequestInput
) -> RusotoFuture<GetCommentsForPullRequestOutput, GetCommentsForPullRequestError>
[src]

Returns comments made on a pull request.

fn get_commit(
    &self,
    input: GetCommitInput
) -> RusotoFuture<GetCommitOutput, GetCommitError>
[src]

Returns information about a commit, including commit message and committer information.

fn get_differences(
    &self,
    input: GetDifferencesInput
) -> RusotoFuture<GetDifferencesOutput, GetDifferencesError>
[src]

Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference). Results can be limited to a specified path.

fn get_file(
    &self,
    input: GetFileInput
) -> RusotoFuture<GetFileOutput, GetFileError>
[src]

Returns the base-64 encoded contents of a specified file and its metadata.

fn get_folder(
    &self,
    input: GetFolderInput
) -> RusotoFuture<GetFolderOutput, GetFolderError>
[src]

Returns the contents of a specified folder in a repository.

fn get_merge_conflicts(
    &self,
    input: GetMergeConflictsInput
) -> RusotoFuture<GetMergeConflictsOutput, GetMergeConflictsError>
[src]

Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.

fn get_pull_request(
    &self,
    input: GetPullRequestInput
) -> RusotoFuture<GetPullRequestOutput, GetPullRequestError>
[src]

Gets information about a pull request in a specified repository.

fn get_repository(
    &self,
    input: GetRepositoryInput
) -> RusotoFuture<GetRepositoryOutput, GetRepositoryError>
[src]

Returns 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.

fn get_repository_triggers(
    &self,
    input: GetRepositoryTriggersInput
) -> RusotoFuture<GetRepositoryTriggersOutput, GetRepositoryTriggersError>
[src]

Gets information about triggers configured for a repository.

fn list_branches(
    &self,
    input: ListBranchesInput
) -> RusotoFuture<ListBranchesOutput, ListBranchesError>
[src]

Gets information about one or more branches in a repository.

fn list_pull_requests(
    &self,
    input: ListPullRequestsInput
) -> RusotoFuture<ListPullRequestsOutput, ListPullRequestsError>
[src]

Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.

fn list_repositories(
    &self,
    input: ListRepositoriesInput
) -> RusotoFuture<ListRepositoriesOutput, ListRepositoriesError>
[src]

Gets information about one or more repositories.

fn list_tags_for_resource(
    &self,
    input: ListTagsForResourceInput
) -> RusotoFuture<ListTagsForResourceOutput, ListTagsForResourceError>
[src]

Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.

fn merge_pull_request_by_fast_forward(
    &self,
    input: MergePullRequestByFastForwardInput
) -> RusotoFuture<MergePullRequestByFastForwardOutput, MergePullRequestByFastForwardError>
[src]

Closes a pull request and attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge option.

fn post_comment_for_compared_commit(
    &self,
    input: PostCommentForComparedCommitInput
) -> RusotoFuture<PostCommentForComparedCommitOutput, PostCommentForComparedCommitError>
[src]

Posts a comment on the comparison between two commits.

fn post_comment_for_pull_request(
    &self,
    input: PostCommentForPullRequestInput
) -> RusotoFuture<PostCommentForPullRequestOutput, PostCommentForPullRequestError>
[src]

Posts a comment on a pull request.

fn post_comment_reply(
    &self,
    input: PostCommentReplyInput
) -> RusotoFuture<PostCommentReplyOutput, PostCommentReplyError>
[src]

Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

fn put_file(
    &self,
    input: PutFileInput
) -> RusotoFuture<PutFileOutput, PutFileError>
[src]

Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.

fn put_repository_triggers(
    &self,
    input: PutRepositoryTriggersInput
) -> RusotoFuture<PutRepositoryTriggersOutput, PutRepositoryTriggersError>
[src]

Replaces all triggers for a repository. This can be used to create or delete triggers.

fn tag_resource(
    &self,
    input: TagResourceInput
) -> RusotoFuture<(), TagResourceError>
[src]

Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.

fn test_repository_triggers(
    &self,
    input: TestRepositoryTriggersInput
) -> RusotoFuture<TestRepositoryTriggersOutput, TestRepositoryTriggersError>
[src]

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.

fn untag_resource(
    &self,
    input: UntagResourceInput
) -> RusotoFuture<(), UntagResourceError>
[src]

Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.

fn update_comment(
    &self,
    input: UpdateCommentInput
) -> RusotoFuture<UpdateCommentOutput, UpdateCommentError>
[src]

Replaces the contents of a comment.

fn update_default_branch(
    &self,
    input: UpdateDefaultBranchInput
) -> RusotoFuture<(), UpdateDefaultBranchError>
[src]

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.

fn update_pull_request_description(
    &self,
    input: UpdatePullRequestDescriptionInput
) -> RusotoFuture<UpdatePullRequestDescriptionOutput, UpdatePullRequestDescriptionError>
[src]

Replaces the contents of the description of a pull request.

fn update_pull_request_status(
    &self,
    input: UpdatePullRequestStatusInput
) -> RusotoFuture<UpdatePullRequestStatusOutput, UpdatePullRequestStatusError>
[src]

Updates the status of a pull request.

fn update_pull_request_title(
    &self,
    input: UpdatePullRequestTitleInput
) -> RusotoFuture<UpdatePullRequestTitleOutput, UpdatePullRequestTitleError>
[src]

Replaces the title of a pull request.

fn update_repository_description(
    &self,
    input: UpdateRepositoryDescriptionInput
) -> RusotoFuture<(), UpdateRepositoryDescriptionError>
[src]

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.

fn update_repository_name(
    &self,
    input: UpdateRepositoryNameInput
) -> RusotoFuture<(), UpdateRepositoryNameError>
[src]

Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.

impl Clone for CodeCommitClient[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for CodeCommitClient

impl Sync for CodeCommitClient

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self