Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteDataSourceCommand

Deletes a DataSource object.

example

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

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

DeleteDataSourceCommandInput for command's input shape.

see

DeleteDataSourceCommandOutput for command's response shape.

see

config for AppSyncClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeleteDataSourceCommandInput

Readonly middlewareStack