{
  "opencollection": "1.0.0",
  "info": {
    "name": "Amazon CodeCatalyst AccessTokens Spaces API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Spaces",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Amazon CodeCatalyst List Dev Environments",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "maxResults",
                "value": "",
                "type": "query",
                "description": "Pagination limit"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Pagination token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves a list of Dev Environments in a project."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Create Dev Environment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<p>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. </p> <note> <p>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.</p> </note>"
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst List Projects",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "maxResults",
                "value": "",
                "type": "query",
                "description": "Pagination limit"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Pagination token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves a list of projects."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Create Project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a project in a specified space."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Get Source Repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/sourceRepositories/:name",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the source repository."
              }
            ]
          },
          "docs": "Returns information about a source repository."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Create Source Repository",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/sourceRepositories/:name",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the source repository. For more information about name requirements, see <a href=\"https://docs.aws.amazon.com/codecatalyst/latest/userguide/source-quotas.html\">Quotas for source repositories</a>."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an empty Git-based source repository in a specified project. The repository is created with an initial empty commit with a default branch named <code>main</code>."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Delete Source Repository",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/sourceRepositories/:name",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the source repository."
              }
            ]
          },
          "docs": "Deletes a source repository in Amazon CodeCatalyst. You cannot use this API to delete a linked repository. It can only be used to delete a Amazon CodeCatalyst source repository."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Create Source Repository Branch",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/sourceRepositories/:sourceRepositoryName/branches/:name",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "sourceRepositoryName",
                "value": "",
                "type": "path",
                "description": "The name of the repository where you want to create a branch."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name for the branch you're creating."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<p>Creates a branch in a specified source repository in Amazon CodeCatalyst. </p> <note> <p>This API only creates a branch in a source repository hosted in Amazon CodeCatalyst. You cannot use this API to create a branch in a linked repository.</p> </note>"
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Get Dev Environment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments/:id",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "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 <a>ListDevEnvironments</a>."
              }
            ]
          },
          "docs": "Returns information about a Dev Environment for a source repository in a project. Dev Environments are specific to the user who creates them."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Update Dev Environment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments/:id",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The system-generated unique ID of the Dev Environment. "
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Changes one or more values for a Dev Environment. Updating certain values of the Dev Environment will cause a restart."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Delete Dev Environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments/:id",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The system-generated unique ID of the Dev Environment you want to delete. To retrieve a list of Dev Environment IDs, use <a>ListDevEnvironments</a>."
              }
            ]
          },
          "docs": "Deletes a Dev Environment. "
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Get Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:name",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              }
            ]
          },
          "docs": "Returns information about a project."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Update Project",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:name",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Changes one or more values for a project."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Delete Project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:name",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space. To retrieve a list of project names, use <a>ListProjects</a>."
              }
            ]
          },
          "docs": "Deletes a project in a space."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Get Space",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              }
            ]
          },
          "docs": "Returns information about an space."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Update Space",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Changes one or more values for a space."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Delete Space",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the space. To retrieve a list of space names, use <a>ListSpaces</a>."
              }
            ]
          },
          "docs": "<p>Deletes a space.</p> <important> <p>Deleting a space cannot be undone. Additionally, since space names must be unique across Amazon CodeCatalyst, you cannot reuse names of deleted spaces.</p> </important>"
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Get Source Repository Clone Urls",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/sourceRepositories/:sourceRepositoryName/cloneUrls",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "sourceRepositoryName",
                "value": "",
                "type": "path",
                "description": "The name of the source repository."
              }
            ]
          },
          "docs": "Returns information about the URLs that can be used with a Git client to clone a source repository."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Get Subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/subscription",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              }
            ]
          },
          "docs": "Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst List Dev Environment Sessions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments/:devEnvironmentId/sessions",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "devEnvironmentId",
                "value": "",
                "type": "path",
                "description": "The system-generated unique ID of the Dev Environment."
              },
              {
                "name": "maxResults",
                "value": "",
                "type": "query",
                "description": "Pagination limit"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Pagination token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves a list of active sessions for a Dev Environment in a project."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst List Event Logs",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/eventLogs",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "maxResults",
                "value": "",
                "type": "query",
                "description": "Pagination limit"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Pagination token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves a list of events that occurred during a specified time period in a space. You can use these events to audit user and system activity in a space."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst List Source Repositories",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/sourceRepositories",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "maxResults",
                "value": "",
                "type": "query",
                "description": "Pagination limit"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Pagination token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves a list of source repositories in a project."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst List Source Repository Branches",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/sourceRepositories/:sourceRepositoryName/branches",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "sourceRepositoryName",
                "value": "",
                "type": "path",
                "description": "The name of the source repository."
              },
              {
                "name": "maxResults",
                "value": "",
                "type": "query",
                "description": "Pagination limit"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Pagination token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves a list of branches in a specified source repository."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst List Spaces",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://codecatalyst.global.api.aws/v1/spaces",
            "params": [
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Pagination token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves a list of spaces."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Start Dev Environment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments/:id/start",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The system-generated unique ID of the Dev Environment. "
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Starts a specified Dev Environment and puts it into an active state. "
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Start Dev Environment Session",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments/:id/session",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The system-generated unique ID of the Dev Environment."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Starts a session for a specified Dev Environment."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Stop Dev Environment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments/:id/stop",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The system-generated unique ID of the Dev Environment. "
              }
            ]
          },
          "docs": "Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes."
        },
        {
          "info": {
            "name": "Amazon CodeCatalyst Stop Dev Environment Session",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://codecatalyst.global.api.aws/v1/spaces/:spaceName/projects/:projectName/devEnvironments/:id/session/:sessionId",
            "params": [
              {
                "name": "spaceName",
                "value": "",
                "type": "path",
                "description": "The name of the space."
              },
              {
                "name": "projectName",
                "value": "",
                "type": "path",
                "description": "The name of the project in the space."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The system-generated unique ID of the Dev Environment. To obtain this ID, use <a>ListDevEnvironments</a>."
              },
              {
                "name": "sessionId",
                "value": "",
                "type": "path",
                "description": "The system-generated unique ID of the Dev Environment session. This ID is returned by <a>StartDevEnvironmentSession</a>."
              }
            ]
          },
          "docs": "Stops a session for a specified Dev Environment."
        }
      ]
    }
  ],
  "bundled": true
}