Amazon AppSync · Schema

CreateChannelNamespaceRequest

Amazon AppSyncGraphQLAPI ManagementServerlessAmazon Web Services

Properties

Name Type Description
apiId string The Api ID.
name string The name of the ChannelNamespace. This name must be unique within the Api
subscribeAuthModes array The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default Api authorization configuration.
publishAuthModes array The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default Api authorization configuration.
codeHandlers string The event handler functions that run custom business logic to process published events and subscribe requests.
tags object
handlerConfigs object
View JSON Schema on GitHub

JSON Schema

amazon-appsync-create-channel-namespace-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-appsync/json-schema/amazon-appsync-create-channel-namespace-request-schema.json",
  "title": "CreateChannelNamespaceRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-appsync-channelnamespaces-api-openapi.yml#/components/schemas/CreateChannelNamespaceRequest",
  "type": "object",
  "properties": {
    "apiId": {
      "type": "string",
      "description": "The Api ID."
    },
    "name": {
      "type": "string",
      "description": "The name of the ChannelNamespace. This name must be unique within the Api"
    },
    "subscribeAuthModes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AuthMode"
      },
      "description": "The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default Api authorization configuration."
    },
    "publishAuthModes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AuthMode"
      },
      "description": "The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default Api authorization configuration."
    },
    "codeHandlers": {
      "type": "string",
      "description": "The event handler functions that run custom business logic to process published events and subscribe requests."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "handlerConfigs": {
      "$ref": "#/$defs/HandlerConfigs"
    }
  },
  "required": [
    "apiId",
    "name"
  ],
  "$defs": {
    "AuthMode": {
      "type": "object",
      "properties": {
        "authType": {
          "type": "string",
          "enum": [
            "API_KEY",
            "AWS_IAM",
            "AMAZON_COGNITO_USER_POOLS",
            "OPENID_CONNECT",
            "AWS_LAMBDA"
          ],
          "description": "The authorization type."
        }
      },
      "required": [
        "authType"
      ]
    },
    "HandlerConfig": {
      "type": "object",
      "properties": {
        "behavior": {
          "type": "string",
          "enum": [
            "CODE",
            "DIRECT"
          ],
          "description": "The behavior for the handler."
        },
        "integration": {
          "$ref": "#/$defs/Integration"
        }
      },
      "required": [
        "behavior",
        "integration"
      ]
    },
    "HandlerConfigs": {
      "type": "object",
      "properties": {
        "onPublish": {
          "$ref": "#/$defs/HandlerConfig"
        },
        "onSubscribe": {
          "$ref": "#/$defs/HandlerConfig"
        }
      }
    },
    "Integration": {
      "type": "object",
      "properties": {
        "dataSourceName": {
          "type": "string",
          "description": "The unique name of the data source that has been configured on the API."
        },
        "lambdaConfig": {
          "$ref": "#/$defs/LambdaConfig"
        }
      },
      "required": [
        "dataSourceName"
      ]
    },
    "LambdaConfig": {
      "type": "object",
      "properties": {
        "invokeType": {
          "type": "string",
          "enum": [
            "REQUEST_RESPONSE",
            "EVENT"
          ],
          "description": "The invocation type for a Lambda data source."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-appsync-create-channel-namespace-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.