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