[][src]Struct rusoto_codebuild::CodeBuildClient

pub struct CodeBuildClient { /* fields omitted */ }

A client for the AWS CodeBuild API.

Methods

impl CodeBuildClient[src]

pub fn new(region: Region) -> CodeBuildClient[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
) -> CodeBuildClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl CodeBuild for CodeBuildClient[src]

fn batch_delete_builds(
    &self,
    input: BatchDeleteBuildsInput
) -> RusotoFuture<BatchDeleteBuildsOutput, BatchDeleteBuildsError>
[src]

Deletes one or more builds.

fn batch_get_builds(
    &self,
    input: BatchGetBuildsInput
) -> RusotoFuture<BatchGetBuildsOutput, BatchGetBuildsError>
[src]

Gets information about builds.

fn batch_get_projects(
    &self,
    input: BatchGetProjectsInput
) -> RusotoFuture<BatchGetProjectsOutput, BatchGetProjectsError>
[src]

Gets information about build projects.

fn create_project(
    &self,
    input: CreateProjectInput
) -> RusotoFuture<CreateProjectOutput, CreateProjectError>
[src]

Creates a build project.

fn create_webhook(
    &self,
    input: CreateWebhookInput
) -> RusotoFuture<CreateWebhookOutput, CreateWebhookError>
[src]

For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.

If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.

fn delete_project(
    &self,
    input: DeleteProjectInput
) -> RusotoFuture<DeleteProjectOutput, DeleteProjectError>
[src]

Deletes a build project.

fn delete_source_credentials(
    &self,
    input: DeleteSourceCredentialsInput
) -> RusotoFuture<DeleteSourceCredentialsOutput, DeleteSourceCredentialsError>
[src]

Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.

fn delete_webhook(
    &self,
    input: DeleteWebhookInput
) -> RusotoFuture<DeleteWebhookOutput, DeleteWebhookError>
[src]

For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.

fn import_source_credentials(
    &self,
    input: ImportSourceCredentialsInput
) -> RusotoFuture<ImportSourceCredentialsOutput, ImportSourceCredentialsError>
[src]

Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.

fn invalidate_project_cache(
    &self,
    input: InvalidateProjectCacheInput
) -> RusotoFuture<InvalidateProjectCacheOutput, InvalidateProjectCacheError>
[src]

Resets the cache for a project.

fn list_builds(
    &self,
    input: ListBuildsInput
) -> RusotoFuture<ListBuildsOutput, ListBuildsError>
[src]

Gets a list of build IDs, with each build ID representing a single build.

fn list_builds_for_project(
    &self,
    input: ListBuildsForProjectInput
) -> RusotoFuture<ListBuildsForProjectOutput, ListBuildsForProjectError>
[src]

Gets a list of build IDs for the specified build project, with each build ID representing a single build.

fn list_curated_environment_images(
    &self
) -> RusotoFuture<ListCuratedEnvironmentImagesOutput, ListCuratedEnvironmentImagesError>
[src]

Gets information about Docker images that are managed by AWS CodeBuild.

fn list_projects(
    &self,
    input: ListProjectsInput
) -> RusotoFuture<ListProjectsOutput, ListProjectsError>
[src]

Gets a list of build project names, with each build project name representing a single build project.

fn list_source_credentials(
    &self
) -> RusotoFuture<ListSourceCredentialsOutput, ListSourceCredentialsError>
[src]

Returns a list of SourceCredentialsInfo objects.

fn start_build(
    &self,
    input: StartBuildInput
) -> RusotoFuture<StartBuildOutput, StartBuildError>
[src]

Starts running a build.

fn stop_build(
    &self,
    input: StopBuildInput
) -> RusotoFuture<StopBuildOutput, StopBuildError>
[src]

Attempts to stop running a build.

fn update_project(
    &self,
    input: UpdateProjectInput
) -> RusotoFuture<UpdateProjectOutput, UpdateProjectError>
[src]

Changes the settings of a build project.

fn update_webhook(
    &self,
    input: UpdateWebhookInput
) -> RusotoFuture<UpdateWebhookOutput, UpdateWebhookError>
[src]

Updates the webhook associated with an AWS CodeBuild build project.

If you use Bitbucket for your repository, rotateSecret is ignored.

impl Clone for CodeBuildClient[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 CodeBuildClient

impl Sync for CodeBuildClient

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