Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateTypeCommand

Creates a Type object.

example

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);
see

CreateTypeCommandInput for command's input shape.

see

CreateTypeCommandOutput for command's response shape.

see

config for AppSyncClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateTypeCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateTypeCommandInput, CreateTypeCommandOutput>