Lists the data sources for a given API.
Use a bare-bones client and the command you need to make an API call.
import { AppSyncClient, ListDataSourcesCommand } from "@aws-sdk/client-appsync"; // ES Modules import // const { AppSyncClient, ListDataSourcesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import const client = new AppSyncClient(config); const command = new ListDataSourcesCommand(input); const response = await client.send(command);
ListDataSourcesCommandInput for command's input shape.
input
ListDataSourcesCommandOutput for command's response shape.
response
config for AppSyncClient's config shape.
config
Lists the data sources for a given API.
Use a bare-bones client and the command you need to make an API call.
import { AppSyncClient, ListDataSourcesCommand } from "@aws-sdk/client-appsync"; // ES Modules import // const { AppSyncClient, ListDataSourcesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import const client = new AppSyncClient(config); const command = new ListDataSourcesCommand(input); const response = await client.send(command);
ListDataSourcesCommandInput for command's
input
shape.ListDataSourcesCommandOutput for command's
response
shape.config for AppSyncClient's
config
shape.