Returns a list of the notification rule targets for an Amazon Web Services account.
Use a bare-bones client and the command you need to make an API call.
import { CodestarNotificationsClient, ListTargetsCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import // const { CodestarNotificationsClient, ListTargetsCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import const client = new CodestarNotificationsClient(config); const command = new ListTargetsCommand(input); const response = await client.send(command);
ListTargetsCommandInput for command's input shape.
input
ListTargetsCommandOutput for command's response shape.
response
config for CodestarNotificationsClient's config shape.
config
Returns a list of the notification rule targets for an Amazon Web Services account.
Use a bare-bones client and the command you need to make an API call.
import { CodestarNotificationsClient, ListTargetsCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import // const { CodestarNotificationsClient, ListTargetsCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import const client = new CodestarNotificationsClient(config); const command = new ListTargetsCommand(input); const response = await client.send(command);
ListTargetsCommandInput for command's
input
shape.ListTargetsCommandOutput for command's
response
shape.config for CodestarNotificationsClient's
config
shape.