Amazon Cloud9 Cloud9 Environment Membership API

The Cloud9 Environment Membership API from Amazon Cloud9 — 4 operation(s) for cloud9 environment membership.

Operations 4

POST /#CreateEnvironmentMembership Create Environment Membership #
POST /#DeleteEnvironmentMembership Delete Environment Membership #
POST /#DescribeEnvironmentMemberships Describe Environment Memberships #
POST /#UpdateEnvironmentMembership Update Environment Membership #

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-cloud9:amazon-cloud9-environment-membership-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-cloud9-environment-membership-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Cloud9 Environment Membership API
  version: '2017-09-23'
  description: Generated from AWS's published Smithy model for AWS Cloud9. 4 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://cloud9.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateEnvironmentMembership:
    post:
      operationId: CreateEnvironmentMembership
      summary: Create Environment Membership
      description: Adds an environment member to an Cloud9 development environment. Cloud9 is no longer available to new customers.
        Existing customers of Cloud9 can continue to use the service as normal. Learn more"
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateEnvironmentMembershipResult'
              example:
                membership:
                  environmentId: 8d9967e2f0624182b74e7690ad69ebEX
                  permissions: read-write
                  userArn: arn:aws:iam::123456789012:user/AnotherDemoUser
                  userId: AIDAJ3BA6O2FMJWCWXHEX
        '400':
          description: BadRequestException; ConflictException; ForbiddenException; LimitExceededException; NotFoundException;
            TooManyRequestsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSCloud9WorkspaceManagementService.CreateEnvironmentMembership
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateEnvironmentMembershipRequest'
            example:
              environmentId: 8d9967e2f0624182b74e7690ad69ebEX
              userArn: arn:aws:iam::123456789012:user/AnotherDemoUser
              permissions: read-write
      tags:
      - Environment Membership
  /#DeleteEnvironmentMembership:
    post:
      operationId: DeleteEnvironmentMembership
      summary: Delete Environment Membership
      description: Deletes an environment member from a development environment. Cloud9 is no longer available to new customers.
        Existing customers of Cloud9 can continue to use the service as normal. Learn more"
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteEnvironmentMembershipResult'
              example: {}
        '400':
          description: BadRequestException; ConflictException; ForbiddenException; LimitExceededException; NotFoundException;
            TooManyRequestsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSCloud9WorkspaceManagementService.DeleteEnvironmentMembership
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteEnvironmentMembershipRequest'
            example:
              environmentId: 8d9967e2f0624182b74e7690ad69ebEX
              userArn: arn:aws:iam::123456789012:user/AnotherDemoUser
      tags:
      - Environment Membership
  /#DescribeEnvironmentMemberships:
    post:
      operationId: DescribeEnvironmentMemberships
      summary: Describe Environment Memberships
      description: Gets information about environment members for an Cloud9 development environment. Cloud9 is no longer available
        to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeEnvironmentMembershipsResult'
              example:
                memberships:
                - environmentId: 8d9967e2f0624182b74e7690ad69ebEX
                  permissions: owner
                  userArn: arn:aws:iam::123456789012:user/MyDemoUser
                  userId: AIDAJNUEDQAQWFELJDLEX
        '400':
          description: BadRequestException; ConflictException; ForbiddenException; LimitExceededException; NotFoundException;
            TooManyRequestsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSCloud9WorkspaceManagementService.DescribeEnvironmentMemberships
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeEnvironmentMembershipsRequest'
            example:
              permissions:
              - owner
              environmentId: 8d9967e2f0624182b74e7690ad69ebEX
      tags:
      - Environment Membership
  /#UpdateEnvironmentMembership:
    post:
      operationId: UpdateEnvironmentMembership
      summary: Update Environment Membership
      description: Changes the settings of an existing environment member for an Cloud9 development environment. Cloud9 is
        no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn
        more"
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/UpdateEnvironmentMembershipResult'
              example:
                membership:
                  environmentId: 8d9967e2f0624182b74e7690ad69eb31
                  permissions: read-only
                  userArn: arn:aws:iam::123456789012:user/AnotherDemoUser
                  userId: AIDAJ3BA6O2FMJWCWXHEX
        '400':
          description: BadRequestException; ConflictException; ForbiddenException; LimitExceededException; NotFoundException;
            TooManyRequestsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSCloud9WorkspaceManagementService.UpdateEnvironmentMembership
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/UpdateEnvironmentMembershipRequest'
            example:
              environmentId: 8d9967e2f0624182b74e7690ad69ebEX
              userArn: arn:aws:iam::123456789012:user/AnotherDemoUser
              permissions: read-only
      tags:
      - Environment Membership
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: cloud9
  schemas:
    BadRequestException:
      type: object
      properties:
        message:
          type: string
        className:
          type: string
        code:
          type: integer
    CreateEnvironmentMembershipRequest:
      type: object
      properties:
        environmentId:
          type: string
          description: The ID of the environment that contains the environment member you want to add.
        userArn:
          type: string
          description: The Amazon Resource Name (ARN) of the environment member you want to add.
        permissions:
          type: string
          enum:
          - read-write
          - read-only
          description: 'The type of environment member permissions you want to associate with this environment member. Available
            values include: read-only: Has read-only access to the environment. read-write: Has read-write access to the environment.'
      required:
      - environmentId
      - userArn
      - permissions
    CreateEnvironmentMembershipResult:
      type: object
      properties:
        membership:
          $ref: '#/components/schemas/EnvironmentMember'
      required:
      - membership
    DeleteEnvironmentMembershipRequest:
      type: object
      properties:
        environmentId:
          type: string
          description: The ID of the environment to delete the environment member from.
        userArn:
          type: string
          description: The Amazon Resource Name (ARN) of the environment member to delete from the environment.
      required:
      - environmentId
      - userArn
    DeleteEnvironmentMembershipResult:
      type: object
      properties: {}
    DescribeEnvironmentMembershipsRequest:
      type: object
      properties:
        userArn:
          type: string
          description: The Amazon Resource Name (ARN) of an individual environment member to get information about. If no
            value is specified, information about all environment members are returned.
        environmentId:
          type: string
          description: The ID of the environment to get environment member information about.
        permissions:
          type: array
          items:
            type: string
            enum:
            - owner
            - read-write
            - read-only
          description: 'The type of environment member permissions to get information about. Available values include: owner:
            Owns the environment. read-only: Has read-only access to the environment. read-write: Has read-write access to
            the environment. If no value is specified, information about all environment members are returned.'
        nextToken:
          type: string
          description: During a previous call, if there are more than 25 items in the list, only the first 25 items are returned,
            along with a unique string called a next token. To get the next batch of items in the list, call this operation
            again, adding the next token to the call. To get all of the items in the list, keep calling this operation with
            each subsequent next token that is returned, until no more next tokens are returned.
        maxResults:
          type: integer
          description: The maximum number of environment members to get information about.
    DescribeEnvironmentMembershipsResult:
      type: object
      properties:
        memberships:
          type: array
          items:
            $ref: '#/components/schemas/EnvironmentMember'
          description: Information about the environment members for the environment.
        nextToken:
          type: string
          description: If there are more than 25 items in the list, only the first 25 items are returned, along with a unique
            string called a next token. To get the next batch of items in the list, call this operation again, adding the
            next token to the call.
    EnvironmentMember:
      type: object
      properties:
        permissions:
          type: string
          enum:
          - owner
          - read-write
          - read-only
          description: 'The type of environment member permissions associated with this environment member. Available values
            include: owner: Owns the environment. read-only: Has read-only access to the environment. read-write: Has read-write
            access to the environment.'
        userId:
          type: string
          description: The user ID in Identity and Access Management (IAM) of the environment member.
        userArn:
          type: string
          description: The Amazon Resource Name (ARN) of the environment member.
        environmentId:
          type: string
          description: The ID of the environment for the environment member.
        lastAccess:
          type: string
          format: date-time
          description: The time, expressed in epoch time format, when the environment member last opened the environment.
      required:
      - permissions
      - userId
      - userArn
      - environmentId
    InternalServerErrorException:
      type: object
      properties:
        message:
          type: string
        className:
          type: string
        code:
          type: integer
    UpdateEnvironmentMembershipRequest:
      type: object
      properties:
        environmentId:
          type: string
          description: The ID of the environment for the environment member whose settings you want to change.
        userArn:
          type: string
          description: The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
        permissions:
          type: string
          enum:
          - read-write
          - read-only
          description: 'The replacement type of environment member permissions you want to associate with this environment
            member. Available values include: read-only: Has read-only access to the environment. read-write: Has read-write
            access to the environment.'
      required:
      - environmentId
      - userArn
      - permissions
    UpdateEnvironmentMembershipResult:
      type: object
      properties:
        membership:
          $ref: '#/components/schemas/EnvironmentMember'
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/cloud9/service/2017-09-23/cloud9-2017-09-23.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)