/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include AWS CodeBuild is a fully managed build
* service in the cloud. AWS CodeBuild compiles your source code, runs unit tests,
* and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the
* need to provision, manage, and scale your own build servers. It provides
* prepackaged build environments for the most popular programming languages and
* build tools, such as Apache Maven, Gradle, and more. You can also fully
* customize build environments in AWS CodeBuild to use your own build tools. AWS
* CodeBuild scales automatically to meet peak build requests. You pay only for the
* build time you consume. For more information about AWS CodeBuild, see the AWS
* CodeBuild User Guide. AWS CodeBuild supports these
* operations:
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* Deletes one or more builds.
*/
class AWS_CODEBUILD_API CodeBuildClient : public Aws::Client::AWSJsonClient
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
CodeBuildClient(const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
CodeBuildClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
CodeBuildClient(const std::shared_ptrBatchDeleteBuilds: Deletes one or
* more builds.BatchGetBuilds: Gets information
* about one or more builds.BatchGetProjects: Gets
* information about one or more build projects. A build project defines how
* AWS CodeBuild runs a build. This includes information such as where to get the
* source code to build, the build environment to use, the build commands to run,
* and where to store the build output. A build environment is a
* representation of operating system, programming language runtime, and tools that
* AWS CodeBuild uses to run a build. You can add tags to build projects to help
* manage your resources and costs.BatchGetReportGroups: Returns an array of report groups. BatchGetReports: Returns an array of reports. CreateProject: Creates a build project.CreateReportGroup: Creates a report group. A report group contains
* a collection of reports. CreateWebhook: 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.DeleteProject: Deletes a build project.DeleteReport: Deletes a report. DeleteReportGroup: Deletes a report group. DeleteResourcePolicy: Deletes a resource policy that is identified
* by its resource ARN. DeleteSourceCredentials:
* Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.DeleteWebhook: 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.DescribeTestCases:
* Returns a list of details about test cases for a report. GetResourcePolicy: Gets a resource policy that is identified by its
* resource ARN. ImportSourceCredentials: Imports
* the source repository credentials for an AWS CodeBuild project that has its
* source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.InvalidateProjectCache: Resets the cache for a
* project.ListBuilds: Gets a list of build IDs,
* with each build ID representing a single build.ListBuildsForProject: Gets a list of build IDs for the specified
* build project, with each build ID representing a single build.ListCuratedEnvironmentImages: Gets information about Docker
* images that are managed by AWS CodeBuild.ListProjects: Gets a list of build project names, with each build
* project name representing a single build project.ListReportGroups: Gets a list ARNs for the report groups in the
* current AWS account. ListReports: Gets a list
* ARNs for the reports in the current AWS account. ListReportsForReportGroup: Returns a list of ARNs for the reports
* that belong to a ReportGroup. ListSharedProjects: Gets a list of ARNs associated with projects
* shared with the current AWS account or user.ListSharedReportGroups: Gets a list of ARNs associated with report
* groups shared with the current AWS account or userListSourceCredentials: Returns a list of
* SourceCredentialsInfo objects. Each
* SourceCredentialsInfo object includes the authentication type,
* token ARN, and type of source provider for one set of credentials.PutResourcePolicy: Stores a resource policy for the ARN of
* a Project or ReportGroup object. StartBuild: Starts running a build.StopBuild: Attempts to stop running a build.UpdateProject: Changes the settings of an existing build
* project.UpdateReportGroup: Changes a report
* group.UpdateWebhook: Changes the settings of an
* existing webhook.See Also:
AWS
* API Reference
Deletes one or more builds.
Deletes one or more builds.
Retrieves information about one or more batch builds.
Retrieves information about one or more batch builds.
Retrieves information about one or more batch builds.
Gets information about one or more builds.
Gets information about one or more builds.
Gets information about one or more builds.
Gets information about one or more build projects.
Gets information about one or more build projects.
Gets information about one or more build projects.
Returns an array of report groups.
Returns an array of report groups.
Returns an array of report groups.
Returns an array of reports.
Returns an array of reports.
Returns an array of reports.
Creates a build project.
Creates a build project.
Creates a build project.
Creates a report group. A report group contains a collection of reports. *
Creates a report group. A report group contains a collection of reports. *
Creates a report group. A report group contains a collection of reports. *
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.
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.
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.
Deletes a batch build.
Deletes a batch build.
Deletes a batch build.
Deletes a build project. When you delete a project, its builds are not * deleted.
Deletes a build project. When you delete a project, its builds are not * deleted.
Deletes a build project. When you delete a project, its builds are not * deleted.
Deletes a report.
Deletes a report.
Deletes a report.
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.
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.
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.
Deletes a resource policy that is identified by its resource ARN. *
Deletes a resource policy that is identified by its resource ARN. *
Deletes a resource policy that is identified by its resource ARN. *
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. *
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. *
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. *
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.
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.
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.
Retrieves one or more code coverage reports.
Retrieves one or more code coverage reports.
Retrieves one or more code coverage reports.
Returns a list of details about test cases for a report.
Returns a list of details about test cases for a report.
Returns a list of details about test cases for a report.
Gets a resource policy that is identified by its resource ARN. *
Gets a resource policy that is identified by its resource ARN. *
Gets a resource policy that is identified by its resource ARN. *
Imports the source repository credentials for an AWS CodeBuild project that * has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket * repository.
Imports the source repository credentials for an AWS CodeBuild project that * has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket * repository.
Imports the source repository credentials for an AWS CodeBuild project that * has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket * repository.
Resets the cache for a project.
Resets the cache for a project.
Resets the cache for a project.
Retrieves the identifiers of your build batches in the current * region.
Retrieves the identifiers of your build batches in the current * region.
Retrieves the identifiers of your build batches in the current * region.
Retrieves the identifiers of the build batches for a specific * project.
Retrieves the identifiers of the build batches for a specific * project.
Retrieves the identifiers of the build batches for a specific * project.
Gets a list of build IDs, with each build ID representing a single * build.
Gets a list of build IDs, with each build ID representing a single * build.
Gets a list of build IDs, with each build ID representing a single * build.
Gets a list of build IDs for the specified build project, with each build ID * representing a single build.
Gets a list of build IDs for the specified build project, with each build ID * representing a single build.
Gets a list of build IDs for the specified build project, with each build ID * representing a single build.
Gets information about Docker images that are managed by AWS * CodeBuild.
Gets information about Docker images that are managed by AWS * CodeBuild.
Gets information about Docker images that are managed by AWS * CodeBuild.
Gets a list of build project names, with each build project name representing * a single build project.
Gets a list of build project names, with each build project name representing * a single build project.
Gets a list of build project names, with each build project name representing * a single build project.
Gets a list ARNs for the report groups in the current AWS account. *
Gets a list ARNs for the report groups in the current AWS account. *
Gets a list ARNs for the report groups in the current AWS account. *
Returns a list of ARNs for the reports in the current AWS account. *
Returns a list of ARNs for the reports in the current AWS account. *
Returns a list of ARNs for the reports in the current AWS account. *
Returns a list of ARNs for the reports that belong to a
* ReportGroup.
Returns a list of ARNs for the reports that belong to a
* ReportGroup.
Returns a list of ARNs for the reports that belong to a
* ReportGroup.
Gets a list of projects that are shared with other AWS accounts or users. *
Gets a list of projects that are shared with other AWS accounts or users. *
Gets a list of projects that are shared with other AWS accounts or users. *
Gets a list of report groups that are shared with other AWS accounts or * users.
Gets a list of report groups that are shared with other AWS accounts or * users.
Gets a list of report groups that are shared with other AWS accounts or * users.
Returns a list of SourceCredentialsInfo objects.
Returns a list of SourceCredentialsInfo objects.
Returns a list of SourceCredentialsInfo objects.
Stores a resource policy for the ARN of a Project or
* ReportGroup object.
Stores a resource policy for the ARN of a Project or
* ReportGroup object.
Stores a resource policy for the ARN of a Project or
* ReportGroup object.
Restarts a build.
Restarts a build.
Restarts a build.
Restarts a batch build.
Restarts a batch build.
Restarts a batch build.
Starts running a build.
Starts running a build.
Starts running a build.
Starts a batch build for a project.
Starts a batch build for a project.
Starts a batch build for a project.
Attempts to stop running a build.
Attempts to stop running a build.
Attempts to stop running a build.
Stops a running batch build.
Stops a running batch build.
Stops a running batch build.
Changes the settings of a build project.
Changes the settings of a build project.
Changes the settings of a build project.
Updates a report group.
Updates a report group.
Updates a report group.
Updates the webhook associated with an AWS CodeBuild build project.
* If you use Bitbucket for your repository, rotateSecret
* is ignored.
Updates the webhook associated with an AWS CodeBuild build project.
* If you use Bitbucket for your repository, rotateSecret
* is ignored.
Updates the webhook associated with an AWS CodeBuild build project.
* If you use Bitbucket for your repository, rotateSecret
* is ignored.