Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateResolverCommand

Creates a Resolver object.

A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL.

example

Use a bare-bones client and the command you need to make an API call.

import { AppSyncClient, CreateResolverCommand } from "@aws-sdk/client-appsync"; // ES Modules import
// const { AppSyncClient, CreateResolverCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
const client = new AppSyncClient(config);
const command = new CreateResolverCommand(input);
const response = await client.send(command);
see

CreateResolverCommandInput for command's input shape.

see

CreateResolverCommandOutput for command's response shape.

see

config for AppSyncClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateResolverCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateResolverCommandInput, CreateResolverCommandOutput>