/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the codebuild-2016-10-06.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.CodeBuild.Model; namespace Amazon.CodeBuild { /// /// Interface for accessing CodeBuild /// /// CodeBuild /// /// CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source /// code, runs unit tests, and produces artifacts that are ready to deploy. 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 CodeBuild to use your own build tools. CodeBuild scales automatically /// to meet peak build requests. You pay only for the build time you consume. For more /// information about CodeBuild, see the CodeBuild /// User Guide. /// /// public partial interface IAmazonCodeBuild : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// ICodeBuildPaginatorFactory Paginators { get; } #endif #region BatchDeleteBuilds /// /// Deletes one or more builds. /// /// Container for the necessary parameters to execute the BatchDeleteBuilds service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchDeleteBuilds service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for BatchDeleteBuilds Operation Task BatchDeleteBuildsAsync(BatchDeleteBuildsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetBuildBatches /// /// Retrieves information about one or more batch builds. /// /// Container for the necessary parameters to execute the BatchGetBuildBatches service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetBuildBatches service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for BatchGetBuildBatches Operation Task BatchGetBuildBatchesAsync(BatchGetBuildBatchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetBuilds /// /// Gets information about one or more builds. /// /// Container for the necessary parameters to execute the BatchGetBuilds service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetBuilds service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for BatchGetBuilds Operation Task BatchGetBuildsAsync(BatchGetBuildsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetProjects /// /// Gets information about one or more build projects. /// /// Container for the necessary parameters to execute the BatchGetProjects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetProjects service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for BatchGetProjects Operation Task BatchGetProjectsAsync(BatchGetProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetReportGroups /// /// Returns an array of report groups. /// /// Container for the necessary parameters to execute the BatchGetReportGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetReportGroups service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for BatchGetReportGroups Operation Task BatchGetReportGroupsAsync(BatchGetReportGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetReports /// /// Returns an array of reports. /// /// Container for the necessary parameters to execute the BatchGetReports service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetReports service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for BatchGetReports Operation Task BatchGetReportsAsync(BatchGetReportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateProject /// /// Creates a build project. /// /// Container for the necessary parameters to execute the CreateProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateProject service method, as returned by CodeBuild. /// /// An Amazon Web Services service limit was exceeded for the calling Amazon Web Services /// account. /// /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be created, because an Amazon Web /// Services resource with the same settings already exists. /// /// REST API Reference for CreateProject Operation Task CreateProjectAsync(CreateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateReportGroup /// /// Creates a report group. A report group contains a collection of reports. /// /// Container for the necessary parameters to execute the CreateReportGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReportGroup service method, as returned by CodeBuild. /// /// An Amazon Web Services service limit was exceeded for the calling Amazon Web Services /// account. /// /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be created, because an Amazon Web /// Services resource with the same settings already exists. /// /// REST API Reference for CreateReportGroup Operation Task CreateReportGroupAsync(CreateReportGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateWebhook /// /// For an existing CodeBuild build project that has its source code stored in a GitHub /// or Bitbucket repository, enables CodeBuild to start rebuilding the source code every /// time a code change is pushed to the repository. /// /// /// /// If you enable webhooks for an CodeBuild project, and the project is used as a build /// step in CodePipeline, then two identical builds are created for each commit. One build /// is triggered through webhooks, and one through CodePipeline. Because billing is on /// a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, /// we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear /// the Webhook box. For more information, see step 5 in Change /// a Build Project's Settings. /// /// /// /// Container for the necessary parameters to execute the CreateWebhook service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateWebhook service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// There was a problem with the underlying OAuth provider. /// /// /// The specified Amazon Web Services resource cannot be created, because an Amazon Web /// Services resource with the same settings already exists. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for CreateWebhook Operation Task CreateWebhookAsync(CreateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBuildBatch /// /// Deletes a batch build. /// /// Container for the necessary parameters to execute the DeleteBuildBatch service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBuildBatch service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for DeleteBuildBatch Operation Task DeleteBuildBatchAsync(DeleteBuildBatchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteProject /// /// Deletes a build project. When you delete a project, its builds are not deleted. /// /// Container for the necessary parameters to execute the DeleteProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteProject service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for DeleteProject Operation Task DeleteProjectAsync(DeleteProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteReport /// /// Deletes a report. /// /// Container for the necessary parameters to execute the DeleteReport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReport service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for DeleteReport Operation Task DeleteReportAsync(DeleteReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteReportGroup /// /// Deletes a report group. Before you delete a report group, you must delete its reports. /// /// Container for the necessary parameters to execute the DeleteReportGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReportGroup service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for DeleteReportGroup Operation Task DeleteReportGroupAsync(DeleteReportGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteResourcePolicy /// /// Deletes a resource policy that is identified by its resource ARN. /// /// Container for the necessary parameters to execute the DeleteResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteResourcePolicy service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for DeleteResourcePolicy Operation Task DeleteResourcePolicyAsync(DeleteResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteSourceCredentials /// /// Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. /// /// Container for the necessary parameters to execute the DeleteSourceCredentials service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSourceCredentials service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for DeleteSourceCredentials Operation Task DeleteSourceCredentialsAsync(DeleteSourceCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteWebhook /// /// For an existing CodeBuild build project that has its source code stored in a GitHub /// or Bitbucket repository, stops CodeBuild from rebuilding the source code every time /// a code change is pushed to the repository. /// /// Container for the necessary parameters to execute the DeleteWebhook service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteWebhook service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// There was a problem with the underlying OAuth provider. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for DeleteWebhook Operation Task DeleteWebhookAsync(DeleteWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeCodeCoverages /// /// Retrieves one or more code coverage reports. /// /// Container for the necessary parameters to execute the DescribeCodeCoverages service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCodeCoverages service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for DescribeCodeCoverages Operation Task DescribeCodeCoveragesAsync(DescribeCodeCoveragesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeTestCases /// /// Returns a list of details about test cases for a report. /// /// Container for the necessary parameters to execute the DescribeTestCases service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTestCases service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for DescribeTestCases Operation Task DescribeTestCasesAsync(DescribeTestCasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetReportGroupTrend /// /// Analyzes and accumulates test report values for the specified test reports. /// /// Container for the necessary parameters to execute the GetReportGroupTrend service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetReportGroupTrend service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for GetReportGroupTrend Operation Task GetReportGroupTrendAsync(GetReportGroupTrendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetResourcePolicy /// /// Gets a resource policy that is identified by its resource ARN. /// /// Container for the necessary parameters to execute the GetResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetResourcePolicy service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for GetResourcePolicy Operation Task GetResourcePolicyAsync(GetResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ImportSourceCredentials /// /// Imports the source repository credentials for an CodeBuild project that has its source /// code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. /// /// Container for the necessary parameters to execute the ImportSourceCredentials service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportSourceCredentials service method, as returned by CodeBuild. /// /// An Amazon Web Services service limit was exceeded for the calling Amazon Web Services /// account. /// /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be created, because an Amazon Web /// Services resource with the same settings already exists. /// /// REST API Reference for ImportSourceCredentials Operation Task ImportSourceCredentialsAsync(ImportSourceCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region InvalidateProjectCache /// /// Resets the cache for a project. /// /// Container for the necessary parameters to execute the InvalidateProjectCache service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the InvalidateProjectCache service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for InvalidateProjectCache Operation Task InvalidateProjectCacheAsync(InvalidateProjectCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListBuildBatches /// /// Retrieves the identifiers of your build batches in the current region. /// /// Container for the necessary parameters to execute the ListBuildBatches service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBuildBatches service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for ListBuildBatches Operation Task ListBuildBatchesAsync(ListBuildBatchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListBuildBatchesForProject /// /// Retrieves the identifiers of the build batches for a specific project. /// /// Container for the necessary parameters to execute the ListBuildBatchesForProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBuildBatchesForProject service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for ListBuildBatchesForProject Operation Task ListBuildBatchesForProjectAsync(ListBuildBatchesForProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListBuilds /// /// Gets a list of build IDs, with each build ID representing a single build. /// /// Container for the necessary parameters to execute the ListBuilds service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBuilds service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for ListBuilds Operation Task ListBuildsAsync(ListBuildsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListBuildsForProject /// /// Gets a list of build identifiers for the specified build project, with each build /// identifier representing a single build. /// /// Container for the necessary parameters to execute the ListBuildsForProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBuildsForProject service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for ListBuildsForProject Operation Task ListBuildsForProjectAsync(ListBuildsForProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListCuratedEnvironmentImages /// /// Gets information about Docker images that are managed by CodeBuild. /// /// Container for the necessary parameters to execute the ListCuratedEnvironmentImages service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCuratedEnvironmentImages service method, as returned by CodeBuild. /// REST API Reference for ListCuratedEnvironmentImages Operation Task ListCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListProjects /// /// Gets a list of build project names, with each build project name representing a single /// build project. /// /// Container for the necessary parameters to execute the ListProjects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProjects service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for ListProjects Operation Task ListProjectsAsync(ListProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListReportGroups /// /// Gets a list ARNs for the report groups in the current Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListReportGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListReportGroups service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for ListReportGroups Operation Task ListReportGroupsAsync(ListReportGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListReports /// /// Returns a list of ARNs for the reports in the current Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListReports service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListReports service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for ListReports Operation Task ListReportsAsync(ListReportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListReportsForReportGroup /// /// Returns a list of ARNs for the reports that belong to a ReportGroup. /// /// Container for the necessary parameters to execute the ListReportsForReportGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListReportsForReportGroup service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for ListReportsForReportGroup Operation Task ListReportsForReportGroupAsync(ListReportsForReportGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSharedProjects /// /// Gets a list of projects that are shared with other Amazon Web Services accounts or /// users. /// /// Container for the necessary parameters to execute the ListSharedProjects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSharedProjects service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for ListSharedProjects Operation Task ListSharedProjectsAsync(ListSharedProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSharedReportGroups /// /// Gets a list of report groups that are shared with other Amazon Web Services accounts /// or users. /// /// Container for the necessary parameters to execute the ListSharedReportGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSharedReportGroups service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for ListSharedReportGroups Operation Task ListSharedReportGroupsAsync(ListSharedReportGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSourceCredentials /// /// Returns a list of SourceCredentialsInfo objects. /// /// Container for the necessary parameters to execute the ListSourceCredentials service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSourceCredentials service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// REST API Reference for ListSourceCredentials Operation Task ListSourceCredentialsAsync(ListSourceCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutResourcePolicy /// /// Stores a resource policy for the ARN of a Project or ReportGroup /// object. /// /// Container for the necessary parameters to execute the PutResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutResourcePolicy service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for PutResourcePolicy Operation Task PutResourcePolicyAsync(PutResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RetryBuild /// /// Restarts a build. /// /// Container for the necessary parameters to execute the RetryBuild service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RetryBuild service method, as returned by CodeBuild. /// /// An Amazon Web Services service limit was exceeded for the calling Amazon Web Services /// account. /// /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for RetryBuild Operation Task RetryBuildAsync(RetryBuildRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RetryBuildBatch /// /// Restarts a failed batch build. Only batch builds that have failed can be retried. /// /// Container for the necessary parameters to execute the RetryBuildBatch service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RetryBuildBatch service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for RetryBuildBatch Operation Task RetryBuildBatchAsync(RetryBuildBatchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartBuild /// /// Starts running a build. /// /// Container for the necessary parameters to execute the StartBuild service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartBuild service method, as returned by CodeBuild. /// /// An Amazon Web Services service limit was exceeded for the calling Amazon Web Services /// account. /// /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for StartBuild Operation Task StartBuildAsync(StartBuildRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartBuildBatch /// /// Starts a batch build for a project. /// /// Container for the necessary parameters to execute the StartBuildBatch service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartBuildBatch service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for StartBuildBatch Operation Task StartBuildBatchAsync(StartBuildBatchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopBuild /// /// Attempts to stop running a build. /// /// Container for the necessary parameters to execute the StopBuild service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopBuild service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for StopBuild Operation Task StopBuildAsync(StopBuildRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopBuildBatch /// /// Stops a running batch build. /// /// Container for the necessary parameters to execute the StopBuildBatch service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopBuildBatch service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for StopBuildBatch Operation Task StopBuildBatchAsync(StopBuildBatchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateProject /// /// Changes the settings of a build project. /// /// Container for the necessary parameters to execute the UpdateProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateProject service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for UpdateProject Operation Task UpdateProjectAsync(UpdateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateProjectVisibility /// /// Changes the public visibility for a project. The project's build results, logs, and /// artifacts are available to the general public. For more information, see Public /// build projects in the CodeBuild User Guide. /// /// /// /// The following should be kept in mind when making your projects public: /// ///
  • /// /// All of a project's build results, logs, and artifacts, including builds that were /// run when the project was private, are available to the general public. /// ///
  • /// /// All build logs and artifacts are available to the public. Environment variables, source /// code, and other sensitive information may have been output to the build logs and artifacts. /// You must be careful about what information is output to the build logs. Some best /// practice are: /// ///
    • /// /// Do not store sensitive values, especially Amazon Web Services access key IDs and secret /// access keys, in environment variables. We recommend that you use an Amazon EC2 Systems /// Manager Parameter Store or Secrets Manager to store sensitive values. /// ///
    • /// /// Follow Best /// practices for using webhooks in the CodeBuild User Guide to limit which /// entities can trigger a build, and do not store the buildspec in the project itself, /// to ensure that your webhooks are as secure as possible. /// ///
  • /// /// A malicious user can use public builds to distribute malicious artifacts. We recommend /// that you review all pull requests to verify that the pull request is a legitimate /// change. We also recommend that you validate any artifacts with their checksums to /// make sure that the correct artifacts are being downloaded. /// ///
///
/// Container for the necessary parameters to execute the UpdateProjectVisibility service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateProjectVisibility service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for UpdateProjectVisibility Operation Task UpdateProjectVisibilityAsync(UpdateProjectVisibilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateReportGroup /// /// Updates a report group. /// /// Container for the necessary parameters to execute the UpdateReportGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateReportGroup service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for UpdateReportGroup Operation Task UpdateReportGroupAsync(UpdateReportGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateWebhook /// /// Updates the webhook associated with an CodeBuild build project. /// /// /// /// If you use Bitbucket for your repository, rotateSecret is ignored. /// /// /// /// Container for the necessary parameters to execute the UpdateWebhook service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateWebhook service method, as returned by CodeBuild. /// /// The input value that was provided is not valid. /// /// /// There was a problem with the underlying OAuth provider. /// /// /// The specified Amazon Web Services resource cannot be found. /// /// REST API Reference for UpdateWebhook Operation Task UpdateWebhookAsync(UpdateWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }