Amazon CodePipeline Pipelines API

Operations for managing CodePipeline pipelines

Operations 4

POST / Amazon CodePipeline Create a New Pipeline #
POST /getPipeline Amazon CodePipeline Get Pipeline Details #
POST /listPipelines Amazon CodePipeline List Pipelines #
POST /deletePipeline Amazon CodePipeline Delete a Pipeline #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-codepipeline-pipelines-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-codepipeline-pipelines-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon CodePipeline Pipelines API
  description: Amazon CodePipeline is a fully managed continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates. The API enables programmatic management of pipelines, stages, actions, and pipeline executions.
  version: '2015-07-09'
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/codepipeline/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://codepipeline.amazonaws.com
  description: Amazon CodePipeline API endpoint
tags:
- name: Pipelines
  description: Operations for managing CodePipeline pipelines
paths:
  /:
    post:
      operationId: CreatePipeline
      summary: Amazon CodePipeline Create a New Pipeline
      description: Creates a pipeline with the specified name and structure. A pipeline consists of stages and actions that process code changes.
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreatePipelineInput'
            examples:
              CreatePipelineRequestExample:
                summary: Default CreatePipeline request
                x-microcks-default: true
                value:
                  pipeline:
                    name: example-resource
                    roleArn: arn:aws:service:us-east-1:123456789012:resource/example
                    stages:
                    - {}
                    version: 1
                  tags:
                  - key: example-value
                    value: example-value
      responses:
        '200':
          description: Pipeline created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pipeline'
              examples:
                CreatePipeline200Example:
                  summary: Default CreatePipeline 200 response
                  x-microcks-default: true
                  value:
                    name: example-resource
                    roleArn: arn:aws:service:us-east-1:123456789012:resource/example
                    stages:
                    - name: example-resource
                      actions: []
                    version: 1
        '400':
          description: Bad request
        '409':
          description: Pipeline already exists
      tags:
      - Pipelines
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /getPipeline:
    post:
      operationId: GetPipeline
      summary: Amazon CodePipeline Get Pipeline Details
      description: Returns the metadata, structure, stages, and actions of a pipeline.
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  description: The name of the pipeline.
                version:
                  type: integer
                  description: The version number of the pipeline.
            examples:
              GetPipelineRequestExample:
                summary: Default GetPipeline request
                x-microcks-default: true
                value:
                  name: example-resource
                  version: 1
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pipeline'
              examples:
                GetPipeline200Example:
                  summary: Default GetPipeline 200 response
                  x-microcks-default: true
                  value:
                    name: example-resource
                    roleArn: arn:aws:service:us-east-1:123456789012:resource/example
                    stages:
                    - name: example-resource
                      actions: []
                    version: 1
        '404':
          description: Pipeline not found
      tags:
      - Pipelines
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /listPipelines:
    post:
      operationId: ListPipelines
      summary: Amazon CodePipeline List Pipelines
      description: Gets a summary of all of the pipelines associated with your account.
      requestBody:
        required: false
        content:
          application/x-amz-json-1.1:
            schema:
              type: object
              properties:
                nextToken:
                  type: string
                maxResults:
                  type: integer
            examples:
              ListPipelinesRequestExample:
                summary: Default ListPipelines request
                x-microcks-default: true
                value:
                  nextToken: example-value
                  maxResults: 1
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PipelineList'
              examples:
                ListPipelines200Example:
                  summary: Default ListPipelines 200 response
                  x-microcks-default: true
                  value:
                    pipelines:
                    - name: example-resource
                      version: 1
                      created: example-value
                      updated: example-value
                    nextToken: example-value
      tags:
      - Pipelines
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /deletePipeline:
    post:
      operationId: DeletePipeline
      summary: Amazon CodePipeline Delete a Pipeline
      description: Deletes the specified pipeline.
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  description: The name of the pipeline to delete.
            examples:
              DeletePipelineRequestExample:
                summary: Default DeletePipeline request
                x-microcks-default: true
                value:
                  name: example-resource
      responses:
        '200':
          description: Pipeline deleted successfully
        '404':
          description: Pipeline not found
      tags:
      - Pipelines
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Tag:
      type: object
      properties:
        key:
          type: string
        value:
          type: string
    ActionDeclaration:
      type: object
      required:
      - name
      - actionTypeId
      properties:
        name:
          type: string
          description: The action declaration name.
        actionTypeId:
          type: object
          properties:
            category:
              type: string
              enum:
              - Source
              - Build
              - Deploy
              - Test
              - Invoke
              - Approval
            owner:
              type: string
            provider:
              type: string
            version:
              type: string
        configuration:
          type: object
          additionalProperties:
            type: string
        inputArtifacts:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
        outputArtifacts:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
    Pipeline:
      type: object
      properties:
        name:
          type: string
          description: The name of the pipeline.
        roleArn:
          type: string
          description: The ARN of the IAM role used by the pipeline.
        stages:
          type: array
          items:
            $ref: '#/components/schemas/StageDeclaration'
        version:
          type: integer
          description: The version number of the pipeline.
    StageDeclaration:
      type: object
      required:
      - name
      - actions
      properties:
        name:
          type: string
          description: The name of the stage.
        actions:
          type: array
          items:
            $ref: '#/components/schemas/ActionDeclaration'
    PipelineList:
      type: object
      properties:
        pipelines:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              version:
                type: integer
              created:
                type: string
                format: date-time
              updated:
                type: string
                format: date-time
        nextToken:
          type: string
    CreatePipelineInput:
      type: object
      required:
      - pipeline
      properties:
        pipeline:
          $ref: '#/components/schemas/Pipeline'
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'