Creates a GraphqlApi object.
GraphqlApi
Use a bare-bones client and the command you need to make an API call.
import { AppSyncClient, CreateGraphqlApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import // const { AppSyncClient, CreateGraphqlApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import const client = new AppSyncClient(config); const command = new CreateGraphqlApiCommand(input); const response = await client.send(command);
CreateGraphqlApiCommandInput for command's input shape.
input
CreateGraphqlApiCommandOutput for command's response shape.
response
config for AppSyncClient's config shape.
config
Creates a
GraphqlApi
object.Use a bare-bones client and the command you need to make an API call.
import { AppSyncClient, CreateGraphqlApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import // const { AppSyncClient, CreateGraphqlApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import const client = new AppSyncClient(config); const command = new CreateGraphqlApiCommand(input); const response = await client.send(command);
CreateGraphqlApiCommandInput for command's
input
shape.CreateGraphqlApiCommandOutput for command's
response
shape.config for AppSyncClient's
config
shape.