AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeletePipeline operation. Deletes the specified pipeline.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodePipeline.AmazonCodePipelineRequest
      Amazon.CodePipeline.Model.DeletePipelineRequest

Namespace: Amazon.CodePipeline.Model
Assembly: AWSSDK.CodePipeline.dll
Version: 3.x.y.z

Syntax

C#
public class DeletePipelineRequest : AmazonCodePipelineRequest
         IAmazonWebServiceRequest

The DeletePipelineRequest type exposes the following members

Constructors

NameDescription
Public Method DeletePipelineRequest()

Properties

NameTypeDescription
Public Property Name System.String

Gets and sets the property Name.

The name of the pipeline to be deleted.

Examples

This example deletes a pipeline named MySecondPipeline from AWS CodePipeline. Use ListPipelines to view a list of pipelines associated with your AWS account.

Delete a pipeline


var client = new AmazonCodePipelineClient();
var response = client.DeletePipeline(new DeletePipelineRequest 
{
    Name = "MySecondPipeline" // The name of the pipeline to delete.
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5