Amazon CodeCatalyst Codecatalyst Devenvironments API

The Codecatalyst Devenvironments API from Amazon CodeCatalyst — 3 operation(s) for codecatalyst devenvironments.

GitHub OpenAPI

Operations 5

POST /v1/spaces/{spaceName}/devEnvironments List Dev Environments #
PUT /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments Create Dev Environment #
GET /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id} Get Dev Environment #
PATCH /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id} Update Dev Environment #
DELETE /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id} Delete Dev Environment #

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-codecatalyst:amazon-codecatalyst-devenvironments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-codecatalyst-devenvironments-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon CodeCatalyst Devenvironments API
  version: '2022-09-28'
  description: Generated from AWS's published Smithy model for Amazon CodeCatalyst. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://codecatalyst.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /v1/spaces/{spaceName}/devEnvironments:
    post:
      operationId: ListDevEnvironments
      summary: List Dev Environments
      description: Retrieves a list of Dev Environments in a project.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDevEnvironmentsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: spaceName
        in: path
        required: true
        schema:
          type: string
        description: The name of the space.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                projectName:
                  type: string
                  description: The name of the project in the space.
                filters:
                  type: array
                  items:
                    $ref: '#/components/schemas/Filter'
                  description: Information about filters to apply to narrow the results returned in the list.
                nextToken:
                  type: string
                  description: A token returned from a call to this API to indicate the next batch of results to return, if
                    any.
                maxResults:
                  type: integer
                  description: The maximum number of results to show in a single call to this API. If the number of results
                    is larger than the number you specified, the response will include a NextToken element, which you can
                    use to obtain additional results.
      tags:
      - Devenvironments
  /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments:
    put:
      operationId: CreateDevEnvironment
      summary: Create Dev Environment
      description: Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use
        to quickly work on the code stored in the source repositories of your project. When created in the Amazon CodeCatalyst
        console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent
        storage. None of these defaults apply to a Dev Environment created programmatically.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateDevEnvironmentResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: spaceName
        in: path
        required: true
        schema:
          type: string
        description: The name of the space.
      - name: projectName
        in: path
        required: true
        schema:
          type: string
        description: The name of the project in the space.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                repositories:
                  type: array
                  items:
                    $ref: '#/components/schemas/RepositoryInput'
                  description: The source repository that contains the branch to clone into the Dev Environment.
                clientToken:
                  type: string
                  description: A user-specified idempotency token. Idempotency ensures that an API request completes only
                    once. With an idempotent request, if the original request completes successfully, the subsequent retries
                    return the result from the original successful request and have no additional effect.
                alias:
                  type: string
                  description: The user-defined alias for a Dev Environment.
                ides:
                  type: array
                  items:
                    $ref: '#/components/schemas/IdeConfiguration'
                  description: Information about the integrated development environment (IDE) configured for a Dev Environment.
                    An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration
                    information and must be provided.
                instanceType:
                  type: string
                  description: The Amazon EC2 instace type to use for the Dev Environment.
                inactivityTimeoutMinutes:
                  type: integer
                  description: The amount of time the Dev Environment will run without any activity detected before stopping,
                    in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
                persistentStorage:
                  $ref: '#/components/schemas/PersistentStorageConfiguration'
                vpcConnectionName:
                  type: string
                  description: The name of the connection that will be used to connect to Amazon VPC, if any.
              required:
              - instanceType
              - persistentStorage
      tags:
      - Devenvironments
  /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}:
    get:
      operationId: GetDevEnvironment
      summary: Get Dev Environment
      description: Returns information about a Dev Environment for a source repository in a project. Dev Environments are
        specific to the user who creates them.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDevEnvironmentResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: spaceName
        in: path
        required: true
        schema:
          type: string
        description: The name of the space.
      - name: projectName
        in: path
        required: true
        schema:
          type: string
        description: The name of the project in the space.
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The system-generated unique ID of the Dev Environment for which you want to view information. To retrieve
          a list of Dev Environment IDs, use ListDevEnvironments.
      tags:
      - Devenvironments
    patch:
      operationId: UpdateDevEnvironment
      summary: Update Dev Environment
      description: Changes one or more values for a Dev Environment. Updating certain values of the Dev Environment will cause
        a restart.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateDevEnvironmentResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: spaceName
        in: path
        required: true
        schema:
          type: string
        description: The name of the space.
      - name: projectName
        in: path
        required: true
        schema:
          type: string
        description: The name of the project in the space.
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The system-generated unique ID of the Dev Environment.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                alias:
                  type: string
                  description: The user-specified alias for the Dev Environment. Changing this value will not cause a restart.
                ides:
                  type: array
                  items:
                    $ref: '#/components/schemas/IdeConfiguration'
                  description: Information about the integrated development environment (IDE) configured for a Dev Environment.
                instanceType:
                  type: string
                  description: The Amazon EC2 instace type to use for the Dev Environment. Changing this value will cause
                    a restart of the Dev Environment if it is running.
                inactivityTimeoutMinutes:
                  type: integer
                  description: The amount of time the Dev Environment will run without any activity detected before stopping,
                    in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running. Changing
                    this value will cause a restart of the Dev Environment if it is running.
                clientToken:
                  type: string
                  description: A user-specified idempotency token. Idempotency ensures that an API request completes only
                    once. With an idempotent request, if the original request completes successfully, the subsequent retries
                    return the result from the original successful request and have no additional effect.
      tags:
      - Devenvironments
    delete:
      operationId: DeleteDevEnvironment
      summary: Delete Dev Environment
      description: Deletes a Dev Environment.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteDevEnvironmentResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: spaceName
        in: path
        required: true
        schema:
          type: string
        description: The name of the space.
      - name: projectName
        in: path
        required: true
        schema:
          type: string
        description: The name of the project in the space.
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The system-generated unique ID of the Dev Environment you want to delete. To retrieve a list of Dev Environment
          IDs, use ListDevEnvironments.
      tags:
      - Devenvironments
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: codecatalyst
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ConflictException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    CreateDevEnvironmentResponse:
      type: object
      properties:
        spaceName:
          type: string
          description: The name of the space.
        projectName:
          type: string
          description: The name of the project in the space.
        id:
          type: string
          description: The system-generated unique ID of the Dev Environment.
        vpcConnectionName:
          type: string
          description: The name of the connection used to connect to Amazon VPC used when the Dev Environment was created,
            if any.
      required:
      - spaceName
      - projectName
      - id
    DeleteDevEnvironmentResponse:
      type: object
      properties:
        spaceName:
          type: string
          description: The name of the space.
        projectName:
          type: string
          description: The name of the project in the space.
        id:
          type: string
          description: The system-generated unique ID of the deleted Dev Environment.
      required:
      - spaceName
      - projectName
      - id
    DevEnvironmentRepositorySummary:
      type: object
      properties:
        repositoryName:
          type: string
          description: The name of the source repository.
        branchName:
          type: string
          description: The name of the branch in a source repository cloned into the Dev Environment.
      required:
      - repositoryName
    DevEnvironmentSummary:
      type: object
      properties:
        spaceName:
          type: string
          description: The name of the space.
        projectName:
          type: string
          description: The name of the project in the space.
        id:
          type: string
          description: The system-generated unique ID for the Dev Environment.
        lastUpdatedTime:
          type: string
          format: date-time
          description: The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format
            as specified in RFC 3339.
        creatorId:
          type: string
          description: The system-generated unique ID of the user who created the Dev Environment.
        status:
          type: string
          description: The status of the Dev Environment.
        statusReason:
          type: string
          description: The reason for the status.
        repositories:
          type: array
          items:
            $ref: '#/components/schemas/DevEnvironmentRepositorySummary'
          description: Information about the repositories that will be cloned into the Dev Environment. If no rvalue is specified,
            no repository is cloned.
        alias:
          type: string
          description: The user-specified alias for the Dev Environment.
        ides:
          type: array
          items:
            $ref: '#/components/schemas/Ide'
          description: Information about the integrated development environment (IDE) configured for a Dev Environment.
        instanceType:
          type: string
          description: The Amazon EC2 instace type used for the Dev Environment.
        inactivityTimeoutMinutes:
          type: integer
          description: The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.
            Dev Environments consume compute minutes when running.
        persistentStorage:
          $ref: '#/components/schemas/PersistentStorage'
        vpcConnectionName:
          type: string
          description: The name of the connection used to connect to Amazon VPC used when the Dev Environment was created,
            if any.
      required:
      - id
      - lastUpdatedTime
      - creatorId
      - status
      - repositories
      - instanceType
      - inactivityTimeoutMinutes
      - persistentStorage
    Filter:
      type: object
      properties:
        key:
          type: string
          description: A key that can be used to sort results.
        values:
          type: array
          items:
            type: string
          description: The values of the key.
        comparisonOperator:
          type: string
          description: The operator used to compare the fields.
      required:
      - key
      - values
    GetDevEnvironmentResponse:
      type: object
      properties:
        spaceName:
          type: string
          description: The name of the space.
        projectName:
          type: string
          description: The name of the project in the space.
        id:
          type: string
          description: The system-generated unique ID of the Dev Environment.
        lastUpdatedTime:
          type: string
          format: date-time
          description: The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format
            as specified in RFC 3339.
        creatorId:
          type: string
          description: The system-generated unique ID of the user who created the Dev Environment.
        status:
          type: string
          description: The current status of the Dev Environment.
        statusReason:
          type: string
          description: The reason for the status.
        repositories:
          type: array
          items:
            $ref: '#/components/schemas/DevEnvironmentRepositorySummary'
          description: The source repository that contains the branch cloned into the Dev Environment.
        alias:
          type: string
          description: The user-specified alias for the Dev Environment.
        ides:
          type: array
          items:
            $ref: '#/components/schemas/Ide'
          description: Information about the integrated development environment (IDE) configured for the Dev Environment.
        instanceType:
          type: string
          description: The Amazon EC2 instace type to use for the Dev Environment.
        inactivityTimeoutMinutes:
          type: integer
          description: The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.
        persistentStorage:
          $ref: '#/components/schemas/PersistentStorage'
        vpcConnectionName:
          type: string
          description: The name of the connection used to connect to Amazon VPC used when the Dev Environment was created,
            if any.
      required:
      - spaceName
      - projectName
      - id
      - lastUpdatedTime
      - creatorId
      - status
      - repositories
      - instanceType
      - inactivityTimeoutMinutes
      - persistentStorage
    Ide:
      type: object
      properties:
        runtime:
          type: string
          description: A link to the IDE runtime image.
        name:
          type: string
          description: The name of the IDE.
    IdeConfiguration:
      type: object
      properties:
        runtime:
          type: string
          description: A link to the IDE runtime image. This parameter is not required for VSCode.
        name:
          type: string
          description: The name of the IDE. Valid values include Cloud9, IntelliJ, PyCharm, GoLand, and VSCode.
    ListDevEnvironmentsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/DevEnvironmentSummary'
          description: Information about the Dev Environments in a project.
        nextToken:
          type: string
          description: A token returned from a call to this API to indicate the next batch of results to return, if any.
      required:
      - items
    PersistentStorage:
      type: object
      properties:
        sizeInGiB:
          type: integer
          description: The size of the persistent storage in gigabytes (specifically GiB). Valid values for storage are based
            on memory sizes in 16GB increments. Valid values are 16, 32, and 64.
      required:
      - sizeInGiB
    PersistentStorageConfiguration:
      type: object
      properties:
        sizeInGiB:
          type: integer
          description: The size of the persistent storage in gigabytes (specifically GiB). Valid values for storage are based
            on memory sizes in 16GB increments. Valid values are 16, 32, and 64.
      required:
      - sizeInGiB
    RepositoryInput:
      type: object
      properties:
        repositoryName:
          type: string
          description: The name of the source repository.
        branchName:
          type: string
          description: The name of the branch in a source repository.
      required:
      - repositoryName
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    UpdateDevEnvironmentResponse:
      type: object
      properties:
        id:
          type: string
          description: The system-generated unique ID of the Dev Environment.
        spaceName:
          type: string
          description: The name of the space.
        projectName:
          type: string
          description: The name of the project in the space.
        alias:
          type: string
          description: The user-specified alias for the Dev Environment.
        ides:
          type: array
          items:
            $ref: '#/components/schemas/IdeConfiguration'
          description: Information about the integrated development environment (IDE) configured for the Dev Environment.
        instanceType:
          type: string
          description: The Amazon EC2 instace type to use for the Dev Environment.
        inactivityTimeoutMinutes:
          type: integer
          description: The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.
        clientToken:
          type: string
          description: A user-specified idempotency token. Idempotency ensures that an API request completes only once. With
            an idempotent request, if the original request completes successfully, the subsequent retries return the result
            from the original successful request and have no additional effect.
      required:
      - id
      - spaceName
      - projectName
    ValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/codecatalyst/service/2022-09-28/codecatalyst-2022-09-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)