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