{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-appsync/json-schema/amazon-appsync-put-graphql-api-environment-variables-request-schema.json",
  "title": "PutGraphqlApiEnvironmentVariablesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-appsync-operations-api-openapi.yml#/components/schemas/PutGraphqlApiEnvironmentVariablesRequest",
  "type": "object",
  "properties": {
    "apiId": {
      "type": "string",
      "description": "The ID of the API to which the environmental variable list will be written."
    },
    "environmentVariables": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The list of environmental variables to add to the API. When creating an environmental variable key-value pair, it must follow the additional constraints below: Keys must begin with a letter. Keys must be at least two characters long. Keys can only contain letters, numbers, and the underscore character (_). Values can be up to 512 characters long. You can configure up to 50 key-value pairs in a GraphQL API. You can create a list of environmental variables by adding it to the environmentVariables payload as a list in the format {\"key1\":\"value1\",\"key2\":\"value2\", …}. Note that each call of the Put"
    }
  },
  "required": [
    "apiId",
    "environmentVariables"
  ]
}