Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateWebhookCommand

Creates a new webhook on an Amplify app.

example

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

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

CreateWebhookCommandInput for command's input shape.

see

CreateWebhookCommandOutput for command's response shape.

see

config for AmplifyClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateWebhookCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateWebhookCommandInput, CreateWebhookCommandOutput>