Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListTargetsCommand

Returns a list of the notification rule targets for an Amazon Web Services account.

example

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);
see

ListTargetsCommandInput for command's input shape.

see

ListTargetsCommandOutput for command's response shape.

see

config for CodestarNotificationsClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListTargetsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListTargetsCommandInput, ListTargetsCommandOutput>