/* * 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.Collections.Generic; using System.Net; using Amazon.CodeBuild.Model; using Amazon.CodeBuild.Model.Internal.MarshallTransformations; using Amazon.CodeBuild.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.CodeBuild { /// /// Implementation 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 class AmazonCodeBuildClient : AmazonServiceClient, IAmazonCodeBuild { private static IServiceMetadata serviceMetadata = new AmazonCodeBuildMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private ICodeBuildPaginatorFactory _paginators; /// /// Paginators for the service /// public ICodeBuildPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new CodeBuildPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonCodeBuildClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonCodeBuildClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCodeBuildConfig()) { } /// /// Constructs AmazonCodeBuildClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonCodeBuildClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCodeBuildConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodeBuildClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonCodeBuildClient Configuration Object public AmazonCodeBuildClient(AmazonCodeBuildConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonCodeBuildClient with AWS Credentials /// /// AWS Credentials public AmazonCodeBuildClient(AWSCredentials credentials) : this(credentials, new AmazonCodeBuildConfig()) { } /// /// Constructs AmazonCodeBuildClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonCodeBuildClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonCodeBuildConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodeBuildClient with AWS Credentials and an /// AmazonCodeBuildClient Configuration object. /// /// AWS Credentials /// The AmazonCodeBuildClient Configuration Object public AmazonCodeBuildClient(AWSCredentials credentials, AmazonCodeBuildConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonCodeBuildClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonCodeBuildClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCodeBuildConfig()) { } /// /// Constructs AmazonCodeBuildClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonCodeBuildClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCodeBuildConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonCodeBuildClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCodeBuildClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonCodeBuildClient Configuration Object public AmazonCodeBuildClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCodeBuildConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonCodeBuildClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonCodeBuildClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCodeBuildConfig()) { } /// /// Constructs AmazonCodeBuildClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonCodeBuildClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCodeBuildConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodeBuildClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCodeBuildClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonCodeBuildClient Configuration Object public AmazonCodeBuildClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCodeBuildConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonCodeBuildEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #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 public virtual BatchDeleteBuildsResponse BatchDeleteBuilds(BatchDeleteBuildsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDeleteBuildsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDeleteBuildsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchDeleteBuilds operation. /// /// /// Container for the necessary parameters to execute the BatchDeleteBuilds operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchDeleteBuilds /// operation. /// REST API Reference for BatchDeleteBuilds Operation public virtual IAsyncResult BeginBatchDeleteBuilds(BatchDeleteBuildsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDeleteBuildsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDeleteBuildsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchDeleteBuilds operation. /// /// /// The IAsyncResult returned by the call to BeginBatchDeleteBuilds. /// /// Returns a BatchDeleteBuildsResult from CodeBuild. /// REST API Reference for BatchDeleteBuilds Operation public virtual BatchDeleteBuildsResponse EndBatchDeleteBuilds(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual BatchGetBuildBatchesResponse BatchGetBuildBatches(BatchGetBuildBatchesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetBuildBatchesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetBuildBatchesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetBuildBatches operation. /// /// /// Container for the necessary parameters to execute the BatchGetBuildBatches operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetBuildBatches /// operation. /// REST API Reference for BatchGetBuildBatches Operation public virtual IAsyncResult BeginBatchGetBuildBatches(BatchGetBuildBatchesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetBuildBatchesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetBuildBatchesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetBuildBatches operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetBuildBatches. /// /// Returns a BatchGetBuildBatchesResult from CodeBuild. /// REST API Reference for BatchGetBuildBatches Operation public virtual BatchGetBuildBatchesResponse EndBatchGetBuildBatches(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual BatchGetBuildsResponse BatchGetBuilds(BatchGetBuildsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetBuildsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetBuildsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetBuilds operation. /// /// /// Container for the necessary parameters to execute the BatchGetBuilds operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetBuilds /// operation. /// REST API Reference for BatchGetBuilds Operation public virtual IAsyncResult BeginBatchGetBuilds(BatchGetBuildsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetBuildsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetBuildsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetBuilds operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetBuilds. /// /// Returns a BatchGetBuildsResult from CodeBuild. /// REST API Reference for BatchGetBuilds Operation public virtual BatchGetBuildsResponse EndBatchGetBuilds(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual BatchGetProjectsResponse BatchGetProjects(BatchGetProjectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetProjectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetProjects operation. /// /// /// Container for the necessary parameters to execute the BatchGetProjects operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetProjects /// operation. /// REST API Reference for BatchGetProjects Operation public virtual IAsyncResult BeginBatchGetProjects(BatchGetProjectsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetProjectsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetProjects operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetProjects. /// /// Returns a BatchGetProjectsResult from CodeBuild. /// REST API Reference for BatchGetProjects Operation public virtual BatchGetProjectsResponse EndBatchGetProjects(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual BatchGetReportGroupsResponse BatchGetReportGroups(BatchGetReportGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetReportGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetReportGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetReportGroups operation. /// /// /// Container for the necessary parameters to execute the BatchGetReportGroups operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetReportGroups /// operation. /// REST API Reference for BatchGetReportGroups Operation public virtual IAsyncResult BeginBatchGetReportGroups(BatchGetReportGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetReportGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetReportGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetReportGroups operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetReportGroups. /// /// Returns a BatchGetReportGroupsResult from CodeBuild. /// REST API Reference for BatchGetReportGroups Operation public virtual BatchGetReportGroupsResponse EndBatchGetReportGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual BatchGetReportsResponse BatchGetReports(BatchGetReportsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetReportsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetReports operation. /// /// /// Container for the necessary parameters to execute the BatchGetReports operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetReports /// operation. /// REST API Reference for BatchGetReports Operation public virtual IAsyncResult BeginBatchGetReports(BatchGetReportsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetReportsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetReports operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetReports. /// /// Returns a BatchGetReportsResult from CodeBuild. /// REST API Reference for BatchGetReports Operation public virtual BatchGetReportsResponse EndBatchGetReports(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual CreateProjectResponse CreateProject(CreateProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateProject operation. /// /// /// Container for the necessary parameters to execute the CreateProject operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProject /// operation. /// REST API Reference for CreateProject Operation public virtual IAsyncResult BeginCreateProject(CreateProjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateProject operation. /// /// /// The IAsyncResult returned by the call to BeginCreateProject. /// /// Returns a CreateProjectResult from CodeBuild. /// REST API Reference for CreateProject Operation public virtual CreateProjectResponse EndCreateProject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual CreateReportGroupResponse CreateReportGroup(CreateReportGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReportGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReportGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateReportGroup operation. /// /// /// Container for the necessary parameters to execute the CreateReportGroup operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateReportGroup /// operation. /// REST API Reference for CreateReportGroup Operation public virtual IAsyncResult BeginCreateReportGroup(CreateReportGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReportGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReportGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateReportGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateReportGroup. /// /// Returns a CreateReportGroupResult from CodeBuild. /// REST API Reference for CreateReportGroup Operation public virtual CreateReportGroupResponse EndCreateReportGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual CreateWebhookResponse CreateWebhook(CreateWebhookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWebhookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateWebhook operation. /// /// /// Container for the necessary parameters to execute the CreateWebhook operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateWebhook /// operation. /// REST API Reference for CreateWebhook Operation public virtual IAsyncResult BeginCreateWebhook(CreateWebhookRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWebhookResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateWebhook operation. /// /// /// The IAsyncResult returned by the call to BeginCreateWebhook. /// /// Returns a CreateWebhookResult from CodeBuild. /// REST API Reference for CreateWebhook Operation public virtual CreateWebhookResponse EndCreateWebhook(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual DeleteBuildBatchResponse DeleteBuildBatch(DeleteBuildBatchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBuildBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBuildBatchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteBuildBatch operation. /// /// /// Container for the necessary parameters to execute the DeleteBuildBatch operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBuildBatch /// operation. /// REST API Reference for DeleteBuildBatch Operation public virtual IAsyncResult BeginDeleteBuildBatch(DeleteBuildBatchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBuildBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBuildBatchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteBuildBatch operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteBuildBatch. /// /// Returns a DeleteBuildBatchResult from CodeBuild. /// REST API Reference for DeleteBuildBatch Operation public virtual DeleteBuildBatchResponse EndDeleteBuildBatch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual DeleteProjectResponse DeleteProject(DeleteProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteProject operation. /// /// /// Container for the necessary parameters to execute the DeleteProject operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteProject /// operation. /// REST API Reference for DeleteProject Operation public virtual IAsyncResult BeginDeleteProject(DeleteProjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteProject operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteProject. /// /// Returns a DeleteProjectResult from CodeBuild. /// REST API Reference for DeleteProject Operation public virtual DeleteProjectResponse EndDeleteProject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual DeleteReportResponse DeleteReport(DeleteReportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReportRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteReport operation. /// /// /// Container for the necessary parameters to execute the DeleteReport operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteReport /// operation. /// REST API Reference for DeleteReport Operation public virtual IAsyncResult BeginDeleteReport(DeleteReportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReportRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteReport operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteReport. /// /// Returns a DeleteReportResult from CodeBuild. /// REST API Reference for DeleteReport Operation public virtual DeleteReportResponse EndDeleteReport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual DeleteReportGroupResponse DeleteReportGroup(DeleteReportGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReportGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReportGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteReportGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteReportGroup operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteReportGroup /// operation. /// REST API Reference for DeleteReportGroup Operation public virtual IAsyncResult BeginDeleteReportGroup(DeleteReportGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReportGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReportGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteReportGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteReportGroup. /// /// Returns a DeleteReportGroupResult from CodeBuild. /// REST API Reference for DeleteReportGroup Operation public virtual DeleteReportGroupResponse EndDeleteReportGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteResourcePolicy operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResourcePolicy /// operation. /// REST API Reference for DeleteResourcePolicy Operation public virtual IAsyncResult BeginDeleteResourcePolicy(DeleteResourcePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteResourcePolicy. /// /// Returns a DeleteResourcePolicyResult from CodeBuild. /// REST API Reference for DeleteResourcePolicy Operation public virtual DeleteResourcePolicyResponse EndDeleteResourcePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual DeleteSourceCredentialsResponse DeleteSourceCredentials(DeleteSourceCredentialsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSourceCredentialsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSourceCredentialsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSourceCredentials operation. /// /// /// Container for the necessary parameters to execute the DeleteSourceCredentials operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSourceCredentials /// operation. /// REST API Reference for DeleteSourceCredentials Operation public virtual IAsyncResult BeginDeleteSourceCredentials(DeleteSourceCredentialsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSourceCredentialsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSourceCredentialsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSourceCredentials operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSourceCredentials. /// /// Returns a DeleteSourceCredentialsResult from CodeBuild. /// REST API Reference for DeleteSourceCredentials Operation public virtual DeleteSourceCredentialsResponse EndDeleteSourceCredentials(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual DeleteWebhookResponse DeleteWebhook(DeleteWebhookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteWebhook operation. /// /// /// Container for the necessary parameters to execute the DeleteWebhook operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteWebhook /// operation. /// REST API Reference for DeleteWebhook Operation public virtual IAsyncResult BeginDeleteWebhook(DeleteWebhookRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteWebhook operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteWebhook. /// /// Returns a DeleteWebhookResult from CodeBuild. /// REST API Reference for DeleteWebhook Operation public virtual DeleteWebhookResponse EndDeleteWebhook(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual DescribeCodeCoveragesResponse DescribeCodeCoverages(DescribeCodeCoveragesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCodeCoveragesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCodeCoveragesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCodeCoverages operation. /// /// /// Container for the necessary parameters to execute the DescribeCodeCoverages operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeCodeCoverages /// operation. /// REST API Reference for DescribeCodeCoverages Operation public virtual IAsyncResult BeginDescribeCodeCoverages(DescribeCodeCoveragesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCodeCoveragesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCodeCoveragesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCodeCoverages operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCodeCoverages. /// /// Returns a DescribeCodeCoveragesResult from CodeBuild. /// REST API Reference for DescribeCodeCoverages Operation public virtual DescribeCodeCoveragesResponse EndDescribeCodeCoverages(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual DescribeTestCasesResponse DescribeTestCases(DescribeTestCasesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTestCasesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTestCasesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeTestCases operation. /// /// /// Container for the necessary parameters to execute the DescribeTestCases operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeTestCases /// operation. /// REST API Reference for DescribeTestCases Operation public virtual IAsyncResult BeginDescribeTestCases(DescribeTestCasesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTestCasesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTestCasesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeTestCases operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeTestCases. /// /// Returns a DescribeTestCasesResult from CodeBuild. /// REST API Reference for DescribeTestCases Operation public virtual DescribeTestCasesResponse EndDescribeTestCases(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual GetReportGroupTrendResponse GetReportGroupTrend(GetReportGroupTrendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetReportGroupTrendRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReportGroupTrendResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetReportGroupTrend operation. /// /// /// Container for the necessary parameters to execute the GetReportGroupTrend operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetReportGroupTrend /// operation. /// REST API Reference for GetReportGroupTrend Operation public virtual IAsyncResult BeginGetReportGroupTrend(GetReportGroupTrendRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetReportGroupTrendRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReportGroupTrendResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetReportGroupTrend operation. /// /// /// The IAsyncResult returned by the call to BeginGetReportGroupTrend. /// /// Returns a GetReportGroupTrendResult from CodeBuild. /// REST API Reference for GetReportGroupTrend Operation public virtual GetReportGroupTrendResponse EndGetReportGroupTrend(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual GetResourcePolicyResponse GetResourcePolicy(GetResourcePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourcePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the GetResourcePolicy operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResourcePolicy /// operation. /// REST API Reference for GetResourcePolicy Operation public virtual IAsyncResult BeginGetResourcePolicy(GetResourcePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourcePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetResourcePolicy. /// /// Returns a GetResourcePolicyResult from CodeBuild. /// REST API Reference for GetResourcePolicy Operation public virtual GetResourcePolicyResponse EndGetResourcePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ImportSourceCredentialsResponse ImportSourceCredentials(ImportSourceCredentialsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportSourceCredentialsRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportSourceCredentialsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ImportSourceCredentials operation. /// /// /// Container for the necessary parameters to execute the ImportSourceCredentials operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndImportSourceCredentials /// operation. /// REST API Reference for ImportSourceCredentials Operation public virtual IAsyncResult BeginImportSourceCredentials(ImportSourceCredentialsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ImportSourceCredentialsRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportSourceCredentialsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ImportSourceCredentials operation. /// /// /// The IAsyncResult returned by the call to BeginImportSourceCredentials. /// /// Returns a ImportSourceCredentialsResult from CodeBuild. /// REST API Reference for ImportSourceCredentials Operation public virtual ImportSourceCredentialsResponse EndImportSourceCredentials(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual InvalidateProjectCacheResponse InvalidateProjectCache(InvalidateProjectCacheRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = InvalidateProjectCacheRequestMarshaller.Instance; options.ResponseUnmarshaller = InvalidateProjectCacheResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the InvalidateProjectCache operation. /// /// /// Container for the necessary parameters to execute the InvalidateProjectCache operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndInvalidateProjectCache /// operation. /// REST API Reference for InvalidateProjectCache Operation public virtual IAsyncResult BeginInvalidateProjectCache(InvalidateProjectCacheRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = InvalidateProjectCacheRequestMarshaller.Instance; options.ResponseUnmarshaller = InvalidateProjectCacheResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the InvalidateProjectCache operation. /// /// /// The IAsyncResult returned by the call to BeginInvalidateProjectCache. /// /// Returns a InvalidateProjectCacheResult from CodeBuild. /// REST API Reference for InvalidateProjectCache Operation public virtual InvalidateProjectCacheResponse EndInvalidateProjectCache(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListBuildBatchesResponse ListBuildBatches(ListBuildBatchesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuildBatchesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuildBatchesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBuildBatches operation. /// /// /// Container for the necessary parameters to execute the ListBuildBatches operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBuildBatches /// operation. /// REST API Reference for ListBuildBatches Operation public virtual IAsyncResult BeginListBuildBatches(ListBuildBatchesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuildBatchesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuildBatchesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBuildBatches operation. /// /// /// The IAsyncResult returned by the call to BeginListBuildBatches. /// /// Returns a ListBuildBatchesResult from CodeBuild. /// REST API Reference for ListBuildBatches Operation public virtual ListBuildBatchesResponse EndListBuildBatches(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListBuildBatchesForProjectResponse ListBuildBatchesForProject(ListBuildBatchesForProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuildBatchesForProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuildBatchesForProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBuildBatchesForProject operation. /// /// /// Container for the necessary parameters to execute the ListBuildBatchesForProject operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBuildBatchesForProject /// operation. /// REST API Reference for ListBuildBatchesForProject Operation public virtual IAsyncResult BeginListBuildBatchesForProject(ListBuildBatchesForProjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuildBatchesForProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuildBatchesForProjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBuildBatchesForProject operation. /// /// /// The IAsyncResult returned by the call to BeginListBuildBatchesForProject. /// /// Returns a ListBuildBatchesForProjectResult from CodeBuild. /// REST API Reference for ListBuildBatchesForProject Operation public virtual ListBuildBatchesForProjectResponse EndListBuildBatchesForProject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListBuildsResponse ListBuilds(ListBuildsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuildsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuildsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBuilds operation. /// /// /// Container for the necessary parameters to execute the ListBuilds operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBuilds /// operation. /// REST API Reference for ListBuilds Operation public virtual IAsyncResult BeginListBuilds(ListBuildsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuildsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuildsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBuilds operation. /// /// /// The IAsyncResult returned by the call to BeginListBuilds. /// /// Returns a ListBuildsResult from CodeBuild. /// REST API Reference for ListBuilds Operation public virtual ListBuildsResponse EndListBuilds(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListBuildsForProjectResponse ListBuildsForProject(ListBuildsForProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuildsForProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuildsForProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBuildsForProject operation. /// /// /// Container for the necessary parameters to execute the ListBuildsForProject operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBuildsForProject /// operation. /// REST API Reference for ListBuildsForProject Operation public virtual IAsyncResult BeginListBuildsForProject(ListBuildsForProjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuildsForProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuildsForProjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBuildsForProject operation. /// /// /// The IAsyncResult returned by the call to BeginListBuildsForProject. /// /// Returns a ListBuildsForProjectResult from CodeBuild. /// REST API Reference for ListBuildsForProject Operation public virtual ListBuildsForProjectResponse EndListBuildsForProject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListCuratedEnvironmentImagesResponse ListCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCuratedEnvironmentImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCuratedEnvironmentImagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCuratedEnvironmentImages operation. /// /// /// Container for the necessary parameters to execute the ListCuratedEnvironmentImages operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCuratedEnvironmentImages /// operation. /// REST API Reference for ListCuratedEnvironmentImages Operation public virtual IAsyncResult BeginListCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCuratedEnvironmentImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCuratedEnvironmentImagesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCuratedEnvironmentImages operation. /// /// /// The IAsyncResult returned by the call to BeginListCuratedEnvironmentImages. /// /// Returns a ListCuratedEnvironmentImagesResult from CodeBuild. /// REST API Reference for ListCuratedEnvironmentImages Operation public virtual ListCuratedEnvironmentImagesResponse EndListCuratedEnvironmentImages(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListProjectsResponse ListProjects(ListProjectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListProjects operation. /// /// /// Container for the necessary parameters to execute the ListProjects operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListProjects /// operation. /// REST API Reference for ListProjects Operation public virtual IAsyncResult BeginListProjects(ListProjectsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListProjects operation. /// /// /// The IAsyncResult returned by the call to BeginListProjects. /// /// Returns a ListProjectsResult from CodeBuild. /// REST API Reference for ListProjects Operation public virtual ListProjectsResponse EndListProjects(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListReportGroupsResponse ListReportGroups(ListReportGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListReportGroups operation. /// /// /// Container for the necessary parameters to execute the ListReportGroups operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListReportGroups /// operation. /// REST API Reference for ListReportGroups Operation public virtual IAsyncResult BeginListReportGroups(ListReportGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListReportGroups operation. /// /// /// The IAsyncResult returned by the call to BeginListReportGroups. /// /// Returns a ListReportGroupsResult from CodeBuild. /// REST API Reference for ListReportGroups Operation public virtual ListReportGroupsResponse EndListReportGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListReportsResponse ListReports(ListReportsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListReports operation. /// /// /// Container for the necessary parameters to execute the ListReports operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListReports /// operation. /// REST API Reference for ListReports Operation public virtual IAsyncResult BeginListReports(ListReportsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListReports operation. /// /// /// The IAsyncResult returned by the call to BeginListReports. /// /// Returns a ListReportsResult from CodeBuild. /// REST API Reference for ListReports Operation public virtual ListReportsResponse EndListReports(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListReportsForReportGroupResponse ListReportsForReportGroup(ListReportsForReportGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportsForReportGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportsForReportGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListReportsForReportGroup operation. /// /// /// Container for the necessary parameters to execute the ListReportsForReportGroup operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListReportsForReportGroup /// operation. /// REST API Reference for ListReportsForReportGroup Operation public virtual IAsyncResult BeginListReportsForReportGroup(ListReportsForReportGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportsForReportGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportsForReportGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListReportsForReportGroup operation. /// /// /// The IAsyncResult returned by the call to BeginListReportsForReportGroup. /// /// Returns a ListReportsForReportGroupResult from CodeBuild. /// REST API Reference for ListReportsForReportGroup Operation public virtual ListReportsForReportGroupResponse EndListReportsForReportGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListSharedProjectsResponse ListSharedProjects(ListSharedProjectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSharedProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSharedProjectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSharedProjects operation. /// /// /// Container for the necessary parameters to execute the ListSharedProjects operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSharedProjects /// operation. /// REST API Reference for ListSharedProjects Operation public virtual IAsyncResult BeginListSharedProjects(ListSharedProjectsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSharedProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSharedProjectsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSharedProjects operation. /// /// /// The IAsyncResult returned by the call to BeginListSharedProjects. /// /// Returns a ListSharedProjectsResult from CodeBuild. /// REST API Reference for ListSharedProjects Operation public virtual ListSharedProjectsResponse EndListSharedProjects(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListSharedReportGroupsResponse ListSharedReportGroups(ListSharedReportGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSharedReportGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSharedReportGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSharedReportGroups operation. /// /// /// Container for the necessary parameters to execute the ListSharedReportGroups operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSharedReportGroups /// operation. /// REST API Reference for ListSharedReportGroups Operation public virtual IAsyncResult BeginListSharedReportGroups(ListSharedReportGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSharedReportGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSharedReportGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSharedReportGroups operation. /// /// /// The IAsyncResult returned by the call to BeginListSharedReportGroups. /// /// Returns a ListSharedReportGroupsResult from CodeBuild. /// REST API Reference for ListSharedReportGroups Operation public virtual ListSharedReportGroupsResponse EndListSharedReportGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual ListSourceCredentialsResponse ListSourceCredentials(ListSourceCredentialsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSourceCredentialsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSourceCredentialsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSourceCredentials operation. /// /// /// Container for the necessary parameters to execute the ListSourceCredentials operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSourceCredentials /// operation. /// REST API Reference for ListSourceCredentials Operation public virtual IAsyncResult BeginListSourceCredentials(ListSourceCredentialsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSourceCredentialsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSourceCredentialsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSourceCredentials operation. /// /// /// The IAsyncResult returned by the call to BeginListSourceCredentials. /// /// Returns a ListSourceCredentialsResult from CodeBuild. /// REST API Reference for ListSourceCredentials Operation public virtual ListSourceCredentialsResponse EndListSourceCredentials(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual PutResourcePolicyResponse PutResourcePolicy(PutResourcePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the PutResourcePolicy operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutResourcePolicy /// operation. /// REST API Reference for PutResourcePolicy Operation public virtual IAsyncResult BeginPutResourcePolicy(PutResourcePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutResourcePolicy. /// /// Returns a PutResourcePolicyResult from CodeBuild. /// REST API Reference for PutResourcePolicy Operation public virtual PutResourcePolicyResponse EndPutResourcePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual RetryBuildResponse RetryBuild(RetryBuildRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RetryBuildRequestMarshaller.Instance; options.ResponseUnmarshaller = RetryBuildResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RetryBuild operation. /// /// /// Container for the necessary parameters to execute the RetryBuild operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRetryBuild /// operation. /// REST API Reference for RetryBuild Operation public virtual IAsyncResult BeginRetryBuild(RetryBuildRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RetryBuildRequestMarshaller.Instance; options.ResponseUnmarshaller = RetryBuildResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RetryBuild operation. /// /// /// The IAsyncResult returned by the call to BeginRetryBuild. /// /// Returns a RetryBuildResult from CodeBuild. /// REST API Reference for RetryBuild Operation public virtual RetryBuildResponse EndRetryBuild(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual RetryBuildBatchResponse RetryBuildBatch(RetryBuildBatchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RetryBuildBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = RetryBuildBatchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RetryBuildBatch operation. /// /// /// Container for the necessary parameters to execute the RetryBuildBatch operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRetryBuildBatch /// operation. /// REST API Reference for RetryBuildBatch Operation public virtual IAsyncResult BeginRetryBuildBatch(RetryBuildBatchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RetryBuildBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = RetryBuildBatchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RetryBuildBatch operation. /// /// /// The IAsyncResult returned by the call to BeginRetryBuildBatch. /// /// Returns a RetryBuildBatchResult from CodeBuild. /// REST API Reference for RetryBuildBatch Operation public virtual RetryBuildBatchResponse EndRetryBuildBatch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual StartBuildResponse StartBuild(StartBuildRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartBuildRequestMarshaller.Instance; options.ResponseUnmarshaller = StartBuildResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartBuild operation. /// /// /// Container for the necessary parameters to execute the StartBuild operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartBuild /// operation. /// REST API Reference for StartBuild Operation public virtual IAsyncResult BeginStartBuild(StartBuildRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartBuildRequestMarshaller.Instance; options.ResponseUnmarshaller = StartBuildResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartBuild operation. /// /// /// The IAsyncResult returned by the call to BeginStartBuild. /// /// Returns a StartBuildResult from CodeBuild. /// REST API Reference for StartBuild Operation public virtual StartBuildResponse EndStartBuild(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual StartBuildBatchResponse StartBuildBatch(StartBuildBatchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartBuildBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = StartBuildBatchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartBuildBatch operation. /// /// /// Container for the necessary parameters to execute the StartBuildBatch operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartBuildBatch /// operation. /// REST API Reference for StartBuildBatch Operation public virtual IAsyncResult BeginStartBuildBatch(StartBuildBatchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartBuildBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = StartBuildBatchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartBuildBatch operation. /// /// /// The IAsyncResult returned by the call to BeginStartBuildBatch. /// /// Returns a StartBuildBatchResult from CodeBuild. /// REST API Reference for StartBuildBatch Operation public virtual StartBuildBatchResponse EndStartBuildBatch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual StopBuildResponse StopBuild(StopBuildRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopBuildRequestMarshaller.Instance; options.ResponseUnmarshaller = StopBuildResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopBuild operation. /// /// /// Container for the necessary parameters to execute the StopBuild operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopBuild /// operation. /// REST API Reference for StopBuild Operation public virtual IAsyncResult BeginStopBuild(StopBuildRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopBuildRequestMarshaller.Instance; options.ResponseUnmarshaller = StopBuildResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopBuild operation. /// /// /// The IAsyncResult returned by the call to BeginStopBuild. /// /// Returns a StopBuildResult from CodeBuild. /// REST API Reference for StopBuild Operation public virtual StopBuildResponse EndStopBuild(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual StopBuildBatchResponse StopBuildBatch(StopBuildBatchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopBuildBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = StopBuildBatchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopBuildBatch operation. /// /// /// Container for the necessary parameters to execute the StopBuildBatch operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopBuildBatch /// operation. /// REST API Reference for StopBuildBatch Operation public virtual IAsyncResult BeginStopBuildBatch(StopBuildBatchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopBuildBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = StopBuildBatchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopBuildBatch operation. /// /// /// The IAsyncResult returned by the call to BeginStopBuildBatch. /// /// Returns a StopBuildBatchResult from CodeBuild. /// REST API Reference for StopBuildBatch Operation public virtual StopBuildBatchResponse EndStopBuildBatch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual UpdateProjectResponse UpdateProject(UpdateProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateProject operation. /// /// /// Container for the necessary parameters to execute the UpdateProject operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProject /// operation. /// REST API Reference for UpdateProject Operation public virtual IAsyncResult BeginUpdateProject(UpdateProjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateProject operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateProject. /// /// Returns a UpdateProjectResult from CodeBuild. /// REST API Reference for UpdateProject Operation public virtual UpdateProjectResponse EndUpdateProject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual UpdateProjectVisibilityResponse UpdateProjectVisibility(UpdateProjectVisibilityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectVisibilityRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectVisibilityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateProjectVisibility operation. /// /// /// Container for the necessary parameters to execute the UpdateProjectVisibility operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProjectVisibility /// operation. /// REST API Reference for UpdateProjectVisibility Operation public virtual IAsyncResult BeginUpdateProjectVisibility(UpdateProjectVisibilityRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectVisibilityRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectVisibilityResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateProjectVisibility operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateProjectVisibility. /// /// Returns a UpdateProjectVisibilityResult from CodeBuild. /// REST API Reference for UpdateProjectVisibility Operation public virtual UpdateProjectVisibilityResponse EndUpdateProjectVisibility(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual UpdateReportGroupResponse UpdateReportGroup(UpdateReportGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReportGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReportGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateReportGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateReportGroup operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateReportGroup /// operation. /// REST API Reference for UpdateReportGroup Operation public virtual IAsyncResult BeginUpdateReportGroup(UpdateReportGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReportGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReportGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateReportGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateReportGroup. /// /// Returns a UpdateReportGroupResult from CodeBuild. /// REST API Reference for UpdateReportGroup Operation public virtual UpdateReportGroupResponse EndUpdateReportGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 public virtual UpdateWebhookResponse UpdateWebhook(UpdateWebhookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWebhookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateWebhook operation. /// /// /// Container for the necessary parameters to execute the UpdateWebhook operation on AmazonCodeBuildClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateWebhook /// operation. /// REST API Reference for UpdateWebhook Operation public virtual IAsyncResult BeginUpdateWebhook(UpdateWebhookRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWebhookResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateWebhook operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateWebhook. /// /// Returns a UpdateWebhookResult from CodeBuild. /// REST API Reference for UpdateWebhook Operation public virtual UpdateWebhookResponse EndUpdateWebhook(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }