createApi

inline suspend fun AppSyncClient.createApi(crossinline block: CreateApiRequest.Builder.() -> Unit): 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.