{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud9/json-schema/amazon-cloud9-update-environment-membership-request-schema.json",
  "title": "UpdateEnvironmentMembershipRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud9-environment-membership-api-openapi.yml#/components/schemas/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"
  ]
}