[][src]Struct rusoto_codebuild::CodeBuildClient

pub struct CodeBuildClient { /* fields omitted */ }

A client for the AWS CodeBuild API.

Implementations

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,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> CodeBuildClient[src]

Trait Implementations

impl Clone for CodeBuildClient[src]

impl CodeBuild for CodeBuildClient[src]

pub fn batch_delete_builds<'life0, 'async_trait>(
    &'life0 self,
    input: BatchDeleteBuildsInput
) -> Pin<Box<dyn Future<Output = Result<BatchDeleteBuildsOutput, RusotoError<BatchDeleteBuildsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes one or more builds.

pub fn batch_get_build_batches<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGetBuildBatchesInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetBuildBatchesOutput, RusotoError<BatchGetBuildBatchesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves information about one or more batch builds.

pub fn batch_get_builds<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGetBuildsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetBuildsOutput, RusotoError<BatchGetBuildsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets information about one or more builds.

pub fn batch_get_projects<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGetProjectsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetProjectsOutput, RusotoError<BatchGetProjectsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets information about one or more build projects.

pub fn batch_get_report_groups<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGetReportGroupsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetReportGroupsOutput, RusotoError<BatchGetReportGroupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns an array of report groups.

pub fn batch_get_reports<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGetReportsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetReportsOutput, RusotoError<BatchGetReportsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns an array of reports.

pub fn create_project<'life0, 'async_trait>(
    &'life0 self,
    input: CreateProjectInput
) -> Pin<Box<dyn Future<Output = Result<CreateProjectOutput, RusotoError<CreateProjectError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a build project.

pub fn create_report_group<'life0, 'async_trait>(
    &'life0 self,
    input: CreateReportGroupInput
) -> Pin<Box<dyn Future<Output = Result<CreateReportGroupOutput, RusotoError<CreateReportGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a report group. A report group contains a collection of reports.

pub fn create_webhook<'life0, 'async_trait>(
    &'life0 self,
    input: CreateWebhookInput
) -> Pin<Box<dyn Future<Output = Result<CreateWebhookOutput, RusotoError<CreateWebhookError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

pub fn delete_build_batch<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteBuildBatchInput
) -> Pin<Box<dyn Future<Output = Result<DeleteBuildBatchOutput, RusotoError<DeleteBuildBatchError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a batch build.

pub fn delete_project<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteProjectInput
) -> Pin<Box<dyn Future<Output = Result<DeleteProjectOutput, RusotoError<DeleteProjectError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a build project. When you delete a project, its builds are not deleted.

pub fn delete_report<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteReportInput
) -> Pin<Box<dyn Future<Output = Result<DeleteReportOutput, RusotoError<DeleteReportError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a report.

pub fn delete_report_group<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteReportGroupInput
) -> Pin<Box<dyn Future<Output = Result<DeleteReportGroupOutput, RusotoError<DeleteReportGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a report group. Before you delete a report group, you must delete its reports.

pub fn delete_resource_policy<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteResourcePolicyInput
) -> Pin<Box<dyn Future<Output = Result<DeleteResourcePolicyOutput, RusotoError<DeleteResourcePolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a resource policy that is identified by its resource ARN.

pub fn delete_source_credentials<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteSourceCredentialsInput
) -> Pin<Box<dyn Future<Output = Result<DeleteSourceCredentialsOutput, RusotoError<DeleteSourceCredentialsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn delete_webhook<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteWebhookInput
) -> Pin<Box<dyn Future<Output = Result<DeleteWebhookOutput, RusotoError<DeleteWebhookError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

pub fn describe_code_coverages<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeCodeCoveragesInput
) -> Pin<Box<dyn Future<Output = Result<DescribeCodeCoveragesOutput, RusotoError<DescribeCodeCoveragesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves one or more code coverage reports.

pub fn describe_test_cases<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeTestCasesInput
) -> Pin<Box<dyn Future<Output = Result<DescribeTestCasesOutput, RusotoError<DescribeTestCasesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of details about test cases for a report.

pub fn get_resource_policy<'life0, 'async_trait>(
    &'life0 self,
    input: GetResourcePolicyInput
) -> Pin<Box<dyn Future<Output = Result<GetResourcePolicyOutput, RusotoError<GetResourcePolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets a resource policy that is identified by its resource ARN.

pub fn import_source_credentials<'life0, 'async_trait>(
    &'life0 self,
    input: ImportSourceCredentialsInput
) -> Pin<Box<dyn Future<Output = Result<ImportSourceCredentialsOutput, RusotoError<ImportSourceCredentialsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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.

pub fn invalidate_project_cache<'life0, 'async_trait>(
    &'life0 self,
    input: InvalidateProjectCacheInput
) -> Pin<Box<dyn Future<Output = Result<InvalidateProjectCacheOutput, RusotoError<InvalidateProjectCacheError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Resets the cache for a project.

pub fn list_build_batches<'life0, 'async_trait>(
    &'life0 self,
    input: ListBuildBatchesInput
) -> Pin<Box<dyn Future<Output = Result<ListBuildBatchesOutput, RusotoError<ListBuildBatchesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the identifiers of your build batches in the current region.

pub fn list_build_batches_for_project<'life0, 'async_trait>(
    &'life0 self,
    input: ListBuildBatchesForProjectInput
) -> Pin<Box<dyn Future<Output = Result<ListBuildBatchesForProjectOutput, RusotoError<ListBuildBatchesForProjectError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the identifiers of the build batches for a specific project.

pub fn list_builds<'life0, 'async_trait>(
    &'life0 self,
    input: ListBuildsInput
) -> Pin<Box<dyn Future<Output = Result<ListBuildsOutput, RusotoError<ListBuildsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn list_builds_for_project<'life0, 'async_trait>(
    &'life0 self,
    input: ListBuildsForProjectInput
) -> Pin<Box<dyn Future<Output = Result<ListBuildsForProjectOutput, RusotoError<ListBuildsForProjectError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn list_curated_environment_images<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<ListCuratedEnvironmentImagesOutput, RusotoError<ListCuratedEnvironmentImagesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn list_projects<'life0, 'async_trait>(
    &'life0 self,
    input: ListProjectsInput
) -> Pin<Box<dyn Future<Output = Result<ListProjectsOutput, RusotoError<ListProjectsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn list_report_groups<'life0, 'async_trait>(
    &'life0 self,
    input: ListReportGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListReportGroupsOutput, RusotoError<ListReportGroupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets a list ARNs for the report groups in the current AWS account.

pub fn list_reports<'life0, 'async_trait>(
    &'life0 self,
    input: ListReportsInput
) -> Pin<Box<dyn Future<Output = Result<ListReportsOutput, RusotoError<ListReportsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of ARNs for the reports in the current AWS account.

pub fn list_reports_for_report_group<'life0, 'async_trait>(
    &'life0 self,
    input: ListReportsForReportGroupInput
) -> Pin<Box<dyn Future<Output = Result<ListReportsForReportGroupOutput, RusotoError<ListReportsForReportGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of ARNs for the reports that belong to a ReportGroup.

pub fn list_shared_projects<'life0, 'async_trait>(
    &'life0 self,
    input: ListSharedProjectsInput
) -> Pin<Box<dyn Future<Output = Result<ListSharedProjectsOutput, RusotoError<ListSharedProjectsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets a list of projects that are shared with other AWS accounts or users.

pub fn list_shared_report_groups<'life0, 'async_trait>(
    &'life0 self,
    input: ListSharedReportGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListSharedReportGroupsOutput, RusotoError<ListSharedReportGroupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets a list of report groups that are shared with other AWS accounts or users.

pub fn list_source_credentials<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<ListSourceCredentialsOutput, RusotoError<ListSourceCredentialsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of SourceCredentialsInfo objects.

pub fn put_resource_policy<'life0, 'async_trait>(
    &'life0 self,
    input: PutResourcePolicyInput
) -> Pin<Box<dyn Future<Output = Result<PutResourcePolicyOutput, RusotoError<PutResourcePolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Stores a resource policy for the ARN of a Project or ReportGroup object.

pub fn retry_build<'life0, 'async_trait>(
    &'life0 self,
    input: RetryBuildInput
) -> Pin<Box<dyn Future<Output = Result<RetryBuildOutput, RusotoError<RetryBuildError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Restarts a build.

pub fn retry_build_batch<'life0, 'async_trait>(
    &'life0 self,
    input: RetryBuildBatchInput
) -> Pin<Box<dyn Future<Output = Result<RetryBuildBatchOutput, RusotoError<RetryBuildBatchError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Restarts a failed batch build. Only batch builds that have failed can be retried.

pub fn start_build<'life0, 'async_trait>(
    &'life0 self,
    input: StartBuildInput
) -> Pin<Box<dyn Future<Output = Result<StartBuildOutput, RusotoError<StartBuildError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Starts running a build.

pub fn start_build_batch<'life0, 'async_trait>(
    &'life0 self,
    input: StartBuildBatchInput
) -> Pin<Box<dyn Future<Output = Result<StartBuildBatchOutput, RusotoError<StartBuildBatchError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Starts a batch build for a project.

pub fn stop_build<'life0, 'async_trait>(
    &'life0 self,
    input: StopBuildInput
) -> Pin<Box<dyn Future<Output = Result<StopBuildOutput, RusotoError<StopBuildError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Attempts to stop running a build.

pub fn stop_build_batch<'life0, 'async_trait>(
    &'life0 self,
    input: StopBuildBatchInput
) -> Pin<Box<dyn Future<Output = Result<StopBuildBatchOutput, RusotoError<StopBuildBatchError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Stops a running batch build.

pub fn update_project<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateProjectInput
) -> Pin<Box<dyn Future<Output = Result<UpdateProjectOutput, RusotoError<UpdateProjectError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Changes the settings of a build project.

pub fn update_report_group<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateReportGroupInput
) -> Pin<Box<dyn Future<Output = Result<UpdateReportGroupOutput, RusotoError<UpdateReportGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a report group.

pub fn update_webhook<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateWebhookInput
) -> Pin<Box<dyn Future<Output = Result<UpdateWebhookOutput, RusotoError<UpdateWebhookError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the webhook associated with an AWS CodeBuild build project.

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

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.