Amazon.CodePipeline.AmazonCodePipelineClient.UpdatePipelineAsync C# (CSharp) Метод

UpdatePipelineAsync() публичный Метод

Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure in conjunction with UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1.
/// The specified action declaration was specified in an invalid format. /// /// Reserved for future use. /// /// The specified stage declaration was specified in an invalid format. /// /// The specified structure was specified in an invalid format. /// /// The validation was specified in an invalid format. ///
public UpdatePipelineAsync ( PipelineDeclaration pipeline, System cancellationToken = default(CancellationToken) ) : Task
pipeline Amazon.CodePipeline.Model.PipelineDeclaration The name of the pipeline to be updated.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<UpdatePipelineResponse> UpdatePipelineAsync(PipelineDeclaration pipeline, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new UpdatePipelineRequest();
            request.Pipeline = pipeline;
            return UpdatePipelineAsync(request, cancellationToken);
        }

Same methods

AmazonCodePipelineClient::UpdatePipelineAsync ( Amazon.CodePipeline.Model.UpdatePipelineRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonCodePipelineClient