/* * 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 codecommit-2015-04-13.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.CodeCommit.Model; using Amazon.CodeCommit.Model.Internal.MarshallTransformations; using Amazon.CodeCommit.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.CodeCommit { /// /// Implementation for accessing CodeCommit /// /// AWS CodeCommit /// /// This is the AWS CodeCommit API Reference. This reference provides descriptions /// of the operations and data types for AWS CodeCommit API along with usage examples. /// /// /// /// You can use the AWS CodeCommit API to work with the following objects: /// /// /// /// Repositories, by calling the following: /// /// /// /// Branches, by calling the following: /// /// /// /// Files, by calling the following: /// /// /// /// Commits, by calling the following: /// /// /// /// Merges, by calling the following: /// /// /// /// Pull requests, by calling the following: /// /// /// /// Approval rule templates, by calling the following: /// /// /// /// Comments in a repository, by calling the following: /// /// /// /// Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following: /// /// /// /// Triggers, by calling the following: /// /// /// /// For information about how to use AWS CodeCommit, see the AWS /// CodeCommit User Guide. /// /// public partial class AmazonCodeCommitClient : AmazonServiceClient, IAmazonCodeCommit { private static IServiceMetadata serviceMetadata = new AmazonCodeCommitMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private ICodeCommitPaginatorFactory _paginators; /// /// Paginators for the service /// public ICodeCommitPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new CodeCommitPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonCodeCommitClient 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 AmazonCodeCommitClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCodeCommitConfig()) { } /// /// Constructs AmazonCodeCommitClient 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 AmazonCodeCommitClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCodeCommitConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodeCommitClient 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 AmazonCodeCommitClient Configuration Object public AmazonCodeCommitClient(AmazonCodeCommitConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonCodeCommitClient with AWS Credentials /// /// AWS Credentials public AmazonCodeCommitClient(AWSCredentials credentials) : this(credentials, new AmazonCodeCommitConfig()) { } /// /// Constructs AmazonCodeCommitClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonCodeCommitClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonCodeCommitConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodeCommitClient with AWS Credentials and an /// AmazonCodeCommitClient Configuration object. /// /// AWS Credentials /// The AmazonCodeCommitClient Configuration Object public AmazonCodeCommitClient(AWSCredentials credentials, AmazonCodeCommitConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonCodeCommitClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCodeCommitConfig()) { } /// /// Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonCodeCommitClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCodeCommitConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonCodeCommitClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCodeCommitClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonCodeCommitClient Configuration Object public AmazonCodeCommitClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCodeCommitConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonCodeCommitClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCodeCommitConfig()) { } /// /// Constructs AmazonCodeCommitClient 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 AmazonCodeCommitClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCodeCommitConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodeCommitClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCodeCommitClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonCodeCommitClient Configuration Object public AmazonCodeCommitClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCodeCommitConfig 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 AmazonCodeCommitEndpointResolver()); } /// /// 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 AssociateApprovalRuleTemplateWithRepository /// /// Creates an association between an approval rule template and a specified repository. /// Then, the next time a pull request is created in the repository where the destination /// reference (if specified) matches the destination reference (branch) for the pull request, /// an approval rule that matches the template conditions is automatically created for /// that pull request. If no destination references are specified in the template, an /// approval rule that matches the template contents is created for all pull requests /// in that repository. /// /// Container for the necessary parameters to execute the AssociateApprovalRuleTemplateWithRepository service method. /// /// The response from the AssociateApprovalRuleTemplateWithRepository service method, as returned by CodeCommit. /// /// The specified approval rule template does not exist. Verify that the name is correct /// and that you are signed in to the AWS Region where the template was created, and then /// try again. /// /// /// An approval rule template name is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The maximum number of approval rule templates for a repository has been exceeded. /// You cannot associate more than 25 approval rule templates with a repository. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for AssociateApprovalRuleTemplateWithRepository Operation public virtual AssociateApprovalRuleTemplateWithRepositoryResponse AssociateApprovalRuleTemplateWithRepository(AssociateApprovalRuleTemplateWithRepositoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApprovalRuleTemplateWithRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApprovalRuleTemplateWithRepositoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AssociateApprovalRuleTemplateWithRepository operation. /// /// /// Container for the necessary parameters to execute the AssociateApprovalRuleTemplateWithRepository operation on AmazonCodeCommitClient. /// 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 EndAssociateApprovalRuleTemplateWithRepository /// operation. /// REST API Reference for AssociateApprovalRuleTemplateWithRepository Operation public virtual IAsyncResult BeginAssociateApprovalRuleTemplateWithRepository(AssociateApprovalRuleTemplateWithRepositoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApprovalRuleTemplateWithRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApprovalRuleTemplateWithRepositoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AssociateApprovalRuleTemplateWithRepository operation. /// /// /// The IAsyncResult returned by the call to BeginAssociateApprovalRuleTemplateWithRepository. /// /// Returns a AssociateApprovalRuleTemplateWithRepositoryResult from CodeCommit. /// REST API Reference for AssociateApprovalRuleTemplateWithRepository Operation public virtual AssociateApprovalRuleTemplateWithRepositoryResponse EndAssociateApprovalRuleTemplateWithRepository(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchAssociateApprovalRuleTemplateWithRepositories /// /// Creates an association between an approval rule template and one or more specified /// repositories. /// /// Container for the necessary parameters to execute the BatchAssociateApprovalRuleTemplateWithRepositories service method. /// /// The response from the BatchAssociateApprovalRuleTemplateWithRepositories service method, as returned by CodeCommit. /// /// The specified approval rule template does not exist. Verify that the name is correct /// and that you are signed in to the AWS Region where the template was created, and then /// try again. /// /// /// An approval rule template name is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// /// The maximum number of allowed repository names was exceeded. Currently, this number /// is 100. /// /// /// At least one repository name object is required, but was not specified. /// /// REST API Reference for BatchAssociateApprovalRuleTemplateWithRepositories Operation public virtual BatchAssociateApprovalRuleTemplateWithRepositoriesResponse BatchAssociateApprovalRuleTemplateWithRepositories(BatchAssociateApprovalRuleTemplateWithRepositoriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateApprovalRuleTemplateWithRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateApprovalRuleTemplateWithRepositoriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchAssociateApprovalRuleTemplateWithRepositories operation. /// /// /// Container for the necessary parameters to execute the BatchAssociateApprovalRuleTemplateWithRepositories operation on AmazonCodeCommitClient. /// 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 EndBatchAssociateApprovalRuleTemplateWithRepositories /// operation. /// REST API Reference for BatchAssociateApprovalRuleTemplateWithRepositories Operation public virtual IAsyncResult BeginBatchAssociateApprovalRuleTemplateWithRepositories(BatchAssociateApprovalRuleTemplateWithRepositoriesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateApprovalRuleTemplateWithRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateApprovalRuleTemplateWithRepositoriesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchAssociateApprovalRuleTemplateWithRepositories operation. /// /// /// The IAsyncResult returned by the call to BeginBatchAssociateApprovalRuleTemplateWithRepositories. /// /// Returns a BatchAssociateApprovalRuleTemplateWithRepositoriesResult from CodeCommit. /// REST API Reference for BatchAssociateApprovalRuleTemplateWithRepositories Operation public virtual BatchAssociateApprovalRuleTemplateWithRepositoriesResponse EndBatchAssociateApprovalRuleTemplateWithRepositories(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchDescribeMergeConflicts /// /// Returns information about one or more merge conflicts in the attempted merge of two /// commit specifiers using the squash or three-way merge strategy. /// /// Container for the necessary parameters to execute the BatchDescribeMergeConflicts service method. /// /// The response from the BatchDescribeMergeConflicts service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified commit is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// The specified continuation token is not valid. /// /// /// The specified value for the number of conflict files to return is not valid. /// /// /// The specified value for the number of merge hunks to return is not valid. /// /// /// The specified merge option is not valid for this operation. Not all merge strategies /// are supported for all operations. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The number of files to load exceeds the allowed limit. /// /// /// The number of items to compare between the source or destination branches and the /// merge base has exceeded the maximum allowed. /// /// /// A merge option or stategy is required, and none was provided. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for BatchDescribeMergeConflicts Operation public virtual BatchDescribeMergeConflictsResponse BatchDescribeMergeConflicts(BatchDescribeMergeConflictsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDescribeMergeConflictsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDescribeMergeConflictsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchDescribeMergeConflicts operation. /// /// /// Container for the necessary parameters to execute the BatchDescribeMergeConflicts operation on AmazonCodeCommitClient. /// 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 EndBatchDescribeMergeConflicts /// operation. /// REST API Reference for BatchDescribeMergeConflicts Operation public virtual IAsyncResult BeginBatchDescribeMergeConflicts(BatchDescribeMergeConflictsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDescribeMergeConflictsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDescribeMergeConflictsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchDescribeMergeConflicts operation. /// /// /// The IAsyncResult returned by the call to BeginBatchDescribeMergeConflicts. /// /// Returns a BatchDescribeMergeConflictsResult from CodeCommit. /// REST API Reference for BatchDescribeMergeConflicts Operation public virtual BatchDescribeMergeConflictsResponse EndBatchDescribeMergeConflicts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchDisassociateApprovalRuleTemplateFromRepositories /// /// Removes the association between an approval rule template and one or more specified /// repositories. /// /// Container for the necessary parameters to execute the BatchDisassociateApprovalRuleTemplateFromRepositories service method. /// /// The response from the BatchDisassociateApprovalRuleTemplateFromRepositories service method, as returned by CodeCommit. /// /// The specified approval rule template does not exist. Verify that the name is correct /// and that you are signed in to the AWS Region where the template was created, and then /// try again. /// /// /// An approval rule template name is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// /// The maximum number of allowed repository names was exceeded. Currently, this number /// is 100. /// /// /// At least one repository name object is required, but was not specified. /// /// REST API Reference for BatchDisassociateApprovalRuleTemplateFromRepositories Operation public virtual BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse BatchDisassociateApprovalRuleTemplateFromRepositories(BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateApprovalRuleTemplateFromRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateApprovalRuleTemplateFromRepositoriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchDisassociateApprovalRuleTemplateFromRepositories operation. /// /// /// Container for the necessary parameters to execute the BatchDisassociateApprovalRuleTemplateFromRepositories operation on AmazonCodeCommitClient. /// 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 EndBatchDisassociateApprovalRuleTemplateFromRepositories /// operation. /// REST API Reference for BatchDisassociateApprovalRuleTemplateFromRepositories Operation public virtual IAsyncResult BeginBatchDisassociateApprovalRuleTemplateFromRepositories(BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateApprovalRuleTemplateFromRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateApprovalRuleTemplateFromRepositoriesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchDisassociateApprovalRuleTemplateFromRepositories operation. /// /// /// The IAsyncResult returned by the call to BeginBatchDisassociateApprovalRuleTemplateFromRepositories. /// /// Returns a BatchDisassociateApprovalRuleTemplateFromRepositoriesResult from CodeCommit. /// REST API Reference for BatchDisassociateApprovalRuleTemplateFromRepositories Operation public virtual BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse EndBatchDisassociateApprovalRuleTemplateFromRepositories(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchGetCommits /// /// Returns information about the contents of one or more commits in a repository. /// /// Container for the necessary parameters to execute the BatchGetCommits service method. /// /// The response from the BatchGetCommits service method, as returned by CodeCommit. /// /// The maximum number of allowed commit IDs in a batch request is 100. Verify that your /// batch requests contains no more than 100 commit IDs, and then try again. /// /// /// A list of commit IDs is required, but was either not specified or the list was empty. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for BatchGetCommits Operation public virtual BatchGetCommitsResponse BatchGetCommits(BatchGetCommitsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetCommitsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetCommitsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetCommits operation. /// /// /// Container for the necessary parameters to execute the BatchGetCommits operation on AmazonCodeCommitClient. /// 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 EndBatchGetCommits /// operation. /// REST API Reference for BatchGetCommits Operation public virtual IAsyncResult BeginBatchGetCommits(BatchGetCommitsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetCommitsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetCommitsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetCommits operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetCommits. /// /// Returns a BatchGetCommitsResult from CodeCommit. /// REST API Reference for BatchGetCommits Operation public virtual BatchGetCommitsResponse EndBatchGetCommits(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchGetRepositories /// /// Returns information about one or more repositories. /// /// /// /// The description field for a repository accepts all HTML characters and all valid Unicode /// characters. Applications that do not HTML-encode the description and display it in /// a webpage can expose users to potentially malicious code. Make sure that you HTML-encode /// the description field in any application that uses this API to display the repository /// description on a webpage. /// /// /// /// Container for the necessary parameters to execute the BatchGetRepositories service method. /// /// The response from the BatchGetRepositories service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The maximum number of allowed repository names was exceeded. Currently, this number /// is 100. /// /// /// At least one repository name object is required, but was not specified. /// /// REST API Reference for BatchGetRepositories Operation public virtual BatchGetRepositoriesResponse BatchGetRepositories(BatchGetRepositoriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetRepositoriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetRepositories operation. /// /// /// Container for the necessary parameters to execute the BatchGetRepositories operation on AmazonCodeCommitClient. /// 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 EndBatchGetRepositories /// operation. /// REST API Reference for BatchGetRepositories Operation public virtual IAsyncResult BeginBatchGetRepositories(BatchGetRepositoriesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetRepositoriesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetRepositories operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetRepositories. /// /// Returns a BatchGetRepositoriesResult from CodeCommit. /// REST API Reference for BatchGetRepositories Operation public virtual BatchGetRepositoriesResponse EndBatchGetRepositories(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateApprovalRuleTemplate /// /// Creates a template for approval rules that can then be associated with one or more /// repositories in your AWS account. When you associate a template with a repository, /// AWS CodeCommit creates an approval rule that matches the conditions of the template /// for all pull requests that meet the conditions of the template. For more information, /// see AssociateApprovalRuleTemplateWithRepository. /// /// Container for the necessary parameters to execute the CreateApprovalRuleTemplate service method. /// /// The response from the CreateApprovalRuleTemplate service method, as returned by CodeCommit. /// /// The content for the approval rule template is empty. You must provide some content /// for an approval rule template. The content cannot be null. /// /// /// You cannot create an approval rule template with that name because a template with /// that name already exists in this AWS Region for your AWS account. Approval rule template /// names must be unique. /// /// /// An approval rule template name is required, but was not specified. /// /// /// The content of the approval rule template is not valid. /// /// /// The description for the approval rule template is not valid because it exceeds the /// maximum characters allowed for a description. For more information about limits in /// AWS CodeCommit, see AWS /// CodeCommit User Guide. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// /// The maximum number of approval rule templates has been exceeded for this AWS Region. /// /// REST API Reference for CreateApprovalRuleTemplate Operation public virtual CreateApprovalRuleTemplateResponse CreateApprovalRuleTemplate(CreateApprovalRuleTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApprovalRuleTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApprovalRuleTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateApprovalRuleTemplate operation. /// /// /// Container for the necessary parameters to execute the CreateApprovalRuleTemplate operation on AmazonCodeCommitClient. /// 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 EndCreateApprovalRuleTemplate /// operation. /// REST API Reference for CreateApprovalRuleTemplate Operation public virtual IAsyncResult BeginCreateApprovalRuleTemplate(CreateApprovalRuleTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApprovalRuleTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApprovalRuleTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateApprovalRuleTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginCreateApprovalRuleTemplate. /// /// Returns a CreateApprovalRuleTemplateResult from CodeCommit. /// REST API Reference for CreateApprovalRuleTemplate Operation public virtual CreateApprovalRuleTemplateResponse EndCreateApprovalRuleTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateBranch /// /// Creates a branch in a repository and points the branch to a commit. /// /// /// /// Calling the create branch operation does not set a repository's default branch. To /// do this, call the update default branch operation. /// /// /// /// Container for the necessary parameters to execute the CreateBranch service method. /// /// The response from the CreateBranch service method, as returned by CodeCommit. /// /// Cannot create the branch with the specified name because the commit conflicts with /// an existing branch with the same name. Branch names must be unique. /// /// /// A branch name is required, but was not specified. /// /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit ID was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified reference name is not valid. /// /// /// The specified commit ID is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for CreateBranch Operation public virtual CreateBranchResponse CreateBranch(CreateBranchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBranchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateBranch operation. /// /// /// Container for the necessary parameters to execute the CreateBranch operation on AmazonCodeCommitClient. /// 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 EndCreateBranch /// operation. /// REST API Reference for CreateBranch Operation public virtual IAsyncResult BeginCreateBranch(CreateBranchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBranchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBranch operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBranch. /// /// Returns a CreateBranchResult from CodeCommit. /// REST API Reference for CreateBranch Operation public virtual CreateBranchResponse EndCreateBranch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCommit /// /// Creates a commit for a repository on the tip of a specified branch. /// /// Container for the necessary parameters to execute the CreateCommit service method. /// /// The response from the CreateCommit service method, as returned by CodeCommit. /// /// The specified branch does not exist. /// /// /// The specified branch name is not valid because it is a tag name. Enter the name of /// a branch in the repository. For a list of valid branch names, use ListBranches. /// /// /// A branch name is required, but was not specified. /// /// /// The commit message is too long. Provide a shorter string. /// /// /// A file cannot be added to the repository because the specified path name has the same /// name as a file that already exists in this repository. Either provide a different /// name for the file, or specify a different path for the file. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The commit cannot be created because both a source file and file content have been /// specified for the same file. You cannot provide both. Either specify a source file /// or provide the file content directly. /// /// /// The file cannot be added because it is too large. The maximum file size is 6 MB, and /// the combined file content change size is 7 MB. Consider making these changes using /// a Git client. /// /// /// The specified file does not exist. Verify that you have used the correct file name, /// full path, and extension. /// /// /// The commit cannot be created because no files have been specified as added, updated, /// or changed (PutFile or DeleteFile) for the commit. /// /// /// The commit cannot be created because no file mode has been specified. A file mode /// is required to update mode permissions for a file. /// /// /// A file cannot be added to the repository because the specified file name has the same /// name as a directory in this repository. Either provide another name for the file, /// or add the file in a directory that does not match the file name. /// /// /// The commit cannot be created because a specified file path points to a submodule. /// Verify that the destination files have valid file paths that do not point to a submodule. /// /// /// The commit cannot be created because at least one of the overall changes in the commit /// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number /// and size of your changes, or split the changes across multiple folders. /// /// /// The specified reference name is not valid. /// /// /// The specified deletion parameter is not valid. /// /// /// The specified email address either contains one or more characters that are not allowed, /// or it exceeds the maximum number of characters allowed for an email address. /// /// /// The specified file mode permission is not valid. For a list of valid file mode permissions, /// see PutFile. /// /// /// The parent commit ID is not valid. The commit ID cannot be empty, and must match the /// head commit ID for the branch of the repository where you want to add or update a /// file. /// /// /// The specified path is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The number of specified files to change as part of this commit exceeds the maximum /// number of files that can be changed in a single commit. Consider using a Git client /// for these changes. /// /// /// The user name is not valid because it has exceeded the character limit for author /// names. /// /// /// The commit cannot be created because no changes will be made to the repository as /// a result of this commit. A commit must contain at least one change. /// /// /// The parent commit ID is not valid because it does not exist. The specified parent /// commit ID does not exist in the specified branch of the repository. /// /// /// The file could not be added because the provided parent commit ID is not the current /// tip of the specified branch. To view the full commit ID of the current head of the /// branch, use GetBranch. /// /// /// A parent commit ID is required. To view the full commit ID of a branch in a repository, /// use GetBranch or a Git command (for example, git pull or git log). /// /// /// The folderPath for a location cannot be null. /// /// /// The commit cannot be created because one or more files specified in the commit reference /// both a file and a folder. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The commit cannot be created because one of the changes specifies copying or moving /// a .gitkeep file. /// /// /// The commit cannot be created because one or more changes in this commit duplicate /// actions in the same file path. For example, you cannot make the same delete request /// to the same file in the same file path twice, or make a delete request and a move /// request to the same file as part of the same commit. /// /// /// The commit cannot be created because no source files or file content have been specified /// for the commit. /// /// REST API Reference for CreateCommit Operation public virtual CreateCommitResponse CreateCommit(CreateCommitRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCommitResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCommit operation. /// /// /// Container for the necessary parameters to execute the CreateCommit operation on AmazonCodeCommitClient. /// 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 EndCreateCommit /// operation. /// REST API Reference for CreateCommit Operation public virtual IAsyncResult BeginCreateCommit(CreateCommitRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCommitResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCommit operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCommit. /// /// Returns a CreateCommitResult from CodeCommit. /// REST API Reference for CreateCommit Operation public virtual CreateCommitResponse EndCreateCommit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePullRequest /// /// Creates a pull request in the specified repository. /// /// Container for the necessary parameters to execute the CreatePullRequest service method. /// /// The response from the CreatePullRequest service method, as returned by CodeCommit. /// /// A client request token is required. A client request token is an unique, client-generated /// idempotency token that, when provided in a request, ensures the request cannot be /// repeated with a changed parameter. If a request is received with the same parameters /// and a token is included, the request returns information about the initial request /// that used that token. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The client request token is not valid. Either the token is not in a valid format, /// or the token has been used in a previous request and cannot be reused. /// /// /// The client request token is not valid. /// /// /// The pull request description is not valid. Descriptions cannot be more than 1,000 /// characters. /// /// /// The specified reference name format is not valid. Reference names must conform to /// the Git references format (for example, refs/heads/master). For more information, /// see Git Internals /// - Git References or consult your Git documentation. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The target for the pull request is not valid. A target must contain the full values /// for the repository name, source branch, and destination branch for the pull request. /// /// /// The targets for the pull request is not valid or not in a valid format. Targets are /// a list of target objects. Each target object must contain the full values for the /// repository name, source branch, and destination branch for a pull request. /// /// /// The title of the pull request is not valid. Pull request titles cannot exceed 100 /// characters in length. /// /// /// You cannot create the pull request because the repository has too many open pull requests. /// The maximum number of open pull requests for a repository is 1,000. Close one or more /// open pull requests, and then try again. /// /// /// You cannot include more than one repository in a pull request. Make sure you have /// specified only one repository name in your request, and then try again. /// /// /// The specified reference does not exist. You must provide a full commit ID. /// /// /// A reference name is required, but none was provided. /// /// /// The specified reference is not a supported type. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The source branch and destination branch for the pull request are the same. You must /// specify different branches for the source and destination. /// /// /// A pull request target is required. It cannot be empty or null. A pull request target /// must contain the full values for the repository name, source branch, and destination /// branch for the pull request. /// /// /// An array of target objects is required. It cannot be empty or null. /// /// /// A pull request title is required. It cannot be empty or null. /// /// REST API Reference for CreatePullRequest Operation public virtual CreatePullRequestResponse CreatePullRequest(CreatePullRequestRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePullRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePullRequestResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePullRequest operation. /// /// /// Container for the necessary parameters to execute the CreatePullRequest operation on AmazonCodeCommitClient. /// 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 EndCreatePullRequest /// operation. /// REST API Reference for CreatePullRequest Operation public virtual IAsyncResult BeginCreatePullRequest(CreatePullRequestRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePullRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePullRequestResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePullRequest operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePullRequest. /// /// Returns a CreatePullRequestResult from CodeCommit. /// REST API Reference for CreatePullRequest Operation public virtual CreatePullRequestResponse EndCreatePullRequest(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePullRequestApprovalRule /// /// Creates an approval rule for a pull request. /// /// Container for the necessary parameters to execute the CreatePullRequestApprovalRule service method. /// /// The response from the CreatePullRequestApprovalRule service method, as returned by CodeCommit. /// /// The content for the approval rule is empty. You must provide some content for an approval /// rule. The content cannot be null. /// /// /// An approval rule with that name already exists. Approval rule names must be unique /// within the scope of a pull request. /// /// /// An approval rule name is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The content for the approval rule is not valid. /// /// /// The name for the approval rule is not valid. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The approval rule cannot be added. The pull request has the maximum number of approval /// rules associated with it. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// REST API Reference for CreatePullRequestApprovalRule Operation public virtual CreatePullRequestApprovalRuleResponse CreatePullRequestApprovalRule(CreatePullRequestApprovalRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePullRequestApprovalRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePullRequestApprovalRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePullRequestApprovalRule operation. /// /// /// Container for the necessary parameters to execute the CreatePullRequestApprovalRule operation on AmazonCodeCommitClient. /// 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 EndCreatePullRequestApprovalRule /// operation. /// REST API Reference for CreatePullRequestApprovalRule Operation public virtual IAsyncResult BeginCreatePullRequestApprovalRule(CreatePullRequestApprovalRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePullRequestApprovalRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePullRequestApprovalRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePullRequestApprovalRule operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePullRequestApprovalRule. /// /// Returns a CreatePullRequestApprovalRuleResult from CodeCommit. /// REST API Reference for CreatePullRequestApprovalRule Operation public virtual CreatePullRequestApprovalRuleResponse EndCreatePullRequestApprovalRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateRepository /// /// Creates a new, empty repository. /// /// Container for the necessary parameters to execute the CreateRepository service method. /// /// The response from the CreateRepository service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified repository description is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified tag is not valid. Key names cannot be prefixed with aws:. /// /// /// The map of tags is not valid. /// /// /// A repository resource limit was exceeded. /// /// /// The specified repository name already exists. /// /// /// A repository name is required, but was not specified. /// /// /// The tag policy is not valid. /// /// /// The maximum number of tags for an AWS CodeCommit resource has been exceeded. /// /// REST API Reference for CreateRepository Operation public virtual CreateRepositoryResponse CreateRepository(CreateRepositoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRepositoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateRepository operation. /// /// /// Container for the necessary parameters to execute the CreateRepository operation on AmazonCodeCommitClient. /// 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 EndCreateRepository /// operation. /// REST API Reference for CreateRepository Operation public virtual IAsyncResult BeginCreateRepository(CreateRepositoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRepositoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateRepository operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRepository. /// /// Returns a CreateRepositoryResult from CodeCommit. /// REST API Reference for CreateRepository Operation public virtual CreateRepositoryResponse EndCreateRepository(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateUnreferencedMergeCommit /// /// Creates an unreferenced commit that represents the result of merging two branches /// using a specified merge strategy. This can help you determine the outcome of a potential /// merge. This API cannot be used with the fast-forward merge strategy because that strategy /// does not create a merge commit. /// /// /// /// This unreferenced merge commit can only be accessed using the GetCommit API or through /// git commands such as git fetch. To retrieve this commit, you must specify its commit /// ID or otherwise reference it. /// /// /// /// Container for the necessary parameters to execute the CreateUnreferencedMergeCommit service method. /// /// The response from the CreateUnreferencedMergeCommit service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// The commit message is too long. Provide a shorter string. /// /// /// A commit was not specified. /// /// /// The merge cannot be completed because the target branch has been modified. Another /// user might have modified the target branch while the merge was in progress. Wait a /// few minutes, and then try again. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The file cannot be added because it is too large. The maximum file size is 6 MB, and /// the combined file content change size is 7 MB. Consider making these changes using /// a Git client. /// /// /// The commit cannot be created because no file mode has been specified. A file mode /// is required to update mode permissions for a file. /// /// /// The commit cannot be created because at least one of the overall changes in the commit /// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number /// and size of your changes, or split the changes across multiple folders. /// /// /// The specified commit is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution list is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// The specified email address either contains one or more characters that are not allowed, /// or it exceeds the maximum number of characters allowed for an email address. /// /// /// The specified file mode permission is not valid. For a list of valid file mode permissions, /// see PutFile. /// /// /// The specified merge option is not valid for this operation. Not all merge strategies /// are supported for all operations. /// /// /// The specified path is not valid. /// /// /// Automerge was specified for resolving the conflict, but the replacement type is not /// valid or content is missing. /// /// /// Automerge was specified for resolving the conflict, but the specified replacement /// type is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The pull request cannot be merged automatically into the destination branch. You must /// manually merge the branches and resolve any conflicts. /// /// /// The number of allowed conflict resolution entries was exceeded. /// /// /// The number of files to load exceeds the allowed limit. /// /// /// The number of items to compare between the source or destination branches and the /// merge base has exceeded the maximum allowed. /// /// /// A merge option or stategy is required, and none was provided. /// /// /// More than one conflict resolution entries exists for the conflict. A conflict can /// have only one conflict resolution entry. /// /// /// The user name is not valid because it has exceeded the character limit for author /// names. /// /// /// The folderPath for a location cannot be null. /// /// /// USE_NEW_CONTENT was specified, but no replacement content has been provided. /// /// /// A replacement type is required. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for CreateUnreferencedMergeCommit Operation public virtual CreateUnreferencedMergeCommitResponse CreateUnreferencedMergeCommit(CreateUnreferencedMergeCommitRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUnreferencedMergeCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUnreferencedMergeCommitResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateUnreferencedMergeCommit operation. /// /// /// Container for the necessary parameters to execute the CreateUnreferencedMergeCommit operation on AmazonCodeCommitClient. /// 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 EndCreateUnreferencedMergeCommit /// operation. /// REST API Reference for CreateUnreferencedMergeCommit Operation public virtual IAsyncResult BeginCreateUnreferencedMergeCommit(CreateUnreferencedMergeCommitRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUnreferencedMergeCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUnreferencedMergeCommitResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateUnreferencedMergeCommit operation. /// /// /// The IAsyncResult returned by the call to BeginCreateUnreferencedMergeCommit. /// /// Returns a CreateUnreferencedMergeCommitResult from CodeCommit. /// REST API Reference for CreateUnreferencedMergeCommit Operation public virtual CreateUnreferencedMergeCommitResponse EndCreateUnreferencedMergeCommit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteApprovalRuleTemplate /// /// Deletes a specified approval rule template. Deleting a template does not remove approval /// rules on pull requests already created with the template. /// /// Container for the necessary parameters to execute the DeleteApprovalRuleTemplate service method. /// /// The response from the DeleteApprovalRuleTemplate service method, as returned by CodeCommit. /// /// The approval rule template is associated with one or more repositories. You cannot /// delete a template that is associated with a repository. Remove all associations, and /// then try again. /// /// /// An approval rule template name is required, but was not specified. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// REST API Reference for DeleteApprovalRuleTemplate Operation public virtual DeleteApprovalRuleTemplateResponse DeleteApprovalRuleTemplate(DeleteApprovalRuleTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApprovalRuleTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApprovalRuleTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteApprovalRuleTemplate operation. /// /// /// Container for the necessary parameters to execute the DeleteApprovalRuleTemplate operation on AmazonCodeCommitClient. /// 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 EndDeleteApprovalRuleTemplate /// operation. /// REST API Reference for DeleteApprovalRuleTemplate Operation public virtual IAsyncResult BeginDeleteApprovalRuleTemplate(DeleteApprovalRuleTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApprovalRuleTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApprovalRuleTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteApprovalRuleTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteApprovalRuleTemplate. /// /// Returns a DeleteApprovalRuleTemplateResult from CodeCommit. /// REST API Reference for DeleteApprovalRuleTemplate Operation public virtual DeleteApprovalRuleTemplateResponse EndDeleteApprovalRuleTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteBranch /// /// Deletes a branch from a repository, unless that branch is the default branch for the /// repository. /// /// Container for the necessary parameters to execute the DeleteBranch service method. /// /// The response from the DeleteBranch service method, as returned by CodeCommit. /// /// A branch name is required, but was not specified. /// /// /// The specified branch is the default branch for the repository, and cannot be deleted. /// To delete this branch, you must first set another branch as the default branch. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified reference name is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for DeleteBranch Operation public virtual DeleteBranchResponse DeleteBranch(DeleteBranchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBranchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteBranch operation. /// /// /// Container for the necessary parameters to execute the DeleteBranch operation on AmazonCodeCommitClient. /// 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 EndDeleteBranch /// operation. /// REST API Reference for DeleteBranch Operation public virtual IAsyncResult BeginDeleteBranch(DeleteBranchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBranchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteBranch operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteBranch. /// /// Returns a DeleteBranchResult from CodeCommit. /// REST API Reference for DeleteBranch Operation public virtual DeleteBranchResponse EndDeleteBranch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCommentContent /// /// Deletes the content of a comment made on a change, file, or commit in a repository. /// /// Container for the necessary parameters to execute the DeleteCommentContent service method. /// /// The response from the DeleteCommentContent service method, as returned by CodeCommit. /// /// This comment has already been deleted. You cannot edit or delete a deleted comment. /// /// /// No comment exists with the provided ID. Verify that you have used the correct ID, /// and then try again. /// /// /// The comment ID is missing or null. A comment ID is required. /// /// /// The comment ID is not in a valid format. Make sure that you have provided the full /// comment ID. /// /// REST API Reference for DeleteCommentContent Operation public virtual DeleteCommentContentResponse DeleteCommentContent(DeleteCommentContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCommentContentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCommentContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCommentContent operation. /// /// /// Container for the necessary parameters to execute the DeleteCommentContent operation on AmazonCodeCommitClient. /// 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 EndDeleteCommentContent /// operation. /// REST API Reference for DeleteCommentContent Operation public virtual IAsyncResult BeginDeleteCommentContent(DeleteCommentContentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCommentContentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCommentContentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCommentContent operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCommentContent. /// /// Returns a DeleteCommentContentResult from CodeCommit. /// REST API Reference for DeleteCommentContent Operation public virtual DeleteCommentContentResponse EndDeleteCommentContent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteFile /// /// Deletes a specified file from a specified branch. A commit is created on the branch /// that contains the revision. The file still exists in the commits earlier to the commit /// that contains the deletion. /// /// Container for the necessary parameters to execute the DeleteFile service method. /// /// The response from the DeleteFile service method, as returned by CodeCommit. /// /// The specified branch does not exist. /// /// /// The specified branch name is not valid because it is a tag name. Enter the name of /// a branch in the repository. For a list of valid branch names, use ListBranches. /// /// /// A branch name is required, but was not specified. /// /// /// The commit message is too long. Provide a shorter string. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified file does not exist. Verify that you have used the correct file name, /// full path, and extension. /// /// /// The specified reference name is not valid. /// /// /// The specified email address either contains one or more characters that are not allowed, /// or it exceeds the maximum number of characters allowed for an email address. /// /// /// The parent commit ID is not valid. The commit ID cannot be empty, and must match the /// head commit ID for the branch of the repository where you want to add or update a /// file. /// /// /// The specified path is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The user name is not valid because it has exceeded the character limit for author /// names. /// /// /// The parent commit ID is not valid because it does not exist. The specified parent /// commit ID does not exist in the specified branch of the repository. /// /// /// The file could not be added because the provided parent commit ID is not the current /// tip of the specified branch. To view the full commit ID of the current head of the /// branch, use GetBranch. /// /// /// A parent commit ID is required. To view the full commit ID of a branch in a repository, /// use GetBranch or a Git command (for example, git pull or git log). /// /// /// The folderPath for a location cannot be null. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for DeleteFile Operation public virtual DeleteFileResponse DeleteFile(DeleteFileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteFile operation. /// /// /// Container for the necessary parameters to execute the DeleteFile operation on AmazonCodeCommitClient. /// 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 EndDeleteFile /// operation. /// REST API Reference for DeleteFile Operation public virtual IAsyncResult BeginDeleteFile(DeleteFileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteFile operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteFile. /// /// Returns a DeleteFileResult from CodeCommit. /// REST API Reference for DeleteFile Operation public virtual DeleteFileResponse EndDeleteFile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePullRequestApprovalRule /// /// Deletes an approval rule from a specified pull request. Approval rules can be deleted /// from a pull request only if the pull request is open, and if the approval rule was /// created specifically for a pull request and not generated from an approval rule template /// associated with the repository where the pull request was created. You cannot delete /// an approval rule from a merged or closed pull request. /// /// Container for the necessary parameters to execute the DeletePullRequestApprovalRule service method. /// /// The response from the DeletePullRequestApprovalRule service method, as returned by CodeCommit. /// /// An approval rule name is required, but was not specified. /// /// /// The approval rule cannot be deleted from the pull request because it was created by /// an approval rule template and applied to the pull request automatically. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The name for the approval rule is not valid. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// REST API Reference for DeletePullRequestApprovalRule Operation public virtual DeletePullRequestApprovalRuleResponse DeletePullRequestApprovalRule(DeletePullRequestApprovalRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePullRequestApprovalRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePullRequestApprovalRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePullRequestApprovalRule operation. /// /// /// Container for the necessary parameters to execute the DeletePullRequestApprovalRule operation on AmazonCodeCommitClient. /// 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 EndDeletePullRequestApprovalRule /// operation. /// REST API Reference for DeletePullRequestApprovalRule Operation public virtual IAsyncResult BeginDeletePullRequestApprovalRule(DeletePullRequestApprovalRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePullRequestApprovalRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePullRequestApprovalRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePullRequestApprovalRule operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePullRequestApprovalRule. /// /// Returns a DeletePullRequestApprovalRuleResult from CodeCommit. /// REST API Reference for DeletePullRequestApprovalRule Operation public virtual DeletePullRequestApprovalRuleResponse EndDeletePullRequestApprovalRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteRepository /// /// Deletes a repository. If a specified repository was already deleted, a null repository /// ID is returned. /// /// /// /// Deleting a repository also deletes all associated objects and metadata. After a repository /// is deleted, all future push calls to the deleted repository fail. /// /// /// /// Container for the necessary parameters to execute the DeleteRepository service method. /// /// The response from the DeleteRepository service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for DeleteRepository Operation public virtual DeleteRepositoryResponse DeleteRepository(DeleteRepositoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRepositoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteRepository operation. /// /// /// Container for the necessary parameters to execute the DeleteRepository operation on AmazonCodeCommitClient. /// 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 EndDeleteRepository /// operation. /// REST API Reference for DeleteRepository Operation public virtual IAsyncResult BeginDeleteRepository(DeleteRepositoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRepositoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRepository operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRepository. /// /// Returns a DeleteRepositoryResult from CodeCommit. /// REST API Reference for DeleteRepository Operation public virtual DeleteRepositoryResponse EndDeleteRepository(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeMergeConflicts /// /// Returns information about one or more merge conflicts in the attempted merge of two /// commit specifiers using the squash or three-way merge strategy. If the merge option /// for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown. /// /// Container for the necessary parameters to execute the DescribeMergeConflicts service method. /// /// The response from the DescribeMergeConflicts service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified file does not exist. Verify that you have used the correct file name, /// full path, and extension. /// /// /// The specified commit is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// The specified continuation token is not valid. /// /// /// The specified value for the number of merge hunks to return is not valid. /// /// /// The specified merge option is not valid for this operation. Not all merge strategies /// are supported for all operations. /// /// /// The specified path is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The number of files to load exceeds the allowed limit. /// /// /// The number of items to compare between the source or destination branches and the /// merge base has exceeded the maximum allowed. /// /// /// A merge option or stategy is required, and none was provided. /// /// /// The folderPath for a location cannot be null. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for DescribeMergeConflicts Operation public virtual DescribeMergeConflictsResponse DescribeMergeConflicts(DescribeMergeConflictsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMergeConflictsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMergeConflictsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeMergeConflicts operation. /// /// /// Container for the necessary parameters to execute the DescribeMergeConflicts operation on AmazonCodeCommitClient. /// 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 EndDescribeMergeConflicts /// operation. /// REST API Reference for DescribeMergeConflicts Operation public virtual IAsyncResult BeginDescribeMergeConflicts(DescribeMergeConflictsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMergeConflictsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMergeConflictsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeMergeConflicts operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeMergeConflicts. /// /// Returns a DescribeMergeConflictsResult from CodeCommit. /// REST API Reference for DescribeMergeConflicts Operation public virtual DescribeMergeConflictsResponse EndDescribeMergeConflicts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribePullRequestEvents /// /// Returns information about one or more pull request events. /// /// Container for the necessary parameters to execute the DescribePullRequestEvents service method. /// /// The response from the DescribePullRequestEvents service method, as returned by CodeCommit. /// /// The specified Amazon Resource Name (ARN) does not exist in the AWS account. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the /// full ARN for the user who initiated the change for the pull request, and then try /// again. /// /// /// The specified continuation token is not valid. /// /// /// The specified number of maximum results is not valid. /// /// /// The pull request event type is not valid. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// REST API Reference for DescribePullRequestEvents Operation public virtual DescribePullRequestEventsResponse DescribePullRequestEvents(DescribePullRequestEventsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePullRequestEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePullRequestEventsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribePullRequestEvents operation. /// /// /// Container for the necessary parameters to execute the DescribePullRequestEvents operation on AmazonCodeCommitClient. /// 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 EndDescribePullRequestEvents /// operation. /// REST API Reference for DescribePullRequestEvents Operation public virtual IAsyncResult BeginDescribePullRequestEvents(DescribePullRequestEventsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePullRequestEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePullRequestEventsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribePullRequestEvents operation. /// /// /// The IAsyncResult returned by the call to BeginDescribePullRequestEvents. /// /// Returns a DescribePullRequestEventsResult from CodeCommit. /// REST API Reference for DescribePullRequestEvents Operation public virtual DescribePullRequestEventsResponse EndDescribePullRequestEvents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisassociateApprovalRuleTemplateFromRepository /// /// Removes the association between a template and a repository so that approval rules /// based on the template are not automatically created when pull requests are created /// in the specified repository. This does not delete any approval rules previously created /// for pull requests through the template association. /// /// Container for the necessary parameters to execute the DisassociateApprovalRuleTemplateFromRepository service method. /// /// The response from the DisassociateApprovalRuleTemplateFromRepository service method, as returned by CodeCommit. /// /// The specified approval rule template does not exist. Verify that the name is correct /// and that you are signed in to the AWS Region where the template was created, and then /// try again. /// /// /// An approval rule template name is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for DisassociateApprovalRuleTemplateFromRepository Operation public virtual DisassociateApprovalRuleTemplateFromRepositoryResponse DisassociateApprovalRuleTemplateFromRepository(DisassociateApprovalRuleTemplateFromRepositoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApprovalRuleTemplateFromRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApprovalRuleTemplateFromRepositoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisassociateApprovalRuleTemplateFromRepository operation. /// /// /// Container for the necessary parameters to execute the DisassociateApprovalRuleTemplateFromRepository operation on AmazonCodeCommitClient. /// 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 EndDisassociateApprovalRuleTemplateFromRepository /// operation. /// REST API Reference for DisassociateApprovalRuleTemplateFromRepository Operation public virtual IAsyncResult BeginDisassociateApprovalRuleTemplateFromRepository(DisassociateApprovalRuleTemplateFromRepositoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApprovalRuleTemplateFromRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApprovalRuleTemplateFromRepositoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisassociateApprovalRuleTemplateFromRepository operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateApprovalRuleTemplateFromRepository. /// /// Returns a DisassociateApprovalRuleTemplateFromRepositoryResult from CodeCommit. /// REST API Reference for DisassociateApprovalRuleTemplateFromRepository Operation public virtual DisassociateApprovalRuleTemplateFromRepositoryResponse EndDisassociateApprovalRuleTemplateFromRepository(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region EvaluatePullRequestApprovalRules /// /// Evaluates whether a pull request has met all the conditions specified in its associated /// approval rules. /// /// Container for the necessary parameters to execute the EvaluatePullRequestApprovalRules service method. /// /// The response from the EvaluatePullRequestApprovalRules service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The revision ID is not valid. Use GetPullRequest to determine the value. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// A revision ID is required, but was not provided. /// /// /// The revision ID provided in the request does not match the current revision ID. Use /// GetPullRequest to retrieve the current revision ID. /// /// REST API Reference for EvaluatePullRequestApprovalRules Operation public virtual EvaluatePullRequestApprovalRulesResponse EvaluatePullRequestApprovalRules(EvaluatePullRequestApprovalRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EvaluatePullRequestApprovalRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = EvaluatePullRequestApprovalRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the EvaluatePullRequestApprovalRules operation. /// /// /// Container for the necessary parameters to execute the EvaluatePullRequestApprovalRules operation on AmazonCodeCommitClient. /// 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 EndEvaluatePullRequestApprovalRules /// operation. /// REST API Reference for EvaluatePullRequestApprovalRules Operation public virtual IAsyncResult BeginEvaluatePullRequestApprovalRules(EvaluatePullRequestApprovalRulesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = EvaluatePullRequestApprovalRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = EvaluatePullRequestApprovalRulesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the EvaluatePullRequestApprovalRules operation. /// /// /// The IAsyncResult returned by the call to BeginEvaluatePullRequestApprovalRules. /// /// Returns a EvaluatePullRequestApprovalRulesResult from CodeCommit. /// REST API Reference for EvaluatePullRequestApprovalRules Operation public virtual EvaluatePullRequestApprovalRulesResponse EndEvaluatePullRequestApprovalRules(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetApprovalRuleTemplate /// /// Returns information about a specified approval rule template. /// /// Container for the necessary parameters to execute the GetApprovalRuleTemplate service method. /// /// The response from the GetApprovalRuleTemplate service method, as returned by CodeCommit. /// /// The specified approval rule template does not exist. Verify that the name is correct /// and that you are signed in to the AWS Region where the template was created, and then /// try again. /// /// /// An approval rule template name is required, but was not specified. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// REST API Reference for GetApprovalRuleTemplate Operation public virtual GetApprovalRuleTemplateResponse GetApprovalRuleTemplate(GetApprovalRuleTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetApprovalRuleTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApprovalRuleTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetApprovalRuleTemplate operation. /// /// /// Container for the necessary parameters to execute the GetApprovalRuleTemplate operation on AmazonCodeCommitClient. /// 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 EndGetApprovalRuleTemplate /// operation. /// REST API Reference for GetApprovalRuleTemplate Operation public virtual IAsyncResult BeginGetApprovalRuleTemplate(GetApprovalRuleTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetApprovalRuleTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetApprovalRuleTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetApprovalRuleTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginGetApprovalRuleTemplate. /// /// Returns a GetApprovalRuleTemplateResult from CodeCommit. /// REST API Reference for GetApprovalRuleTemplate Operation public virtual GetApprovalRuleTemplateResponse EndGetApprovalRuleTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetBlob /// /// Returns the base-64 encoded content of an individual blob in a repository. /// /// Container for the necessary parameters to execute the GetBlob service method. /// /// The response from the GetBlob service method, as returned by CodeCommit. /// /// The specified blob does not exist. /// /// /// A blob ID is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified file exceeds the file size limit for AWS CodeCommit. For more information /// about limits in AWS CodeCommit, see AWS /// CodeCommit User Guide. /// /// /// The specified blob is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetBlob Operation public virtual GetBlobResponse GetBlob(GetBlobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBlobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBlobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetBlob operation. /// /// /// Container for the necessary parameters to execute the GetBlob operation on AmazonCodeCommitClient. /// 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 EndGetBlob /// operation. /// REST API Reference for GetBlob Operation public virtual IAsyncResult BeginGetBlob(GetBlobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBlobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBlobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetBlob operation. /// /// /// The IAsyncResult returned by the call to BeginGetBlob. /// /// Returns a GetBlobResult from CodeCommit. /// REST API Reference for GetBlob Operation public virtual GetBlobResponse EndGetBlob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetBranch /// /// Returns information about a repository branch, including its name and the last commit /// ID. /// /// Container for the necessary parameters to execute the GetBranch service method. /// /// The response from the GetBranch service method, as returned by CodeCommit. /// /// The specified branch does not exist. /// /// /// A branch name is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified reference name is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetBranch Operation public virtual GetBranchResponse GetBranch(GetBranchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBranchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetBranch operation. /// /// /// Container for the necessary parameters to execute the GetBranch operation on AmazonCodeCommitClient. /// 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 EndGetBranch /// operation. /// REST API Reference for GetBranch Operation public virtual IAsyncResult BeginGetBranch(GetBranchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBranchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetBranch operation. /// /// /// The IAsyncResult returned by the call to BeginGetBranch. /// /// Returns a GetBranchResult from CodeCommit. /// REST API Reference for GetBranch Operation public virtual GetBranchResponse EndGetBranch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetComment /// /// Returns the content of a comment made on a change, file, or commit in a repository. /// /// /// /// /// Reaction counts might include numbers from user identities who were deleted after /// the reaction was made. For a count of reactions from active identities, use GetCommentReactions. /// /// /// /// Container for the necessary parameters to execute the GetComment service method. /// /// The response from the GetComment service method, as returned by CodeCommit. /// /// This comment has already been deleted. You cannot edit or delete a deleted comment. /// /// /// No comment exists with the provided ID. Verify that you have used the correct ID, /// and then try again. /// /// /// The comment ID is missing or null. A comment ID is required. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The comment ID is not in a valid format. Make sure that you have provided the full /// comment ID. /// /// REST API Reference for GetComment Operation public virtual GetCommentResponse GetComment(GetCommentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetComment operation. /// /// /// Container for the necessary parameters to execute the GetComment operation on AmazonCodeCommitClient. /// 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 EndGetComment /// operation. /// REST API Reference for GetComment Operation public virtual IAsyncResult BeginGetComment(GetCommentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetComment operation. /// /// /// The IAsyncResult returned by the call to BeginGetComment. /// /// Returns a GetCommentResult from CodeCommit. /// REST API Reference for GetComment Operation public virtual GetCommentResponse EndGetComment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCommentReactions /// /// Returns information about reactions to a specified comment ID. Reactions from users /// who have been deleted will not be included in the count. /// /// Container for the necessary parameters to execute the GetCommentReactions service method. /// /// The response from the GetCommentReactions service method, as returned by CodeCommit. /// /// This comment has already been deleted. You cannot edit or delete a deleted comment. /// /// /// No comment exists with the provided ID. Verify that you have used the correct ID, /// and then try again. /// /// /// The comment ID is missing or null. A comment ID is required. /// /// /// The comment ID is not in a valid format. Make sure that you have provided the full /// comment ID. /// /// /// The specified continuation token is not valid. /// /// /// The specified number of maximum results is not valid. /// /// /// The Amazon Resource Name (ARN) of the user or identity is not valid. /// /// REST API Reference for GetCommentReactions Operation public virtual GetCommentReactionsResponse GetCommentReactions(GetCommentReactionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommentReactionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommentReactionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCommentReactions operation. /// /// /// Container for the necessary parameters to execute the GetCommentReactions operation on AmazonCodeCommitClient. /// 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 EndGetCommentReactions /// operation. /// REST API Reference for GetCommentReactions Operation public virtual IAsyncResult BeginGetCommentReactions(GetCommentReactionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommentReactionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommentReactionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCommentReactions operation. /// /// /// The IAsyncResult returned by the call to BeginGetCommentReactions. /// /// Returns a GetCommentReactionsResult from CodeCommit. /// REST API Reference for GetCommentReactions Operation public virtual GetCommentReactionsResponse EndGetCommentReactions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCommentsForComparedCommit /// /// Returns information about comments made on the comparison between two commits. /// /// /// /// Reaction counts might include numbers from user identities who were deleted after /// the reaction was made. For a count of reactions from active identities, use GetCommentReactions. /// /// /// /// Container for the necessary parameters to execute the GetCommentsForComparedCommit service method. /// /// The response from the GetCommentsForComparedCommit service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit ID was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified commit ID is not valid. /// /// /// The specified continuation token is not valid. /// /// /// The specified number of maximum results is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetCommentsForComparedCommit Operation public virtual GetCommentsForComparedCommitResponse GetCommentsForComparedCommit(GetCommentsForComparedCommitRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommentsForComparedCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommentsForComparedCommitResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCommentsForComparedCommit operation. /// /// /// Container for the necessary parameters to execute the GetCommentsForComparedCommit operation on AmazonCodeCommitClient. /// 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 EndGetCommentsForComparedCommit /// operation. /// REST API Reference for GetCommentsForComparedCommit Operation public virtual IAsyncResult BeginGetCommentsForComparedCommit(GetCommentsForComparedCommitRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommentsForComparedCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommentsForComparedCommitResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCommentsForComparedCommit operation. /// /// /// The IAsyncResult returned by the call to BeginGetCommentsForComparedCommit. /// /// Returns a GetCommentsForComparedCommitResult from CodeCommit. /// REST API Reference for GetCommentsForComparedCommit Operation public virtual GetCommentsForComparedCommitResponse EndGetCommentsForComparedCommit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCommentsForPullRequest /// /// Returns comments made on a pull request. /// /// /// /// Reaction counts might include numbers from user identities who were deleted after /// the reaction was made. For a count of reactions from active identities, use GetCommentReactions. /// /// /// /// Container for the necessary parameters to execute the GetCommentsForPullRequest service method. /// /// The response from the GetCommentsForPullRequest service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit ID was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified commit ID is not valid. /// /// /// The specified continuation token is not valid. /// /// /// The specified number of maximum results is not valid. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest /// to verify the correct repository name for the pull request ID. /// /// REST API Reference for GetCommentsForPullRequest Operation public virtual GetCommentsForPullRequestResponse GetCommentsForPullRequest(GetCommentsForPullRequestRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommentsForPullRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommentsForPullRequestResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCommentsForPullRequest operation. /// /// /// Container for the necessary parameters to execute the GetCommentsForPullRequest operation on AmazonCodeCommitClient. /// 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 EndGetCommentsForPullRequest /// operation. /// REST API Reference for GetCommentsForPullRequest Operation public virtual IAsyncResult BeginGetCommentsForPullRequest(GetCommentsForPullRequestRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommentsForPullRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommentsForPullRequestResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCommentsForPullRequest operation. /// /// /// The IAsyncResult returned by the call to BeginGetCommentsForPullRequest. /// /// Returns a GetCommentsForPullRequestResult from CodeCommit. /// REST API Reference for GetCommentsForPullRequest Operation public virtual GetCommentsForPullRequestResponse EndGetCommentsForPullRequest(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCommit /// /// Returns information about a commit, including commit message and committer information. /// /// Container for the necessary parameters to execute the GetCommit service method. /// /// The response from the GetCommit service method, as returned by CodeCommit. /// /// The specified commit ID does not exist. /// /// /// A commit ID was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified commit ID is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetCommit Operation public virtual GetCommitResponse GetCommit(GetCommitRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommitResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCommit operation. /// /// /// Container for the necessary parameters to execute the GetCommit operation on AmazonCodeCommitClient. /// 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 EndGetCommit /// operation. /// REST API Reference for GetCommit Operation public virtual IAsyncResult BeginGetCommit(GetCommitRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCommitResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCommit operation. /// /// /// The IAsyncResult returned by the call to BeginGetCommit. /// /// Returns a GetCommitResult from CodeCommit. /// REST API Reference for GetCommit Operation public virtual GetCommitResponse EndGetCommit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDifferences /// /// Returns information about the differences in a valid commit specifier (such as a branch, /// tag, HEAD, commit ID, or other fully qualified reference). Results can be limited /// to a specified path. /// /// Container for the necessary parameters to execute the GetDifferences service method. /// /// The response from the GetDifferences service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified commit is not valid. /// /// /// The specified commit ID is not valid. /// /// /// The specified continuation token is not valid. /// /// /// The specified number of maximum results is not valid. /// /// /// The specified path is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified path does not exist. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetDifferences Operation public virtual GetDifferencesResponse GetDifferences(GetDifferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDifferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDifferencesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDifferences operation. /// /// /// Container for the necessary parameters to execute the GetDifferences operation on AmazonCodeCommitClient. /// 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 EndGetDifferences /// operation. /// REST API Reference for GetDifferences Operation public virtual IAsyncResult BeginGetDifferences(GetDifferencesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDifferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDifferencesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDifferences operation. /// /// /// The IAsyncResult returned by the call to BeginGetDifferences. /// /// Returns a GetDifferencesResult from CodeCommit. /// REST API Reference for GetDifferences Operation public virtual GetDifferencesResponse EndGetDifferences(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetFile /// /// Returns the base-64 encoded contents of a specified file and its metadata. /// /// Container for the necessary parameters to execute the GetFile service method. /// /// The response from the GetFile service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified file does not exist. Verify that you have used the correct file name, /// full path, and extension. /// /// /// The specified file exceeds the file size limit for AWS CodeCommit. For more information /// about limits in AWS CodeCommit, see AWS /// CodeCommit User Guide. /// /// /// The specified commit is not valid. /// /// /// The specified path is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The folderPath for a location cannot be null. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetFile Operation public virtual GetFileResponse GetFile(GetFileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetFile operation. /// /// /// Container for the necessary parameters to execute the GetFile operation on AmazonCodeCommitClient. /// 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 EndGetFile /// operation. /// REST API Reference for GetFile Operation public virtual IAsyncResult BeginGetFile(GetFileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetFile operation. /// /// /// The IAsyncResult returned by the call to BeginGetFile. /// /// Returns a GetFileResult from CodeCommit. /// REST API Reference for GetFile Operation public virtual GetFileResponse EndGetFile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetFolder /// /// Returns the contents of a specified folder in a repository. /// /// Container for the necessary parameters to execute the GetFolder service method. /// /// The response from the GetFolder service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified folder does not exist. Either the folder name is not correct, or you /// did not enter the full path to the folder. /// /// /// The specified commit is not valid. /// /// /// The specified path is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The folderPath for a location cannot be null. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetFolder Operation public virtual GetFolderResponse GetFolder(GetFolderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFolderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetFolder operation. /// /// /// Container for the necessary parameters to execute the GetFolder operation on AmazonCodeCommitClient. /// 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 EndGetFolder /// operation. /// REST API Reference for GetFolder Operation public virtual IAsyncResult BeginGetFolder(GetFolderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFolderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetFolder operation. /// /// /// The IAsyncResult returned by the call to BeginGetFolder. /// /// Returns a GetFolderResult from CodeCommit. /// REST API Reference for GetFolder Operation public virtual GetFolderResponse EndGetFolder(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetMergeCommit /// /// Returns information about a specified merge commit. /// /// Container for the necessary parameters to execute the GetMergeCommit service method. /// /// The response from the GetMergeCommit service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified commit is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetMergeCommit Operation public virtual GetMergeCommitResponse GetMergeCommit(GetMergeCommitRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMergeCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMergeCommitResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetMergeCommit operation. /// /// /// Container for the necessary parameters to execute the GetMergeCommit operation on AmazonCodeCommitClient. /// 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 EndGetMergeCommit /// operation. /// REST API Reference for GetMergeCommit Operation public virtual IAsyncResult BeginGetMergeCommit(GetMergeCommitRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMergeCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMergeCommitResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetMergeCommit operation. /// /// /// The IAsyncResult returned by the call to BeginGetMergeCommit. /// /// Returns a GetMergeCommitResult from CodeCommit. /// REST API Reference for GetMergeCommit Operation public virtual GetMergeCommitResponse EndGetMergeCommit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetMergeConflicts /// /// Returns information about merge conflicts between the before and after commit IDs /// for a pull request in a repository. /// /// Container for the necessary parameters to execute the GetMergeConflicts service method. /// /// The response from the GetMergeConflicts service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified commit is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// The specified continuation token is not valid. /// /// /// The destination commit specifier is not valid. You must provide a valid branch name, /// tag, or full commit ID. /// /// /// The specified value for the number of conflict files to return is not valid. /// /// /// The specified merge option is not valid for this operation. Not all merge strategies /// are supported for all operations. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The source commit specifier is not valid. You must provide a valid branch name, tag, /// or full commit ID. /// /// /// The number of files to load exceeds the allowed limit. /// /// /// The number of items to compare between the source or destination branches and the /// merge base has exceeded the maximum allowed. /// /// /// A merge option or stategy is required, and none was provided. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for GetMergeConflicts Operation public virtual GetMergeConflictsResponse GetMergeConflicts(GetMergeConflictsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMergeConflictsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMergeConflictsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetMergeConflicts operation. /// /// /// Container for the necessary parameters to execute the GetMergeConflicts operation on AmazonCodeCommitClient. /// 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 EndGetMergeConflicts /// operation. /// REST API Reference for GetMergeConflicts Operation public virtual IAsyncResult BeginGetMergeConflicts(GetMergeConflictsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMergeConflictsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMergeConflictsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetMergeConflicts operation. /// /// /// The IAsyncResult returned by the call to BeginGetMergeConflicts. /// /// Returns a GetMergeConflictsResult from CodeCommit. /// REST API Reference for GetMergeConflicts Operation public virtual GetMergeConflictsResponse EndGetMergeConflicts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetMergeOptions /// /// Returns information about the merge options available for merging two specified branches. /// For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts. /// /// Container for the necessary parameters to execute the GetMergeOptions service method. /// /// The response from the GetMergeOptions service method, as returned by CodeCommit. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified commit is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The number of files to load exceeds the allowed limit. /// /// /// The number of items to compare between the source or destination branches and the /// merge base has exceeded the maximum allowed. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for GetMergeOptions Operation public virtual GetMergeOptionsResponse GetMergeOptions(GetMergeOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMergeOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMergeOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetMergeOptions operation. /// /// /// Container for the necessary parameters to execute the GetMergeOptions operation on AmazonCodeCommitClient. /// 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 EndGetMergeOptions /// operation. /// REST API Reference for GetMergeOptions Operation public virtual IAsyncResult BeginGetMergeOptions(GetMergeOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMergeOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMergeOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetMergeOptions operation. /// /// /// The IAsyncResult returned by the call to BeginGetMergeOptions. /// /// Returns a GetMergeOptionsResult from CodeCommit. /// REST API Reference for GetMergeOptions Operation public virtual GetMergeOptionsResponse EndGetMergeOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPullRequest /// /// Gets information about a pull request in a specified repository. /// /// Container for the necessary parameters to execute the GetPullRequest service method. /// /// The response from the GetPullRequest service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// REST API Reference for GetPullRequest Operation public virtual GetPullRequestResponse GetPullRequest(GetPullRequestRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPullRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPullRequestResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPullRequest operation. /// /// /// Container for the necessary parameters to execute the GetPullRequest operation on AmazonCodeCommitClient. /// 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 EndGetPullRequest /// operation. /// REST API Reference for GetPullRequest Operation public virtual IAsyncResult BeginGetPullRequest(GetPullRequestRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPullRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPullRequestResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPullRequest operation. /// /// /// The IAsyncResult returned by the call to BeginGetPullRequest. /// /// Returns a GetPullRequestResult from CodeCommit. /// REST API Reference for GetPullRequest Operation public virtual GetPullRequestResponse EndGetPullRequest(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPullRequestApprovalStates /// /// Gets information about the approval states for a specified pull request. Approval /// states only apply to pull requests that have one or more approval rules applied to /// them. /// /// Container for the necessary parameters to execute the GetPullRequestApprovalStates service method. /// /// The response from the GetPullRequestApprovalStates service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The revision ID is not valid. Use GetPullRequest to determine the value. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// A revision ID is required, but was not provided. /// /// REST API Reference for GetPullRequestApprovalStates Operation public virtual GetPullRequestApprovalStatesResponse GetPullRequestApprovalStates(GetPullRequestApprovalStatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPullRequestApprovalStatesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPullRequestApprovalStatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPullRequestApprovalStates operation. /// /// /// Container for the necessary parameters to execute the GetPullRequestApprovalStates operation on AmazonCodeCommitClient. /// 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 EndGetPullRequestApprovalStates /// operation. /// REST API Reference for GetPullRequestApprovalStates Operation public virtual IAsyncResult BeginGetPullRequestApprovalStates(GetPullRequestApprovalStatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPullRequestApprovalStatesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPullRequestApprovalStatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPullRequestApprovalStates operation. /// /// /// The IAsyncResult returned by the call to BeginGetPullRequestApprovalStates. /// /// Returns a GetPullRequestApprovalStatesResult from CodeCommit. /// REST API Reference for GetPullRequestApprovalStates Operation public virtual GetPullRequestApprovalStatesResponse EndGetPullRequestApprovalStates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPullRequestOverrideState /// /// Returns information about whether approval rules have been set aside (overridden) /// for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity /// that overrode the rules and their requirements for the pull request. /// /// Container for the necessary parameters to execute the GetPullRequestOverrideState service method. /// /// The response from the GetPullRequestOverrideState service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The revision ID is not valid. Use GetPullRequest to determine the value. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// A revision ID is required, but was not provided. /// /// REST API Reference for GetPullRequestOverrideState Operation public virtual GetPullRequestOverrideStateResponse GetPullRequestOverrideState(GetPullRequestOverrideStateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPullRequestOverrideStateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPullRequestOverrideStateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPullRequestOverrideState operation. /// /// /// Container for the necessary parameters to execute the GetPullRequestOverrideState operation on AmazonCodeCommitClient. /// 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 EndGetPullRequestOverrideState /// operation. /// REST API Reference for GetPullRequestOverrideState Operation public virtual IAsyncResult BeginGetPullRequestOverrideState(GetPullRequestOverrideStateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPullRequestOverrideStateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPullRequestOverrideStateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPullRequestOverrideState operation. /// /// /// The IAsyncResult returned by the call to BeginGetPullRequestOverrideState. /// /// Returns a GetPullRequestOverrideStateResult from CodeCommit. /// REST API Reference for GetPullRequestOverrideState Operation public virtual GetPullRequestOverrideStateResponse EndGetPullRequestOverrideState(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetRepository /// /// Returns information about a repository. /// /// /// /// The description field for a repository accepts all HTML characters and all valid Unicode /// characters. Applications that do not HTML-encode the description and display it in /// a webpage can expose users to potentially malicious code. Make sure that you HTML-encode /// the description field in any application that uses this API to display the repository /// description on a webpage. /// /// /// /// Container for the necessary parameters to execute the GetRepository service method. /// /// The response from the GetRepository service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetRepository Operation public virtual GetRepositoryResponse GetRepository(GetRepositoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRepositoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetRepository operation. /// /// /// Container for the necessary parameters to execute the GetRepository operation on AmazonCodeCommitClient. /// 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 EndGetRepository /// operation. /// REST API Reference for GetRepository Operation public virtual IAsyncResult BeginGetRepository(GetRepositoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRepositoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetRepository operation. /// /// /// The IAsyncResult returned by the call to BeginGetRepository. /// /// Returns a GetRepositoryResult from CodeCommit. /// REST API Reference for GetRepository Operation public virtual GetRepositoryResponse EndGetRepository(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetRepositoryTriggers /// /// Gets information about triggers configured for a repository. /// /// Container for the necessary parameters to execute the GetRepositoryTriggers service method. /// /// The response from the GetRepositoryTriggers service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for GetRepositoryTriggers Operation public virtual GetRepositoryTriggersResponse GetRepositoryTriggers(GetRepositoryTriggersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRepositoryTriggersRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRepositoryTriggersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetRepositoryTriggers operation. /// /// /// Container for the necessary parameters to execute the GetRepositoryTriggers operation on AmazonCodeCommitClient. /// 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 EndGetRepositoryTriggers /// operation. /// REST API Reference for GetRepositoryTriggers Operation public virtual IAsyncResult BeginGetRepositoryTriggers(GetRepositoryTriggersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRepositoryTriggersRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRepositoryTriggersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetRepositoryTriggers operation. /// /// /// The IAsyncResult returned by the call to BeginGetRepositoryTriggers. /// /// Returns a GetRepositoryTriggersResult from CodeCommit. /// REST API Reference for GetRepositoryTriggers Operation public virtual GetRepositoryTriggersResponse EndGetRepositoryTriggers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListApprovalRuleTemplates /// /// Lists all approval rule templates in the specified AWS Region in your AWS account. /// If an AWS Region is not specified, the AWS Region where you are signed in is used. /// /// Container for the necessary parameters to execute the ListApprovalRuleTemplates service method. /// /// The response from the ListApprovalRuleTemplates service method, as returned by CodeCommit. /// /// The specified continuation token is not valid. /// /// /// The specified number of maximum results is not valid. /// /// REST API Reference for ListApprovalRuleTemplates Operation public virtual ListApprovalRuleTemplatesResponse ListApprovalRuleTemplates(ListApprovalRuleTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListApprovalRuleTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApprovalRuleTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListApprovalRuleTemplates operation. /// /// /// Container for the necessary parameters to execute the ListApprovalRuleTemplates operation on AmazonCodeCommitClient. /// 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 EndListApprovalRuleTemplates /// operation. /// REST API Reference for ListApprovalRuleTemplates Operation public virtual IAsyncResult BeginListApprovalRuleTemplates(ListApprovalRuleTemplatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListApprovalRuleTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApprovalRuleTemplatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListApprovalRuleTemplates operation. /// /// /// The IAsyncResult returned by the call to BeginListApprovalRuleTemplates. /// /// Returns a ListApprovalRuleTemplatesResult from CodeCommit. /// REST API Reference for ListApprovalRuleTemplates Operation public virtual ListApprovalRuleTemplatesResponse EndListApprovalRuleTemplates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAssociatedApprovalRuleTemplatesForRepository /// /// Lists all approval rule templates that are associated with a specified repository. /// /// Container for the necessary parameters to execute the ListAssociatedApprovalRuleTemplatesForRepository service method. /// /// The response from the ListAssociatedApprovalRuleTemplatesForRepository service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified continuation token is not valid. /// /// /// The specified number of maximum results is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for ListAssociatedApprovalRuleTemplatesForRepository Operation public virtual ListAssociatedApprovalRuleTemplatesForRepositoryResponse ListAssociatedApprovalRuleTemplatesForRepository(ListAssociatedApprovalRuleTemplatesForRepositoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedApprovalRuleTemplatesForRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedApprovalRuleTemplatesForRepositoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAssociatedApprovalRuleTemplatesForRepository operation. /// /// /// Container for the necessary parameters to execute the ListAssociatedApprovalRuleTemplatesForRepository operation on AmazonCodeCommitClient. /// 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 EndListAssociatedApprovalRuleTemplatesForRepository /// operation. /// REST API Reference for ListAssociatedApprovalRuleTemplatesForRepository Operation public virtual IAsyncResult BeginListAssociatedApprovalRuleTemplatesForRepository(ListAssociatedApprovalRuleTemplatesForRepositoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedApprovalRuleTemplatesForRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedApprovalRuleTemplatesForRepositoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAssociatedApprovalRuleTemplatesForRepository operation. /// /// /// The IAsyncResult returned by the call to BeginListAssociatedApprovalRuleTemplatesForRepository. /// /// Returns a ListAssociatedApprovalRuleTemplatesForRepositoryResult from CodeCommit. /// REST API Reference for ListAssociatedApprovalRuleTemplatesForRepository Operation public virtual ListAssociatedApprovalRuleTemplatesForRepositoryResponse EndListAssociatedApprovalRuleTemplatesForRepository(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListBranches /// /// Gets information about one or more branches in a repository. /// /// Container for the necessary parameters to execute the ListBranches service method. /// /// The response from the ListBranches service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified continuation token is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for ListBranches Operation public virtual ListBranchesResponse ListBranches(ListBranchesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBranchesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBranchesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBranches operation. /// /// /// Container for the necessary parameters to execute the ListBranches operation on AmazonCodeCommitClient. /// 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 EndListBranches /// operation. /// REST API Reference for ListBranches Operation public virtual IAsyncResult BeginListBranches(ListBranchesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBranchesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBranchesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBranches operation. /// /// /// The IAsyncResult returned by the call to BeginListBranches. /// /// Returns a ListBranchesResult from CodeCommit. /// REST API Reference for ListBranches Operation public virtual ListBranchesResponse EndListBranches(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPullRequests /// /// Returns a list of pull requests for a specified repository. The return list can be /// refined by pull request status or pull request author ARN. /// /// Container for the necessary parameters to execute the ListPullRequests service method. /// /// The response from the ListPullRequests service method, as returned by CodeCommit. /// /// The specified Amazon Resource Name (ARN) does not exist in the AWS account. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the /// full ARN for the author of the pull request, and then try again. /// /// /// The specified continuation token is not valid. /// /// /// The specified number of maximum results is not valid. /// /// /// The pull request status is not valid. The only valid values are OPEN /// and CLOSED. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for ListPullRequests Operation public virtual ListPullRequestsResponse ListPullRequests(ListPullRequestsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPullRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPullRequestsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPullRequests operation. /// /// /// Container for the necessary parameters to execute the ListPullRequests operation on AmazonCodeCommitClient. /// 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 EndListPullRequests /// operation. /// REST API Reference for ListPullRequests Operation public virtual IAsyncResult BeginListPullRequests(ListPullRequestsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPullRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPullRequestsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPullRequests operation. /// /// /// The IAsyncResult returned by the call to BeginListPullRequests. /// /// Returns a ListPullRequestsResult from CodeCommit. /// REST API Reference for ListPullRequests Operation public virtual ListPullRequestsResponse EndListPullRequests(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListRepositories /// /// Gets information about one or more repositories. /// /// Container for the necessary parameters to execute the ListRepositories service method. /// /// The response from the ListRepositories service method, as returned by CodeCommit. /// /// The specified continuation token is not valid. /// /// /// The specified sort order is not valid. /// /// /// The specified sort by value is not valid. /// /// REST API Reference for ListRepositories Operation public virtual ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRepositoriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListRepositories operation. /// /// /// Container for the necessary parameters to execute the ListRepositories operation on AmazonCodeCommitClient. /// 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 EndListRepositories /// operation. /// REST API Reference for ListRepositories Operation public virtual IAsyncResult BeginListRepositories(ListRepositoriesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRepositoriesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRepositories operation. /// /// /// The IAsyncResult returned by the call to BeginListRepositories. /// /// Returns a ListRepositoriesResult from CodeCommit. /// REST API Reference for ListRepositories Operation public virtual ListRepositoriesResponse EndListRepositories(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListRepositoriesForApprovalRuleTemplate /// /// Lists all repositories associated with the specified approval rule template. /// /// Container for the necessary parameters to execute the ListRepositoriesForApprovalRuleTemplate service method. /// /// The response from the ListRepositoriesForApprovalRuleTemplate service method, as returned by CodeCommit. /// /// The specified approval rule template does not exist. Verify that the name is correct /// and that you are signed in to the AWS Region where the template was created, and then /// try again. /// /// /// An approval rule template name is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// /// The specified continuation token is not valid. /// /// /// The specified number of maximum results is not valid. /// /// REST API Reference for ListRepositoriesForApprovalRuleTemplate Operation public virtual ListRepositoriesForApprovalRuleTemplateResponse ListRepositoriesForApprovalRuleTemplate(ListRepositoriesForApprovalRuleTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRepositoriesForApprovalRuleTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRepositoriesForApprovalRuleTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListRepositoriesForApprovalRuleTemplate operation. /// /// /// Container for the necessary parameters to execute the ListRepositoriesForApprovalRuleTemplate operation on AmazonCodeCommitClient. /// 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 EndListRepositoriesForApprovalRuleTemplate /// operation. /// REST API Reference for ListRepositoriesForApprovalRuleTemplate Operation public virtual IAsyncResult BeginListRepositoriesForApprovalRuleTemplate(ListRepositoriesForApprovalRuleTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRepositoriesForApprovalRuleTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRepositoriesForApprovalRuleTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRepositoriesForApprovalRuleTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginListRepositoriesForApprovalRuleTemplate. /// /// Returns a ListRepositoriesForApprovalRuleTemplateResult from CodeCommit. /// REST API Reference for ListRepositoriesForApprovalRuleTemplate Operation public virtual ListRepositoriesForApprovalRuleTemplateResponse EndListRepositoriesForApprovalRuleTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS /// CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit /// Resources and Operations in the AWS CodeCommit User Guide. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by CodeCommit. /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The value for the resource ARN is not valid. For more information about resources /// in AWS CodeCommit, see CodeCommit /// Resources and Operations in the AWS CodeCommit User Guide. /// /// /// The specified repository does not exist. /// /// /// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For /// a list of valid resources in AWS CodeCommit, see CodeCommit /// Resources and Operations in the AWS CodeCommit User Guide. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonCodeCommitClient. /// 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 EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from CodeCommit. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region MergeBranchesByFastForward /// /// Merges two branches using the fast-forward merge strategy. /// /// Container for the necessary parameters to execute the MergeBranchesByFastForward service method. /// /// The response from the MergeBranchesByFastForward service method, as returned by CodeCommit. /// /// The specified branch does not exist. /// /// /// The specified branch name is not valid because it is a tag name. Enter the name of /// a branch in the repository. For a list of valid branch names, use ListBranches. /// /// /// A branch name is required, but was not specified. /// /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit was not specified. /// /// /// The merge cannot be completed because the target branch has been modified. Another /// user might have modified the target branch while the merge was in progress. Wait a /// few minutes, and then try again. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified reference name is not valid. /// /// /// The specified commit is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified target branch is not valid. /// /// /// The pull request cannot be merged automatically into the destination branch. You must /// manually merge the branches and resolve any conflicts. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for MergeBranchesByFastForward Operation public virtual MergeBranchesByFastForwardResponse MergeBranchesByFastForward(MergeBranchesByFastForwardRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MergeBranchesByFastForwardRequestMarshaller.Instance; options.ResponseUnmarshaller = MergeBranchesByFastForwardResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the MergeBranchesByFastForward operation. /// /// /// Container for the necessary parameters to execute the MergeBranchesByFastForward operation on AmazonCodeCommitClient. /// 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 EndMergeBranchesByFastForward /// operation. /// REST API Reference for MergeBranchesByFastForward Operation public virtual IAsyncResult BeginMergeBranchesByFastForward(MergeBranchesByFastForwardRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = MergeBranchesByFastForwardRequestMarshaller.Instance; options.ResponseUnmarshaller = MergeBranchesByFastForwardResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the MergeBranchesByFastForward operation. /// /// /// The IAsyncResult returned by the call to BeginMergeBranchesByFastForward. /// /// Returns a MergeBranchesByFastForwardResult from CodeCommit. /// REST API Reference for MergeBranchesByFastForward Operation public virtual MergeBranchesByFastForwardResponse EndMergeBranchesByFastForward(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region MergeBranchesBySquash /// /// Merges two branches using the squash merge strategy. /// /// Container for the necessary parameters to execute the MergeBranchesBySquash service method. /// /// The response from the MergeBranchesBySquash service method, as returned by CodeCommit. /// /// The specified branch does not exist. /// /// /// The specified branch name is not valid because it is a tag name. Enter the name of /// a branch in the repository. For a list of valid branch names, use ListBranches. /// /// /// A branch name is required, but was not specified. /// /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// The commit message is too long. Provide a shorter string. /// /// /// A commit was not specified. /// /// /// The merge cannot be completed because the target branch has been modified. Another /// user might have modified the target branch while the merge was in progress. Wait a /// few minutes, and then try again. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The file cannot be added because it is too large. The maximum file size is 6 MB, and /// the combined file content change size is 7 MB. Consider making these changes using /// a Git client. /// /// /// The commit cannot be created because no file mode has been specified. A file mode /// is required to update mode permissions for a file. /// /// /// The commit cannot be created because at least one of the overall changes in the commit /// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number /// and size of your changes, or split the changes across multiple folders. /// /// /// The specified reference name is not valid. /// /// /// The specified commit is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution list is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// The specified email address either contains one or more characters that are not allowed, /// or it exceeds the maximum number of characters allowed for an email address. /// /// /// The specified file mode permission is not valid. For a list of valid file mode permissions, /// see PutFile. /// /// /// The specified path is not valid. /// /// /// Automerge was specified for resolving the conflict, but the replacement type is not /// valid or content is missing. /// /// /// Automerge was specified for resolving the conflict, but the specified replacement /// type is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified target branch is not valid. /// /// /// The pull request cannot be merged automatically into the destination branch. You must /// manually merge the branches and resolve any conflicts. /// /// /// The number of allowed conflict resolution entries was exceeded. /// /// /// The number of files to load exceeds the allowed limit. /// /// /// The number of items to compare between the source or destination branches and the /// merge base has exceeded the maximum allowed. /// /// /// More than one conflict resolution entries exists for the conflict. A conflict can /// have only one conflict resolution entry. /// /// /// The user name is not valid because it has exceeded the character limit for author /// names. /// /// /// The folderPath for a location cannot be null. /// /// /// USE_NEW_CONTENT was specified, but no replacement content has been provided. /// /// /// A replacement type is required. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for MergeBranchesBySquash Operation public virtual MergeBranchesBySquashResponse MergeBranchesBySquash(MergeBranchesBySquashRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MergeBranchesBySquashRequestMarshaller.Instance; options.ResponseUnmarshaller = MergeBranchesBySquashResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the MergeBranchesBySquash operation. /// /// /// Container for the necessary parameters to execute the MergeBranchesBySquash operation on AmazonCodeCommitClient. /// 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 EndMergeBranchesBySquash /// operation. /// REST API Reference for MergeBranchesBySquash Operation public virtual IAsyncResult BeginMergeBranchesBySquash(MergeBranchesBySquashRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = MergeBranchesBySquashRequestMarshaller.Instance; options.ResponseUnmarshaller = MergeBranchesBySquashResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the MergeBranchesBySquash operation. /// /// /// The IAsyncResult returned by the call to BeginMergeBranchesBySquash. /// /// Returns a MergeBranchesBySquashResult from CodeCommit. /// REST API Reference for MergeBranchesBySquash Operation public virtual MergeBranchesBySquashResponse EndMergeBranchesBySquash(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region MergeBranchesByThreeWay /// /// Merges two specified branches using the three-way merge strategy. /// /// Container for the necessary parameters to execute the MergeBranchesByThreeWay service method. /// /// The response from the MergeBranchesByThreeWay service method, as returned by CodeCommit. /// /// The specified branch does not exist. /// /// /// The specified branch name is not valid because it is a tag name. Enter the name of /// a branch in the repository. For a list of valid branch names, use ListBranches. /// /// /// A branch name is required, but was not specified. /// /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// The commit message is too long. Provide a shorter string. /// /// /// A commit was not specified. /// /// /// The merge cannot be completed because the target branch has been modified. Another /// user might have modified the target branch while the merge was in progress. Wait a /// few minutes, and then try again. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The file cannot be added because it is too large. The maximum file size is 6 MB, and /// the combined file content change size is 7 MB. Consider making these changes using /// a Git client. /// /// /// The commit cannot be created because no file mode has been specified. A file mode /// is required to update mode permissions for a file. /// /// /// The commit cannot be created because at least one of the overall changes in the commit /// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number /// and size of your changes, or split the changes across multiple folders. /// /// /// The specified reference name is not valid. /// /// /// The specified commit is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution list is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// The specified email address either contains one or more characters that are not allowed, /// or it exceeds the maximum number of characters allowed for an email address. /// /// /// The specified file mode permission is not valid. For a list of valid file mode permissions, /// see PutFile. /// /// /// The specified path is not valid. /// /// /// Automerge was specified for resolving the conflict, but the replacement type is not /// valid or content is missing. /// /// /// Automerge was specified for resolving the conflict, but the specified replacement /// type is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified target branch is not valid. /// /// /// The pull request cannot be merged automatically into the destination branch. You must /// manually merge the branches and resolve any conflicts. /// /// /// The number of allowed conflict resolution entries was exceeded. /// /// /// The number of files to load exceeds the allowed limit. /// /// /// The number of items to compare between the source or destination branches and the /// merge base has exceeded the maximum allowed. /// /// /// More than one conflict resolution entries exists for the conflict. A conflict can /// have only one conflict resolution entry. /// /// /// The user name is not valid because it has exceeded the character limit for author /// names. /// /// /// The folderPath for a location cannot be null. /// /// /// USE_NEW_CONTENT was specified, but no replacement content has been provided. /// /// /// A replacement type is required. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for MergeBranchesByThreeWay Operation public virtual MergeBranchesByThreeWayResponse MergeBranchesByThreeWay(MergeBranchesByThreeWayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MergeBranchesByThreeWayRequestMarshaller.Instance; options.ResponseUnmarshaller = MergeBranchesByThreeWayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the MergeBranchesByThreeWay operation. /// /// /// Container for the necessary parameters to execute the MergeBranchesByThreeWay operation on AmazonCodeCommitClient. /// 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 EndMergeBranchesByThreeWay /// operation. /// REST API Reference for MergeBranchesByThreeWay Operation public virtual IAsyncResult BeginMergeBranchesByThreeWay(MergeBranchesByThreeWayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = MergeBranchesByThreeWayRequestMarshaller.Instance; options.ResponseUnmarshaller = MergeBranchesByThreeWayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the MergeBranchesByThreeWay operation. /// /// /// The IAsyncResult returned by the call to BeginMergeBranchesByThreeWay. /// /// Returns a MergeBranchesByThreeWayResult from CodeCommit. /// REST API Reference for MergeBranchesByThreeWay Operation public virtual MergeBranchesByThreeWayResponse EndMergeBranchesByThreeWay(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region MergePullRequestByFastForward /// /// Attempts to merge the source commit of a pull request into the specified destination /// branch for that pull request at the specified commit using the fast-forward merge /// strategy. If the merge is successful, it closes the pull request. /// /// Container for the necessary parameters to execute the MergePullRequestByFastForward service method. /// /// The response from the MergePullRequestByFastForward service method, as returned by CodeCommit. /// /// The merge cannot be completed because the target branch has been modified. Another /// user might have modified the target branch while the merge was in progress. Wait a /// few minutes, and then try again. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified commit ID is not valid. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The pull request cannot be merged automatically into the destination branch. You must /// manually merge the branches and resolve any conflicts. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The pull request cannot be merged because one or more approval rules applied to the /// pull request have conditions that have not been met. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// The specified reference does not exist. You must provide a full commit ID. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest /// to verify the correct repository name for the pull request ID. /// /// /// The tip of the source branch in the destination repository does not match the tip /// of the source branch specified in your request. The pull request might have been updated. /// Make sure that you have the latest changes. /// /// REST API Reference for MergePullRequestByFastForward Operation public virtual MergePullRequestByFastForwardResponse MergePullRequestByFastForward(MergePullRequestByFastForwardRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MergePullRequestByFastForwardRequestMarshaller.Instance; options.ResponseUnmarshaller = MergePullRequestByFastForwardResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the MergePullRequestByFastForward operation. /// /// /// Container for the necessary parameters to execute the MergePullRequestByFastForward operation on AmazonCodeCommitClient. /// 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 EndMergePullRequestByFastForward /// operation. /// REST API Reference for MergePullRequestByFastForward Operation public virtual IAsyncResult BeginMergePullRequestByFastForward(MergePullRequestByFastForwardRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = MergePullRequestByFastForwardRequestMarshaller.Instance; options.ResponseUnmarshaller = MergePullRequestByFastForwardResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the MergePullRequestByFastForward operation. /// /// /// The IAsyncResult returned by the call to BeginMergePullRequestByFastForward. /// /// Returns a MergePullRequestByFastForwardResult from CodeCommit. /// REST API Reference for MergePullRequestByFastForward Operation public virtual MergePullRequestByFastForwardResponse EndMergePullRequestByFastForward(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region MergePullRequestBySquash /// /// Attempts to merge the source commit of a pull request into the specified destination /// branch for that pull request at the specified commit using the squash merge strategy. /// If the merge is successful, it closes the pull request. /// /// Container for the necessary parameters to execute the MergePullRequestBySquash service method. /// /// The response from the MergePullRequestBySquash service method, as returned by CodeCommit. /// /// The commit message is too long. Provide a shorter string. /// /// /// The merge cannot be completed because the target branch has been modified. Another /// user might have modified the target branch while the merge was in progress. Wait a /// few minutes, and then try again. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The file cannot be added because it is too large. The maximum file size is 6 MB, and /// the combined file content change size is 7 MB. Consider making these changes using /// a Git client. /// /// /// The commit cannot be created because at least one of the overall changes in the commit /// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number /// and size of your changes, or split the changes across multiple folders. /// /// /// The specified commit ID is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution list is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// The specified email address either contains one or more characters that are not allowed, /// or it exceeds the maximum number of characters allowed for an email address. /// /// /// The specified file mode permission is not valid. For a list of valid file mode permissions, /// see PutFile. /// /// /// The specified path is not valid. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// Automerge was specified for resolving the conflict, but the replacement type is not /// valid or content is missing. /// /// /// Automerge was specified for resolving the conflict, but the specified replacement /// type is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The pull request cannot be merged automatically into the destination branch. You must /// manually merge the branches and resolve any conflicts. /// /// /// The number of allowed conflict resolution entries was exceeded. /// /// /// The number of files to load exceeds the allowed limit. /// /// /// The number of items to compare between the source or destination branches and the /// merge base has exceeded the maximum allowed. /// /// /// More than one conflict resolution entries exists for the conflict. A conflict can /// have only one conflict resolution entry. /// /// /// The user name is not valid because it has exceeded the character limit for author /// names. /// /// /// The folderPath for a location cannot be null. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The pull request cannot be merged because one or more approval rules applied to the /// pull request have conditions that have not been met. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// USE_NEW_CONTENT was specified, but no replacement content has been provided. /// /// /// A replacement type is required. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest /// to verify the correct repository name for the pull request ID. /// /// /// The tip of the source branch in the destination repository does not match the tip /// of the source branch specified in your request. The pull request might have been updated. /// Make sure that you have the latest changes. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for MergePullRequestBySquash Operation public virtual MergePullRequestBySquashResponse MergePullRequestBySquash(MergePullRequestBySquashRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MergePullRequestBySquashRequestMarshaller.Instance; options.ResponseUnmarshaller = MergePullRequestBySquashResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the MergePullRequestBySquash operation. /// /// /// Container for the necessary parameters to execute the MergePullRequestBySquash operation on AmazonCodeCommitClient. /// 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 EndMergePullRequestBySquash /// operation. /// REST API Reference for MergePullRequestBySquash Operation public virtual IAsyncResult BeginMergePullRequestBySquash(MergePullRequestBySquashRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = MergePullRequestBySquashRequestMarshaller.Instance; options.ResponseUnmarshaller = MergePullRequestBySquashResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the MergePullRequestBySquash operation. /// /// /// The IAsyncResult returned by the call to BeginMergePullRequestBySquash. /// /// Returns a MergePullRequestBySquashResult from CodeCommit. /// REST API Reference for MergePullRequestBySquash Operation public virtual MergePullRequestBySquashResponse EndMergePullRequestBySquash(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region MergePullRequestByThreeWay /// /// Attempts to merge the source commit of a pull request into the specified destination /// branch for that pull request at the specified commit using the three-way merge strategy. /// If the merge is successful, it closes the pull request. /// /// Container for the necessary parameters to execute the MergePullRequestByThreeWay service method. /// /// The response from the MergePullRequestByThreeWay service method, as returned by CodeCommit. /// /// The commit message is too long. Provide a shorter string. /// /// /// The merge cannot be completed because the target branch has been modified. Another /// user might have modified the target branch while the merge was in progress. Wait a /// few minutes, and then try again. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The file cannot be added because it is too large. The maximum file size is 6 MB, and /// the combined file content change size is 7 MB. Consider making these changes using /// a Git client. /// /// /// The commit cannot be created because at least one of the overall changes in the commit /// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number /// and size of your changes, or split the changes across multiple folders. /// /// /// The specified commit ID is not valid. /// /// /// The specified conflict detail level is not valid. /// /// /// The specified conflict resolution list is not valid. /// /// /// The specified conflict resolution strategy is not valid. /// /// /// The specified email address either contains one or more characters that are not allowed, /// or it exceeds the maximum number of characters allowed for an email address. /// /// /// The specified file mode permission is not valid. For a list of valid file mode permissions, /// see PutFile. /// /// /// The specified path is not valid. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// Automerge was specified for resolving the conflict, but the replacement type is not /// valid or content is missing. /// /// /// Automerge was specified for resolving the conflict, but the specified replacement /// type is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The pull request cannot be merged automatically into the destination branch. You must /// manually merge the branches and resolve any conflicts. /// /// /// The number of allowed conflict resolution entries was exceeded. /// /// /// The number of files to load exceeds the allowed limit. /// /// /// The number of items to compare between the source or destination branches and the /// merge base has exceeded the maximum allowed. /// /// /// More than one conflict resolution entries exists for the conflict. A conflict can /// have only one conflict resolution entry. /// /// /// The user name is not valid because it has exceeded the character limit for author /// names. /// /// /// The folderPath for a location cannot be null. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The pull request cannot be merged because one or more approval rules applied to the /// pull request have conditions that have not been met. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// USE_NEW_CONTENT was specified, but no replacement content has been provided. /// /// /// A replacement type is required. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest /// to verify the correct repository name for the pull request ID. /// /// /// The tip of the source branch in the destination repository does not match the tip /// of the source branch specified in your request. The pull request might have been updated. /// Make sure that you have the latest changes. /// /// /// The divergence between the tips of the provided commit specifiers is too great to /// determine whether there might be any merge conflicts. Locally compare the specifiers /// using git diff or a diff tool. /// /// REST API Reference for MergePullRequestByThreeWay Operation public virtual MergePullRequestByThreeWayResponse MergePullRequestByThreeWay(MergePullRequestByThreeWayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MergePullRequestByThreeWayRequestMarshaller.Instance; options.ResponseUnmarshaller = MergePullRequestByThreeWayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the MergePullRequestByThreeWay operation. /// /// /// Container for the necessary parameters to execute the MergePullRequestByThreeWay operation on AmazonCodeCommitClient. /// 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 EndMergePullRequestByThreeWay /// operation. /// REST API Reference for MergePullRequestByThreeWay Operation public virtual IAsyncResult BeginMergePullRequestByThreeWay(MergePullRequestByThreeWayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = MergePullRequestByThreeWayRequestMarshaller.Instance; options.ResponseUnmarshaller = MergePullRequestByThreeWayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the MergePullRequestByThreeWay operation. /// /// /// The IAsyncResult returned by the call to BeginMergePullRequestByThreeWay. /// /// Returns a MergePullRequestByThreeWayResult from CodeCommit. /// REST API Reference for MergePullRequestByThreeWay Operation public virtual MergePullRequestByThreeWayResponse EndMergePullRequestByThreeWay(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region OverridePullRequestApprovalRules /// /// Sets aside (overrides) all approval rule requirements for a specified pull request. /// /// Container for the necessary parameters to execute the OverridePullRequestApprovalRules service method. /// /// The response from the OverridePullRequestApprovalRules service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The override status is not valid. Valid statuses are OVERRIDE and REVOKE. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The revision ID is not valid. Use GetPullRequest to determine the value. /// /// /// The pull request has already had its approval rules set to override. /// /// /// An override status is required, but no value was provided. Valid values include OVERRIDE /// and REVOKE. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// A revision ID is required, but was not provided. /// /// /// The revision ID provided in the request does not match the current revision ID. Use /// GetPullRequest to retrieve the current revision ID. /// /// REST API Reference for OverridePullRequestApprovalRules Operation public virtual OverridePullRequestApprovalRulesResponse OverridePullRequestApprovalRules(OverridePullRequestApprovalRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = OverridePullRequestApprovalRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = OverridePullRequestApprovalRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the OverridePullRequestApprovalRules operation. /// /// /// Container for the necessary parameters to execute the OverridePullRequestApprovalRules operation on AmazonCodeCommitClient. /// 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 EndOverridePullRequestApprovalRules /// operation. /// REST API Reference for OverridePullRequestApprovalRules Operation public virtual IAsyncResult BeginOverridePullRequestApprovalRules(OverridePullRequestApprovalRulesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = OverridePullRequestApprovalRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = OverridePullRequestApprovalRulesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the OverridePullRequestApprovalRules operation. /// /// /// The IAsyncResult returned by the call to BeginOverridePullRequestApprovalRules. /// /// Returns a OverridePullRequestApprovalRulesResult from CodeCommit. /// REST API Reference for OverridePullRequestApprovalRules Operation public virtual OverridePullRequestApprovalRulesResponse EndOverridePullRequestApprovalRules(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PostCommentForComparedCommit /// /// Posts a comment on the comparison between two commits. /// /// Container for the necessary parameters to execute the PostCommentForComparedCommit service method. /// /// The response from the PostCommentForComparedCommit service method, as returned by CodeCommit. /// /// The before commit ID and the after commit ID are the same, which is not valid. The /// before commit ID and the after commit ID must be different commit IDs. /// /// /// A client request token is required. A client request token is an unique, client-generated /// idempotency token that, when provided in a request, ensures the request cannot be /// repeated with a changed parameter. If a request is received with the same parameters /// and a token is included, the request returns information about the initial request /// that used that token. /// /// /// The comment is empty. You must provide some content for a comment. The content cannot /// be null. /// /// /// The comment is too large. Comments are limited to 1,000 characters. /// /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit ID was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The client request token is not valid. Either the token is not in a valid format, /// or the token has been used in a previous request and cannot be reused. /// /// /// The client request token is not valid. /// /// /// The specified commit ID is not valid. /// /// /// The location of the file is not valid. Make sure that you include the file name and /// extension. /// /// /// The position is not valid. Make sure that the line number exists in the version of /// the file you want to comment on. /// /// /// The specified path is not valid. /// /// /// Either the enum is not in a valid format, or the specified file version enum is not /// valid in respect to the current file version. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified path does not exist. /// /// /// The folderPath for a location cannot be null. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for PostCommentForComparedCommit Operation public virtual PostCommentForComparedCommitResponse PostCommentForComparedCommit(PostCommentForComparedCommitRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PostCommentForComparedCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = PostCommentForComparedCommitResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PostCommentForComparedCommit operation. /// /// /// Container for the necessary parameters to execute the PostCommentForComparedCommit operation on AmazonCodeCommitClient. /// 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 EndPostCommentForComparedCommit /// operation. /// REST API Reference for PostCommentForComparedCommit Operation public virtual IAsyncResult BeginPostCommentForComparedCommit(PostCommentForComparedCommitRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PostCommentForComparedCommitRequestMarshaller.Instance; options.ResponseUnmarshaller = PostCommentForComparedCommitResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PostCommentForComparedCommit operation. /// /// /// The IAsyncResult returned by the call to BeginPostCommentForComparedCommit. /// /// Returns a PostCommentForComparedCommitResult from CodeCommit. /// REST API Reference for PostCommentForComparedCommit Operation public virtual PostCommentForComparedCommitResponse EndPostCommentForComparedCommit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PostCommentForPullRequest /// /// Posts a comment on a pull request. /// /// Container for the necessary parameters to execute the PostCommentForPullRequest service method. /// /// The response from the PostCommentForPullRequest service method, as returned by CodeCommit. /// /// The before commit ID and the after commit ID are the same, which is not valid. The /// before commit ID and the after commit ID must be different commit IDs. /// /// /// A client request token is required. A client request token is an unique, client-generated /// idempotency token that, when provided in a request, ensures the request cannot be /// repeated with a changed parameter. If a request is received with the same parameters /// and a token is included, the request returns information about the initial request /// that used that token. /// /// /// The comment is empty. You must provide some content for a comment. The content cannot /// be null. /// /// /// The comment is too large. Comments are limited to 1,000 characters. /// /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// /// A commit ID was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The client request token is not valid. Either the token is not in a valid format, /// or the token has been used in a previous request and cannot be reused. /// /// /// The client request token is not valid. /// /// /// The specified commit ID is not valid. /// /// /// The location of the file is not valid. Make sure that you include the file name and /// extension. /// /// /// The position is not valid. Make sure that the line number exists in the version of /// the file you want to comment on. /// /// /// The specified path is not valid. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// Either the enum is not in a valid format, or the specified file version enum is not /// valid in respect to the current file version. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified path does not exist. /// /// /// The folderPath for a location cannot be null. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest /// to verify the correct repository name for the pull request ID. /// /// REST API Reference for PostCommentForPullRequest Operation public virtual PostCommentForPullRequestResponse PostCommentForPullRequest(PostCommentForPullRequestRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PostCommentForPullRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = PostCommentForPullRequestResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PostCommentForPullRequest operation. /// /// /// Container for the necessary parameters to execute the PostCommentForPullRequest operation on AmazonCodeCommitClient. /// 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 EndPostCommentForPullRequest /// operation. /// REST API Reference for PostCommentForPullRequest Operation public virtual IAsyncResult BeginPostCommentForPullRequest(PostCommentForPullRequestRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PostCommentForPullRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = PostCommentForPullRequestResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PostCommentForPullRequest operation. /// /// /// The IAsyncResult returned by the call to BeginPostCommentForPullRequest. /// /// Returns a PostCommentForPullRequestResult from CodeCommit. /// REST API Reference for PostCommentForPullRequest Operation public virtual PostCommentForPullRequestResponse EndPostCommentForPullRequest(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PostCommentReply /// /// Posts a comment in reply to an existing comment on a comparison between commits or /// a pull request. /// /// Container for the necessary parameters to execute the PostCommentReply service method. /// /// The response from the PostCommentReply service method, as returned by CodeCommit. /// /// A client request token is required. A client request token is an unique, client-generated /// idempotency token that, when provided in a request, ensures the request cannot be /// repeated with a changed parameter. If a request is received with the same parameters /// and a token is included, the request returns information about the initial request /// that used that token. /// /// /// The comment is empty. You must provide some content for a comment. The content cannot /// be null. /// /// /// The comment is too large. Comments are limited to 1,000 characters. /// /// /// No comment exists with the provided ID. Verify that you have used the correct ID, /// and then try again. /// /// /// The comment ID is missing or null. A comment ID is required. /// /// /// The client request token is not valid. Either the token is not in a valid format, /// or the token has been used in a previous request and cannot be reused. /// /// /// The client request token is not valid. /// /// /// The comment ID is not in a valid format. Make sure that you have provided the full /// comment ID. /// /// REST API Reference for PostCommentReply Operation public virtual PostCommentReplyResponse PostCommentReply(PostCommentReplyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PostCommentReplyRequestMarshaller.Instance; options.ResponseUnmarshaller = PostCommentReplyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PostCommentReply operation. /// /// /// Container for the necessary parameters to execute the PostCommentReply operation on AmazonCodeCommitClient. /// 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 EndPostCommentReply /// operation. /// REST API Reference for PostCommentReply Operation public virtual IAsyncResult BeginPostCommentReply(PostCommentReplyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PostCommentReplyRequestMarshaller.Instance; options.ResponseUnmarshaller = PostCommentReplyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PostCommentReply operation. /// /// /// The IAsyncResult returned by the call to BeginPostCommentReply. /// /// Returns a PostCommentReplyResult from CodeCommit. /// REST API Reference for PostCommentReply Operation public virtual PostCommentReplyResponse EndPostCommentReply(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutCommentReaction /// /// Adds or updates a reaction to a specified comment for the user whose identity is used /// to make the request. You can only add or update a reaction for yourself. You cannot /// add, modify, or delete a reaction for another user. /// /// Container for the necessary parameters to execute the PutCommentReaction service method. /// /// The response from the PutCommentReaction service method, as returned by CodeCommit. /// /// This comment has already been deleted. You cannot edit or delete a deleted comment. /// /// /// No comment exists with the provided ID. Verify that you have used the correct ID, /// and then try again. /// /// /// The comment ID is missing or null. A comment ID is required. /// /// /// The comment ID is not in a valid format. Make sure that you have provided the full /// comment ID. /// /// /// The value of the reaction is not valid. For more information, see the AWS /// CodeCommit User Guide. /// /// /// The number of reactions has been exceeded. Reactions are limited to one reaction per /// user for each individual comment ID. /// /// /// A reaction value is required. /// /// REST API Reference for PutCommentReaction Operation public virtual PutCommentReactionResponse PutCommentReaction(PutCommentReactionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutCommentReactionRequestMarshaller.Instance; options.ResponseUnmarshaller = PutCommentReactionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutCommentReaction operation. /// /// /// Container for the necessary parameters to execute the PutCommentReaction operation on AmazonCodeCommitClient. /// 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 EndPutCommentReaction /// operation. /// REST API Reference for PutCommentReaction Operation public virtual IAsyncResult BeginPutCommentReaction(PutCommentReactionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutCommentReactionRequestMarshaller.Instance; options.ResponseUnmarshaller = PutCommentReactionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutCommentReaction operation. /// /// /// The IAsyncResult returned by the call to BeginPutCommentReaction. /// /// Returns a PutCommentReactionResult from CodeCommit. /// REST API Reference for PutCommentReaction Operation public virtual PutCommentReactionResponse EndPutCommentReaction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutFile /// /// Adds or updates a file in a branch in an AWS CodeCommit repository, and generates /// a commit for the addition in the specified branch. /// /// Container for the necessary parameters to execute the PutFile service method. /// /// The response from the PutFile service method, as returned by CodeCommit. /// /// The specified branch does not exist. /// /// /// The specified branch name is not valid because it is a tag name. Enter the name of /// a branch in the repository. For a list of valid branch names, use ListBranches. /// /// /// A branch name is required, but was not specified. /// /// /// The commit message is too long. Provide a shorter string. /// /// /// A file cannot be added to the repository because the specified path name has the same /// name as a file that already exists in this repository. Either provide a different /// name for the file, or specify a different path for the file. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The file cannot be added because it is empty. Empty files cannot be added to the repository /// with this API. /// /// /// The file cannot be added because it is too large. The maximum file size is 6 MB, and /// the combined file content change size is 7 MB. Consider making these changes using /// a Git client. /// /// /// A file cannot be added to the repository because the specified file name has the same /// name as a directory in this repository. Either provide another name for the file, /// or add the file in a directory that does not match the file name. /// /// /// The commit cannot be created because a specified file path points to a submodule. /// Verify that the destination files have valid file paths that do not point to a submodule. /// /// /// The commit cannot be created because at least one of the overall changes in the commit /// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number /// and size of your changes, or split the changes across multiple folders. /// /// /// The specified reference name is not valid. /// /// /// The specified deletion parameter is not valid. /// /// /// The specified email address either contains one or more characters that are not allowed, /// or it exceeds the maximum number of characters allowed for an email address. /// /// /// The specified file mode permission is not valid. For a list of valid file mode permissions, /// see PutFile. /// /// /// The parent commit ID is not valid. The commit ID cannot be empty, and must match the /// head commit ID for the branch of the repository where you want to add or update a /// file. /// /// /// The specified path is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The user name is not valid because it has exceeded the character limit for author /// names. /// /// /// The parent commit ID is not valid because it does not exist. The specified parent /// commit ID does not exist in the specified branch of the repository. /// /// /// The file could not be added because the provided parent commit ID is not the current /// tip of the specified branch. To view the full commit ID of the current head of the /// branch, use GetBranch. /// /// /// A parent commit ID is required. To view the full commit ID of a branch in a repository, /// use GetBranch or a Git command (for example, git pull or git log). /// /// /// The folderPath for a location cannot be null. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// The file was not added or updated because the content of the file is exactly the same /// as the content of that file in the repository and branch that you specified. /// /// REST API Reference for PutFile Operation public virtual PutFileResponse PutFile(PutFileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutFileRequestMarshaller.Instance; options.ResponseUnmarshaller = PutFileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutFile operation. /// /// /// Container for the necessary parameters to execute the PutFile operation on AmazonCodeCommitClient. /// 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 EndPutFile /// operation. /// REST API Reference for PutFile Operation public virtual IAsyncResult BeginPutFile(PutFileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutFileRequestMarshaller.Instance; options.ResponseUnmarshaller = PutFileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutFile operation. /// /// /// The IAsyncResult returned by the call to BeginPutFile. /// /// Returns a PutFileResult from CodeCommit. /// REST API Reference for PutFile Operation public virtual PutFileResponse EndPutFile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutRepositoryTriggers /// /// Replaces all triggers for a repository. Used to create or delete triggers. /// /// Container for the necessary parameters to execute the PutRepositoryTriggers service method. /// /// The response from the PutRepositoryTriggers service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// One or more branch names specified for the trigger is not valid. /// /// /// The custom data provided for the trigger is not valid. /// /// /// The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. /// The most common reason for this error is that the ARN does not meet the requirements /// for the service type. /// /// /// One or more events specified for the trigger is not valid. Check to make sure that /// all events specified match the requirements for allowed events. /// /// /// The name of the trigger is not valid. /// /// /// The AWS Region for the trigger target does not match the AWS Region for the repository. /// Triggers must be created in the same Region as the target for the trigger. /// /// /// The number of branches for the trigger was exceeded. /// /// /// The number of triggers allowed for the repository was exceeded. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// At least one branch name is required, but was not specified in the trigger configuration. /// /// /// A destination ARN for the target service for the trigger is required, but was not /// specified. /// /// /// At least one event for the trigger is required, but was not specified. /// /// /// A name for the trigger is required, but was not specified. /// /// /// The list of triggers for the repository is required, but was not specified. /// /// REST API Reference for PutRepositoryTriggers Operation public virtual PutRepositoryTriggersResponse PutRepositoryTriggers(PutRepositoryTriggersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutRepositoryTriggersRequestMarshaller.Instance; options.ResponseUnmarshaller = PutRepositoryTriggersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutRepositoryTriggers operation. /// /// /// Container for the necessary parameters to execute the PutRepositoryTriggers operation on AmazonCodeCommitClient. /// 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 EndPutRepositoryTriggers /// operation. /// REST API Reference for PutRepositoryTriggers Operation public virtual IAsyncResult BeginPutRepositoryTriggers(PutRepositoryTriggersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutRepositoryTriggersRequestMarshaller.Instance; options.ResponseUnmarshaller = PutRepositoryTriggersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutRepositoryTriggers operation. /// /// /// The IAsyncResult returned by the call to BeginPutRepositoryTriggers. /// /// Returns a PutRepositoryTriggersResult from CodeCommit. /// REST API Reference for PutRepositoryTriggers Operation public virtual PutRepositoryTriggersResponse EndPutRepositoryTriggers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources /// in AWS CodeCommit, see CodeCommit /// Resources and Operations in the AWS CodeCommit User Guide. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by CodeCommit. /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The value for the resource ARN is not valid. For more information about resources /// in AWS CodeCommit, see CodeCommit /// Resources and Operations in the AWS CodeCommit User Guide. /// /// /// The specified tag is not valid. Key names cannot be prefixed with aws:. /// /// /// The map of tags is not valid. /// /// /// The specified repository does not exist. /// /// /// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For /// a list of valid resources in AWS CodeCommit, see CodeCommit /// Resources and Operations in the AWS CodeCommit User Guide. /// /// /// The tag policy is not valid. /// /// /// A map of tags is required. /// /// /// The maximum number of tags for an AWS CodeCommit resource has been exceeded. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonCodeCommitClient. /// 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 EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from CodeCommit. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TestRepositoryTriggers /// /// Tests the functionality of repository triggers by sending information to the trigger /// target. If real data is available in the repository, the test sends data from the /// last commit. If no data is available, sample data is generated. /// /// Container for the necessary parameters to execute the TestRepositoryTriggers service method. /// /// The response from the TestRepositoryTriggers service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// One or more branch names specified for the trigger is not valid. /// /// /// The custom data provided for the trigger is not valid. /// /// /// The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. /// The most common reason for this error is that the ARN does not meet the requirements /// for the service type. /// /// /// One or more events specified for the trigger is not valid. Check to make sure that /// all events specified match the requirements for allowed events. /// /// /// The name of the trigger is not valid. /// /// /// The AWS Region for the trigger target does not match the AWS Region for the repository. /// Triggers must be created in the same Region as the target for the trigger. /// /// /// The number of branches for the trigger was exceeded. /// /// /// The number of triggers allowed for the repository was exceeded. /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// /// At least one branch name is required, but was not specified in the trigger configuration. /// /// /// A destination ARN for the target service for the trigger is required, but was not /// specified. /// /// /// At least one event for the trigger is required, but was not specified. /// /// /// A name for the trigger is required, but was not specified. /// /// /// The list of triggers for the repository is required, but was not specified. /// /// REST API Reference for TestRepositoryTriggers Operation public virtual TestRepositoryTriggersResponse TestRepositoryTriggers(TestRepositoryTriggersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestRepositoryTriggersRequestMarshaller.Instance; options.ResponseUnmarshaller = TestRepositoryTriggersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TestRepositoryTriggers operation. /// /// /// Container for the necessary parameters to execute the TestRepositoryTriggers operation on AmazonCodeCommitClient. /// 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 EndTestRepositoryTriggers /// operation. /// REST API Reference for TestRepositoryTriggers Operation public virtual IAsyncResult BeginTestRepositoryTriggers(TestRepositoryTriggersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TestRepositoryTriggersRequestMarshaller.Instance; options.ResponseUnmarshaller = TestRepositoryTriggersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TestRepositoryTriggers operation. /// /// /// The IAsyncResult returned by the call to BeginTestRepositoryTriggers. /// /// Returns a TestRepositoryTriggersResult from CodeCommit. /// REST API Reference for TestRepositoryTriggers Operation public virtual TestRepositoryTriggersResponse EndTestRepositoryTriggers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS /// CodeCommit, see CodeCommit /// Resources and Operations in the AWS CodeCommit User Guide. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by CodeCommit. /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The value for the resource ARN is not valid. For more information about resources /// in AWS CodeCommit, see CodeCommit /// Resources and Operations in the AWS CodeCommit User Guide. /// /// /// The specified tag is not valid. Key names cannot be prefixed with aws:. /// /// /// The list of tags is not valid. /// /// /// The specified repository does not exist. /// /// /// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For /// a list of valid resources in AWS CodeCommit, see CodeCommit /// Resources and Operations in the AWS CodeCommit User Guide. /// /// /// A list of tag keys is required. The list cannot be empty or null. /// /// /// The tag policy is not valid. /// /// /// The maximum number of tags for an AWS CodeCommit resource has been exceeded. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonCodeCommitClient. /// 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 EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from CodeCommit. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateApprovalRuleTemplateContent /// /// Updates the content of an approval rule template. You can change the number of required /// approvals, the membership of the approval rule, and whether an approval pool is defined. /// /// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateContent service method. /// /// The response from the UpdateApprovalRuleTemplateContent service method, as returned by CodeCommit. /// /// The content for the approval rule template is empty. You must provide some content /// for an approval rule template. The content cannot be null. /// /// /// The specified approval rule template does not exist. Verify that the name is correct /// and that you are signed in to the AWS Region where the template was created, and then /// try again. /// /// /// An approval rule template name is required, but was not specified. /// /// /// The content of the approval rule template is not valid. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// /// The SHA-256 hash signature for the rule content is not valid. /// /// REST API Reference for UpdateApprovalRuleTemplateContent Operation public virtual UpdateApprovalRuleTemplateContentResponse UpdateApprovalRuleTemplateContent(UpdateApprovalRuleTemplateContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApprovalRuleTemplateContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApprovalRuleTemplateContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateApprovalRuleTemplateContent operation. /// /// /// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateContent operation on AmazonCodeCommitClient. /// 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 EndUpdateApprovalRuleTemplateContent /// operation. /// REST API Reference for UpdateApprovalRuleTemplateContent Operation public virtual IAsyncResult BeginUpdateApprovalRuleTemplateContent(UpdateApprovalRuleTemplateContentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApprovalRuleTemplateContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApprovalRuleTemplateContentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateApprovalRuleTemplateContent operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateApprovalRuleTemplateContent. /// /// Returns a UpdateApprovalRuleTemplateContentResult from CodeCommit. /// REST API Reference for UpdateApprovalRuleTemplateContent Operation public virtual UpdateApprovalRuleTemplateContentResponse EndUpdateApprovalRuleTemplateContent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateApprovalRuleTemplateDescription /// /// Updates the description for a specified approval rule template. /// /// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateDescription service method. /// /// The response from the UpdateApprovalRuleTemplateDescription service method, as returned by CodeCommit. /// /// The specified approval rule template does not exist. Verify that the name is correct /// and that you are signed in to the AWS Region where the template was created, and then /// try again. /// /// /// An approval rule template name is required, but was not specified. /// /// /// The description for the approval rule template is not valid because it exceeds the /// maximum characters allowed for a description. For more information about limits in /// AWS CodeCommit, see AWS /// CodeCommit User Guide. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// REST API Reference for UpdateApprovalRuleTemplateDescription Operation public virtual UpdateApprovalRuleTemplateDescriptionResponse UpdateApprovalRuleTemplateDescription(UpdateApprovalRuleTemplateDescriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApprovalRuleTemplateDescriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApprovalRuleTemplateDescriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateApprovalRuleTemplateDescription operation. /// /// /// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateDescription operation on AmazonCodeCommitClient. /// 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 EndUpdateApprovalRuleTemplateDescription /// operation. /// REST API Reference for UpdateApprovalRuleTemplateDescription Operation public virtual IAsyncResult BeginUpdateApprovalRuleTemplateDescription(UpdateApprovalRuleTemplateDescriptionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApprovalRuleTemplateDescriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApprovalRuleTemplateDescriptionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateApprovalRuleTemplateDescription operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateApprovalRuleTemplateDescription. /// /// Returns a UpdateApprovalRuleTemplateDescriptionResult from CodeCommit. /// REST API Reference for UpdateApprovalRuleTemplateDescription Operation public virtual UpdateApprovalRuleTemplateDescriptionResponse EndUpdateApprovalRuleTemplateDescription(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateApprovalRuleTemplateName /// /// Updates the name of a specified approval rule template. /// /// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateName service method. /// /// The response from the UpdateApprovalRuleTemplateName service method, as returned by CodeCommit. /// /// The specified approval rule template does not exist. Verify that the name is correct /// and that you are signed in to the AWS Region where the template was created, and then /// try again. /// /// /// You cannot create an approval rule template with that name because a template with /// that name already exists in this AWS Region for your AWS account. Approval rule template /// names must be unique. /// /// /// An approval rule template name is required, but was not specified. /// /// /// The name of the approval rule template is not valid. Template names must be between /// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, /// see AWS /// CodeCommit User Guide. /// /// REST API Reference for UpdateApprovalRuleTemplateName Operation public virtual UpdateApprovalRuleTemplateNameResponse UpdateApprovalRuleTemplateName(UpdateApprovalRuleTemplateNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApprovalRuleTemplateNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApprovalRuleTemplateNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateApprovalRuleTemplateName operation. /// /// /// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateName operation on AmazonCodeCommitClient. /// 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 EndUpdateApprovalRuleTemplateName /// operation. /// REST API Reference for UpdateApprovalRuleTemplateName Operation public virtual IAsyncResult BeginUpdateApprovalRuleTemplateName(UpdateApprovalRuleTemplateNameRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApprovalRuleTemplateNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApprovalRuleTemplateNameResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateApprovalRuleTemplateName operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateApprovalRuleTemplateName. /// /// Returns a UpdateApprovalRuleTemplateNameResult from CodeCommit. /// REST API Reference for UpdateApprovalRuleTemplateName Operation public virtual UpdateApprovalRuleTemplateNameResponse EndUpdateApprovalRuleTemplateName(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateComment /// /// Replaces the contents of a comment. /// /// Container for the necessary parameters to execute the UpdateComment service method. /// /// The response from the UpdateComment service method, as returned by CodeCommit. /// /// The comment is empty. You must provide some content for a comment. The content cannot /// be null. /// /// /// The comment is too large. Comments are limited to 1,000 characters. /// /// /// This comment has already been deleted. You cannot edit or delete a deleted comment. /// /// /// No comment exists with the provided ID. Verify that you have used the correct ID, /// and then try again. /// /// /// The comment ID is missing or null. A comment ID is required. /// /// /// You cannot modify or delete this comment. Only comment authors can modify or delete /// their comments. /// /// /// The comment ID is not in a valid format. Make sure that you have provided the full /// comment ID. /// /// REST API Reference for UpdateComment Operation public virtual UpdateCommentResponse UpdateComment(UpdateCommentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCommentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCommentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateComment operation. /// /// /// Container for the necessary parameters to execute the UpdateComment operation on AmazonCodeCommitClient. /// 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 EndUpdateComment /// operation. /// REST API Reference for UpdateComment Operation public virtual IAsyncResult BeginUpdateComment(UpdateCommentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCommentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCommentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateComment operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateComment. /// /// Returns a UpdateCommentResult from CodeCommit. /// REST API Reference for UpdateComment Operation public virtual UpdateCommentResponse EndUpdateComment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDefaultBranch /// /// Sets or changes the default branch name for the specified repository. /// /// /// /// If you use this operation to change the default branch name to the current default /// branch name, a success message is returned even though the default branch did not /// change. /// /// /// /// Container for the necessary parameters to execute the UpdateDefaultBranch service method. /// /// The response from the UpdateDefaultBranch service method, as returned by CodeCommit. /// /// The specified branch does not exist. /// /// /// A branch name is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified reference name is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for UpdateDefaultBranch Operation public virtual UpdateDefaultBranchResponse UpdateDefaultBranch(UpdateDefaultBranchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDefaultBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDefaultBranchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDefaultBranch operation. /// /// /// Container for the necessary parameters to execute the UpdateDefaultBranch operation on AmazonCodeCommitClient. /// 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 EndUpdateDefaultBranch /// operation. /// REST API Reference for UpdateDefaultBranch Operation public virtual IAsyncResult BeginUpdateDefaultBranch(UpdateDefaultBranchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDefaultBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDefaultBranchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDefaultBranch operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDefaultBranch. /// /// Returns a UpdateDefaultBranchResult from CodeCommit. /// REST API Reference for UpdateDefaultBranch Operation public virtual UpdateDefaultBranchResponse EndUpdateDefaultBranch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePullRequestApprovalRuleContent /// /// Updates the structure of an approval rule created specifically for a pull request. /// For example, you can change the number of required approvers and the approval pool /// for approvers. /// /// Container for the necessary parameters to execute the UpdatePullRequestApprovalRuleContent service method. /// /// The response from the UpdatePullRequestApprovalRuleContent service method, as returned by CodeCommit. /// /// The content for the approval rule is empty. You must provide some content for an approval /// rule. The content cannot be null. /// /// /// The specified approval rule does not exist. /// /// /// An approval rule name is required, but was not specified. /// /// /// The approval rule cannot be modified for the pull request because it was created by /// an approval rule template and applied to the pull request automatically. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The content for the approval rule is not valid. /// /// /// The name for the approval rule is not valid. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The SHA-256 hash signature for the rule content is not valid. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// REST API Reference for UpdatePullRequestApprovalRuleContent Operation public virtual UpdatePullRequestApprovalRuleContentResponse UpdatePullRequestApprovalRuleContent(UpdatePullRequestApprovalRuleContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestApprovalRuleContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestApprovalRuleContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePullRequestApprovalRuleContent operation. /// /// /// Container for the necessary parameters to execute the UpdatePullRequestApprovalRuleContent operation on AmazonCodeCommitClient. /// 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 EndUpdatePullRequestApprovalRuleContent /// operation. /// REST API Reference for UpdatePullRequestApprovalRuleContent Operation public virtual IAsyncResult BeginUpdatePullRequestApprovalRuleContent(UpdatePullRequestApprovalRuleContentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestApprovalRuleContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestApprovalRuleContentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePullRequestApprovalRuleContent operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePullRequestApprovalRuleContent. /// /// Returns a UpdatePullRequestApprovalRuleContentResult from CodeCommit. /// REST API Reference for UpdatePullRequestApprovalRuleContent Operation public virtual UpdatePullRequestApprovalRuleContentResponse EndUpdatePullRequestApprovalRuleContent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePullRequestApprovalState /// /// Updates the state of a user's approval on a pull request. The user is derived from /// the signed-in account when the request is made. /// /// Container for the necessary parameters to execute the UpdatePullRequestApprovalState service method. /// /// The response from the UpdatePullRequestApprovalState service method, as returned by CodeCommit. /// /// An approval state is required, but was not specified. /// /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The state for the approval is not valid. Valid values include APPROVE and REVOKE. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The revision ID is not valid. Use GetPullRequest to determine the value. /// /// /// The number of approvals required for the approval rule exceeds the maximum number /// allowed. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The approval cannot be applied because the user approving the pull request matches /// the user who created the pull request. You cannot approve a pull request that you /// created. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// A revision ID is required, but was not provided. /// /// /// The revision ID provided in the request does not match the current revision ID. Use /// GetPullRequest to retrieve the current revision ID. /// /// REST API Reference for UpdatePullRequestApprovalState Operation public virtual UpdatePullRequestApprovalStateResponse UpdatePullRequestApprovalState(UpdatePullRequestApprovalStateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestApprovalStateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestApprovalStateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePullRequestApprovalState operation. /// /// /// Container for the necessary parameters to execute the UpdatePullRequestApprovalState operation on AmazonCodeCommitClient. /// 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 EndUpdatePullRequestApprovalState /// operation. /// REST API Reference for UpdatePullRequestApprovalState Operation public virtual IAsyncResult BeginUpdatePullRequestApprovalState(UpdatePullRequestApprovalStateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestApprovalStateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestApprovalStateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePullRequestApprovalState operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePullRequestApprovalState. /// /// Returns a UpdatePullRequestApprovalStateResult from CodeCommit. /// REST API Reference for UpdatePullRequestApprovalState Operation public virtual UpdatePullRequestApprovalStateResponse EndUpdatePullRequestApprovalState(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePullRequestDescription /// /// Replaces the contents of the description of a pull request. /// /// Container for the necessary parameters to execute the UpdatePullRequestDescription service method. /// /// The response from the UpdatePullRequestDescription service method, as returned by CodeCommit. /// /// The pull request description is not valid. Descriptions cannot be more than 1,000 /// characters. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// REST API Reference for UpdatePullRequestDescription Operation public virtual UpdatePullRequestDescriptionResponse UpdatePullRequestDescription(UpdatePullRequestDescriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestDescriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestDescriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePullRequestDescription operation. /// /// /// Container for the necessary parameters to execute the UpdatePullRequestDescription operation on AmazonCodeCommitClient. /// 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 EndUpdatePullRequestDescription /// operation. /// REST API Reference for UpdatePullRequestDescription Operation public virtual IAsyncResult BeginUpdatePullRequestDescription(UpdatePullRequestDescriptionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestDescriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestDescriptionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePullRequestDescription operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePullRequestDescription. /// /// Returns a UpdatePullRequestDescriptionResult from CodeCommit. /// REST API Reference for UpdatePullRequestDescription Operation public virtual UpdatePullRequestDescriptionResponse EndUpdatePullRequestDescription(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePullRequestStatus /// /// Updates the status of a pull request. /// /// Container for the necessary parameters to execute the UpdatePullRequestStatus service method. /// /// The response from the UpdatePullRequestStatus service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The pull request status is not valid. The only valid values are OPEN /// and CLOSED. /// /// /// The pull request status update is not valid. The only valid update is from OPEN /// to CLOSED. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// A pull request status is required, but none was provided. /// /// REST API Reference for UpdatePullRequestStatus Operation public virtual UpdatePullRequestStatusResponse UpdatePullRequestStatus(UpdatePullRequestStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePullRequestStatus operation. /// /// /// Container for the necessary parameters to execute the UpdatePullRequestStatus operation on AmazonCodeCommitClient. /// 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 EndUpdatePullRequestStatus /// operation. /// REST API Reference for UpdatePullRequestStatus Operation public virtual IAsyncResult BeginUpdatePullRequestStatus(UpdatePullRequestStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePullRequestStatus operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePullRequestStatus. /// /// Returns a UpdatePullRequestStatusResult from CodeCommit. /// REST API Reference for UpdatePullRequestStatus Operation public virtual UpdatePullRequestStatusResponse EndUpdatePullRequestStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePullRequestTitle /// /// Replaces the title of a pull request. /// /// Container for the necessary parameters to execute the UpdatePullRequestTitle service method. /// /// The response from the UpdatePullRequestTitle service method, as returned by CodeCommit. /// /// The pull request ID is not valid. Make sure that you have provided the full ID and /// that the pull request is in the specified repository, and then try again. /// /// /// The title of the pull request is not valid. Pull request titles cannot exceed 100 /// characters in length. /// /// /// The pull request status cannot be updated because it is already closed. /// /// /// The pull request ID could not be found. Make sure that you have specified the correct /// repository name and pull request ID, and then try again. /// /// /// A pull request ID is required, but none was provided. /// /// /// A pull request title is required. It cannot be empty or null. /// /// REST API Reference for UpdatePullRequestTitle Operation public virtual UpdatePullRequestTitleResponse UpdatePullRequestTitle(UpdatePullRequestTitleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestTitleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestTitleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePullRequestTitle operation. /// /// /// Container for the necessary parameters to execute the UpdatePullRequestTitle operation on AmazonCodeCommitClient. /// 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 EndUpdatePullRequestTitle /// operation. /// REST API Reference for UpdatePullRequestTitle Operation public virtual IAsyncResult BeginUpdatePullRequestTitle(UpdatePullRequestTitleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePullRequestTitleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePullRequestTitleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePullRequestTitle operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePullRequestTitle. /// /// Returns a UpdatePullRequestTitleResult from CodeCommit. /// REST API Reference for UpdatePullRequestTitle Operation public virtual UpdatePullRequestTitleResponse EndUpdatePullRequestTitle(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateRepositoryDescription /// /// Sets or changes the comment or description for a repository. /// /// /// /// The description field for a repository accepts all HTML characters and all valid Unicode /// characters. Applications that do not HTML-encode the description and display it in /// a webpage can expose users to potentially malicious code. Make sure that you HTML-encode /// the description field in any application that uses this API to display the repository /// description on a webpage. /// /// /// /// Container for the necessary parameters to execute the UpdateRepositoryDescription service method. /// /// The response from the UpdateRepositoryDescription service method, as returned by CodeCommit. /// /// An encryption integrity check failed. /// /// /// An encryption key could not be accessed. /// /// /// The encryption key is disabled. /// /// /// No encryption key was found. /// /// /// The encryption key is not available. /// /// /// The specified repository description is not valid. /// /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for UpdateRepositoryDescription Operation public virtual UpdateRepositoryDescriptionResponse UpdateRepositoryDescription(UpdateRepositoryDescriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRepositoryDescriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRepositoryDescriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateRepositoryDescription operation. /// /// /// Container for the necessary parameters to execute the UpdateRepositoryDescription operation on AmazonCodeCommitClient. /// 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 EndUpdateRepositoryDescription /// operation. /// REST API Reference for UpdateRepositoryDescription Operation public virtual IAsyncResult BeginUpdateRepositoryDescription(UpdateRepositoryDescriptionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRepositoryDescriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRepositoryDescriptionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateRepositoryDescription operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRepositoryDescription. /// /// Returns a UpdateRepositoryDescriptionResult from CodeCommit. /// REST API Reference for UpdateRepositoryDescription Operation public virtual UpdateRepositoryDescriptionResponse EndUpdateRepositoryDescription(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateRepositoryName /// /// Renames a repository. The repository name must be unique across the calling AWS account. /// Repository names are limited to 100 alphanumeric, dash, and underscore characters, /// and cannot include certain characters. The suffix .git is prohibited. For more information /// about the limits on repository names, see Limits /// in the AWS CodeCommit User Guide. /// /// Container for the necessary parameters to execute the UpdateRepositoryName service method. /// /// The response from the UpdateRepositoryName service method, as returned by CodeCommit. /// /// A specified repository name is not valid. /// /// /// /// This exception occurs only when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// /// The specified repository does not exist. /// /// /// The specified repository name already exists. /// /// /// A repository name is required, but was not specified. /// /// REST API Reference for UpdateRepositoryName Operation public virtual UpdateRepositoryNameResponse UpdateRepositoryName(UpdateRepositoryNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRepositoryNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRepositoryNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateRepositoryName operation. /// /// /// Container for the necessary parameters to execute the UpdateRepositoryName operation on AmazonCodeCommitClient. /// 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 EndUpdateRepositoryName /// operation. /// REST API Reference for UpdateRepositoryName Operation public virtual IAsyncResult BeginUpdateRepositoryName(UpdateRepositoryNameRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRepositoryNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRepositoryNameResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateRepositoryName operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRepositoryName. /// /// Returns a UpdateRepositoryNameResult from CodeCommit. /// REST API Reference for UpdateRepositoryName Operation public virtual UpdateRepositoryNameResponse EndUpdateRepositoryName(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }