Trait CodeBuild

Source
pub trait CodeBuild {
Show 34 methods // Required methods fn batch_delete_builds<'life0, 'async_trait>( &'life0 self, input: BatchDeleteBuildsInput, ) -> Pin<Box<dyn Future<Output = Result<BatchDeleteBuildsOutput, RusotoError<BatchDeleteBuildsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn batch_get_builds<'life0, 'async_trait>( &'life0 self, input: BatchGetBuildsInput, ) -> Pin<Box<dyn Future<Output = Result<BatchGetBuildsOutput, RusotoError<BatchGetBuildsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn batch_get_projects<'life0, 'async_trait>( &'life0 self, input: BatchGetProjectsInput, ) -> Pin<Box<dyn Future<Output = Result<BatchGetProjectsOutput, RusotoError<BatchGetProjectsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; 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 Self: 'async_trait, 'life0: 'async_trait; fn batch_get_reports<'life0, 'async_trait>( &'life0 self, input: BatchGetReportsInput, ) -> Pin<Box<dyn Future<Output = Result<BatchGetReportsOutput, RusotoError<BatchGetReportsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_project<'life0, 'async_trait>( &'life0 self, input: CreateProjectInput, ) -> Pin<Box<dyn Future<Output = Result<CreateProjectOutput, RusotoError<CreateProjectError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_report_group<'life0, 'async_trait>( &'life0 self, input: CreateReportGroupInput, ) -> Pin<Box<dyn Future<Output = Result<CreateReportGroupOutput, RusotoError<CreateReportGroupError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_webhook<'life0, 'async_trait>( &'life0 self, input: CreateWebhookInput, ) -> Pin<Box<dyn Future<Output = Result<CreateWebhookOutput, RusotoError<CreateWebhookError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_project<'life0, 'async_trait>( &'life0 self, input: DeleteProjectInput, ) -> Pin<Box<dyn Future<Output = Result<DeleteProjectOutput, RusotoError<DeleteProjectError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_report<'life0, 'async_trait>( &'life0 self, input: DeleteReportInput, ) -> Pin<Box<dyn Future<Output = Result<DeleteReportOutput, RusotoError<DeleteReportError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_report_group<'life0, 'async_trait>( &'life0 self, input: DeleteReportGroupInput, ) -> Pin<Box<dyn Future<Output = Result<DeleteReportGroupOutput, RusotoError<DeleteReportGroupError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_resource_policy<'life0, 'async_trait>( &'life0 self, input: DeleteResourcePolicyInput, ) -> Pin<Box<dyn Future<Output = Result<DeleteResourcePolicyOutput, RusotoError<DeleteResourcePolicyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_source_credentials<'life0, 'async_trait>( &'life0 self, input: DeleteSourceCredentialsInput, ) -> Pin<Box<dyn Future<Output = Result<DeleteSourceCredentialsOutput, RusotoError<DeleteSourceCredentialsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_webhook<'life0, 'async_trait>( &'life0 self, input: DeleteWebhookInput, ) -> Pin<Box<dyn Future<Output = Result<DeleteWebhookOutput, RusotoError<DeleteWebhookError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn describe_test_cases<'life0, 'async_trait>( &'life0 self, input: DescribeTestCasesInput, ) -> Pin<Box<dyn Future<Output = Result<DescribeTestCasesOutput, RusotoError<DescribeTestCasesError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_resource_policy<'life0, 'async_trait>( &'life0 self, input: GetResourcePolicyInput, ) -> Pin<Box<dyn Future<Output = Result<GetResourcePolicyOutput, RusotoError<GetResourcePolicyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn import_source_credentials<'life0, 'async_trait>( &'life0 self, input: ImportSourceCredentialsInput, ) -> Pin<Box<dyn Future<Output = Result<ImportSourceCredentialsOutput, RusotoError<ImportSourceCredentialsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn invalidate_project_cache<'life0, 'async_trait>( &'life0 self, input: InvalidateProjectCacheInput, ) -> Pin<Box<dyn Future<Output = Result<InvalidateProjectCacheOutput, RusotoError<InvalidateProjectCacheError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_builds<'life0, 'async_trait>( &'life0 self, input: ListBuildsInput, ) -> Pin<Box<dyn Future<Output = Result<ListBuildsOutput, RusotoError<ListBuildsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; 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 Self: 'async_trait, 'life0: 'async_trait; fn list_curated_environment_images<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ListCuratedEnvironmentImagesOutput, RusotoError<ListCuratedEnvironmentImagesError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_projects<'life0, 'async_trait>( &'life0 self, input: ListProjectsInput, ) -> Pin<Box<dyn Future<Output = Result<ListProjectsOutput, RusotoError<ListProjectsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_report_groups<'life0, 'async_trait>( &'life0 self, input: ListReportGroupsInput, ) -> Pin<Box<dyn Future<Output = Result<ListReportGroupsOutput, RusotoError<ListReportGroupsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_reports<'life0, 'async_trait>( &'life0 self, input: ListReportsInput, ) -> Pin<Box<dyn Future<Output = Result<ListReportsOutput, RusotoError<ListReportsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; 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 Self: 'async_trait, 'life0: 'async_trait; fn list_shared_projects<'life0, 'async_trait>( &'life0 self, input: ListSharedProjectsInput, ) -> Pin<Box<dyn Future<Output = Result<ListSharedProjectsOutput, RusotoError<ListSharedProjectsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; 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 Self: 'async_trait, 'life0: 'async_trait; fn list_source_credentials<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ListSourceCredentialsOutput, RusotoError<ListSourceCredentialsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn put_resource_policy<'life0, 'async_trait>( &'life0 self, input: PutResourcePolicyInput, ) -> Pin<Box<dyn Future<Output = Result<PutResourcePolicyOutput, RusotoError<PutResourcePolicyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn start_build<'life0, 'async_trait>( &'life0 self, input: StartBuildInput, ) -> Pin<Box<dyn Future<Output = Result<StartBuildOutput, RusotoError<StartBuildError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn stop_build<'life0, 'async_trait>( &'life0 self, input: StopBuildInput, ) -> Pin<Box<dyn Future<Output = Result<StopBuildOutput, RusotoError<StopBuildError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_project<'life0, 'async_trait>( &'life0 self, input: UpdateProjectInput, ) -> Pin<Box<dyn Future<Output = Result<UpdateProjectOutput, RusotoError<UpdateProjectError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_report_group<'life0, 'async_trait>( &'life0 self, input: UpdateReportGroupInput, ) -> Pin<Box<dyn Future<Output = Result<UpdateReportGroupOutput, RusotoError<UpdateReportGroupError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_webhook<'life0, 'async_trait>( &'life0 self, input: UpdateWebhookInput, ) -> Pin<Box<dyn Future<Output = Result<UpdateWebhookOutput, RusotoError<UpdateWebhookError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}
Expand description

Trait representing the capabilities of the AWS CodeBuild API. AWS CodeBuild clients implement this trait.

Required Methods§

Source

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

Deletes one or more builds.

Source

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

Gets information about one or more builds.

Source

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

Gets information about one or more build projects.

Source

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 Self: 'async_trait, 'life0: 'async_trait,

Returns an array of report groups.

Source

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

Returns an array of reports.

Source

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

Creates a build project.

Source

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

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

Source

fn create_webhook<'life0, 'async_trait>( &'life0 self, input: CreateWebhookInput, ) -> Pin<Box<dyn Future<Output = Result<CreateWebhookOutput, RusotoError<CreateWebhookError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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.

Source

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

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

Source

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

Deletes a report.

Source

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

DeleteReportGroup: Deletes a report group. Before you delete a report group, you must delete its reports. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call DeleteReportGroup for a report group that contains one or more reports, an exception is thrown.

Source

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

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

Source

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

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

Source

fn delete_webhook<'life0, 'async_trait>( &'life0 self, input: DeleteWebhookInput, ) -> Pin<Box<dyn Future<Output = Result<DeleteWebhookOutput, RusotoError<DeleteWebhookError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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.

Source

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

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

Source

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

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

Source

fn import_source_credentials<'life0, 'async_trait>( &'life0 self, input: ImportSourceCredentialsInput, ) -> Pin<Box<dyn Future<Output = Result<ImportSourceCredentialsOutput, RusotoError<ImportSourceCredentialsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source

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

Resets the cache for a project.

Source

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

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

Source

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 Self: 'async_trait, 'life0: 'async_trait,

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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 Self: 'async_trait, 'life0: 'async_trait,

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

Source

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

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

Source

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 Self: 'async_trait, 'life0: 'async_trait,

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

Source

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

Returns a list of SourceCredentialsInfo objects.

Source

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

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

Source

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

Starts running a build.

Source

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

Attempts to stop running a build.

Source

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

Changes the settings of a build project.

Source

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

Updates a report group.

Source

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

Updates the webhook associated with an AWS CodeBuild build project.

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

Implementors§