createApi

abstract suspend fun createApi(input: CreateApiRequest): CreateApiResponse

Creates an Api object. Use this operation to create an AppSync API with your preferred configuration, such as an Event API that provides real-time message publishing and message subscriptions over WebSockets.