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

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

Returns the metadata, structure, stages, and actions of a pipeline. Can be used to return the entire structure of a pipeline in JSON format, which can then be modified and used to update the pipeline structure with UpdatePipeline.
/// The specified pipeline was specified in an invalid format or cannot be found. /// /// The specified pipeline version was specified in an invalid format or cannot be found. /// /// The validation was specified in an invalid format. ///
public GetPipelineAsync ( string name, int version, System cancellationToken = default(CancellationToken) ) : Task
name string The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.
version int The version number of the pipeline. If you do not specify a version, defaults to the most current version.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<GetPipelineResponse> GetPipelineAsync(string name, int version, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new GetPipelineRequest();
            request.Name = name;
            request.Version = version;
            return GetPipelineAsync(request, cancellationToken);
        }

Same methods

AmazonCodePipelineClient::GetPipelineAsync ( Amazon.CodePipeline.Model.GetPipelineRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonCodePipelineClient::GetPipelineAsync ( string name, System cancellationToken = default(CancellationToken) ) : Task
AmazonCodePipelineClient