/*
* 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
{
///
/// Paginators for the service
///
ICodeBuildPaginatorFactory Paginators { get; }
#region BatchDeleteBuilds
///
/// Deletes one or more builds.
///
/// Container for the necessary parameters to execute the BatchDeleteBuilds service method.
///
/// 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
BatchDeleteBuildsResponse BatchDeleteBuilds(BatchDeleteBuildsRequest request);
///
/// 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, 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.
///
/// 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
BatchGetBuildBatchesResponse BatchGetBuildBatches(BatchGetBuildBatchesRequest request);
///
/// 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, 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.
///
/// 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
BatchGetBuildsResponse BatchGetBuilds(BatchGetBuildsRequest request);
///
/// 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, 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.
///
/// 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
BatchGetProjectsResponse BatchGetProjects(BatchGetProjectsRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchGetReportGroups
///
/// Returns an array of report groups.
///
/// Container for the necessary parameters to execute the BatchGetReportGroups service method.
///
/// 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
BatchGetReportGroupsResponse BatchGetReportGroups(BatchGetReportGroupsRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchGetReports
///
/// Returns an array of reports.
///
/// Container for the necessary parameters to execute the BatchGetReports service method.
///
/// 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
BatchGetReportsResponse BatchGetReports(BatchGetReportsRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateProject
///
/// Creates a build project.
///
/// Container for the necessary parameters to execute the CreateProject service method.
///
/// 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
CreateProjectResponse CreateProject(CreateProjectRequest request);
///
/// 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, 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.
///
/// 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
CreateReportGroupResponse CreateReportGroup(CreateReportGroupRequest request);
///
/// 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, 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.
///
/// 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
CreateWebhookResponse CreateWebhook(CreateWebhookRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteBuildBatch
///
/// Deletes a batch build.
///
/// Container for the necessary parameters to execute the DeleteBuildBatch service method.
///
/// 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
DeleteBuildBatchResponse DeleteBuildBatch(DeleteBuildBatchRequest request);
///
/// 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, 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.
///
/// 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
DeleteProjectResponse DeleteProject(DeleteProjectRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteReport
///
/// Deletes a report.
///
/// Container for the necessary parameters to execute the DeleteReport service method.
///
/// 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
DeleteReportResponse DeleteReport(DeleteReportRequest request);
///
/// 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, 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.
///
/// 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
DeleteReportGroupResponse DeleteReportGroup(DeleteReportGroupRequest request);
///
/// 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, 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.
///
/// 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
DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request);
///
/// 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, 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.
///
/// 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
DeleteSourceCredentialsResponse DeleteSourceCredentials(DeleteSourceCredentialsRequest request);
///
/// 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, 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.
///
/// 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
DeleteWebhookResponse DeleteWebhook(DeleteWebhookRequest request);
///
/// 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, 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.
///
/// 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
DescribeCodeCoveragesResponse DescribeCodeCoverages(DescribeCodeCoveragesRequest request);
///
/// 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, 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.
///
/// 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
DescribeTestCasesResponse DescribeTestCases(DescribeTestCasesRequest request);
///
/// 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, 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.
///
/// 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
GetReportGroupTrendResponse GetReportGroupTrend(GetReportGroupTrendRequest request);
///
/// 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, 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.
///
/// 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
GetResourcePolicyResponse GetResourcePolicy(GetResourcePolicyRequest request);
///
/// 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, 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.
///
/// 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
ImportSourceCredentialsResponse ImportSourceCredentials(ImportSourceCredentialsRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region InvalidateProjectCache
///
/// Resets the cache for a project.
///
/// Container for the necessary parameters to execute the InvalidateProjectCache service method.
///
/// 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
InvalidateProjectCacheResponse InvalidateProjectCache(InvalidateProjectCacheRequest request);
///
/// 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, 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.
///
/// 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
ListBuildBatchesResponse ListBuildBatches(ListBuildBatchesRequest request);
///
/// 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, 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.
///
/// 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
ListBuildBatchesForProjectResponse ListBuildBatchesForProject(ListBuildBatchesForProjectRequest request);
///
/// 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, 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.
///
/// 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
ListBuildsResponse ListBuilds(ListBuildsRequest request);
///
/// 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, 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.
///
/// 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
ListBuildsForProjectResponse ListBuildsForProject(ListBuildsForProjectRequest request);
///
/// 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, 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.
///
/// The response from the ListCuratedEnvironmentImages service method, as returned by CodeBuild.
/// REST API Reference for ListCuratedEnvironmentImages Operation
ListCuratedEnvironmentImagesResponse ListCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest request);
///
/// 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, 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.
///
/// 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
ListProjectsResponse ListProjects(ListProjectsRequest request);
///
/// 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, 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.
///
/// 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
ListReportGroupsResponse ListReportGroups(ListReportGroupsRequest request);
///
/// 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, 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.
///
/// 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
ListReportsResponse ListReports(ListReportsRequest request);
///
/// 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, 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.
///
/// 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
ListReportsForReportGroupResponse ListReportsForReportGroup(ListReportsForReportGroupRequest request);
///
/// 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, 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.
///
/// 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
ListSharedProjectsResponse ListSharedProjects(ListSharedProjectsRequest request);
///
/// 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, 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.
///
/// 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
ListSharedReportGroupsResponse ListSharedReportGroups(ListSharedReportGroupsRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSourceCredentials
///
/// Returns a list of SourceCredentialsInfo
objects.
///
/// Container for the necessary parameters to execute the ListSourceCredentials service method.
///
/// 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
ListSourceCredentialsResponse ListSourceCredentials(ListSourceCredentialsRequest request);
///
/// 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, 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.
///
/// 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
PutResourcePolicyResponse PutResourcePolicy(PutResourcePolicyRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RetryBuild
///
/// Restarts a build.
///
/// Container for the necessary parameters to execute the RetryBuild service method.
///
/// 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
RetryBuildResponse RetryBuild(RetryBuildRequest request);
///
/// 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, 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.
///
/// 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
RetryBuildBatchResponse RetryBuildBatch(RetryBuildBatchRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartBuild
///
/// Starts running a build.
///
/// Container for the necessary parameters to execute the StartBuild service method.
///
/// 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
StartBuildResponse StartBuild(StartBuildRequest request);
///
/// 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, 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.
///
/// 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
StartBuildBatchResponse StartBuildBatch(StartBuildBatchRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopBuild
///
/// Attempts to stop running a build.
///
/// Container for the necessary parameters to execute the StopBuild service method.
///
/// 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
StopBuildResponse StopBuild(StopBuildRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopBuildBatch
///
/// Stops a running batch build.
///
/// Container for the necessary parameters to execute the StopBuildBatch service method.
///
/// 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
StopBuildBatchResponse StopBuildBatch(StopBuildBatchRequest request);
///
/// 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, 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.
///
/// 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
UpdateProjectResponse UpdateProject(UpdateProjectRequest request);
///
/// 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, 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.
///
/// 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
UpdateProjectVisibilityResponse UpdateProjectVisibility(UpdateProjectVisibilityRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateReportGroup
///
/// Updates a report group.
///
/// Container for the necessary parameters to execute the UpdateReportGroup service method.
///
/// 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
UpdateReportGroupResponse UpdateReportGroup(UpdateReportGroupRequest request);
///
/// 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, 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.
///
/// 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
UpdateWebhookResponse UpdateWebhook(UpdateWebhookRequest request);
///
/// 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, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}