{
  "name": "CreateAuthorizer",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudGateway.CreateAuthorizer",
    "service": "gateway"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "definitions": {
      "AuthorizerType": {
        "enum": [
          "JWT",
          "SIGV4",
          "USER_POOL",
          "NONE"
        ],
        "type": "string"
      }
    },
    "properties": {
      "apiId": {
        "type": "string"
      },
      "appClientId": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "authorizerType": {
        "$ref": "#/definitions/AuthorizerType"
      },
      "userPoolId": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "apiId",
      "authorizerType"
    ],
    "title": "CreateAuthorizerRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "authorizerId": {
        "type": "string"
      }
    },
    "required": [
      "authorizerId"
    ],
    "title": "AuthorizerMutationResponse",
    "type": "object"
  }
}
