Deletes a DataSource object.
DataSource
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);
DeleteDataSourceCommandInput for command's input shape.
input
DeleteDataSourceCommandOutput for command's response shape.
response
config for AppSyncClient's config shape.
config
Deletes a
DataSource
object.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);
DeleteDataSourceCommandInput for command's
input
shape.DeleteDataSourceCommandOutput for command's
response
shape.config for AppSyncClient's
config
shape.