Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListTopicsCommand

Returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If there are more topics, a NextToken is also returned. Use the NextToken parameter in a new ListTopics call to get further results.

This action is throttled at 30 transactions per second (TPS).

example

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

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

ListTopicsCommandInput for command's input shape.

see

ListTopicsCommandOutput for command's response shape.

see

config for SNSClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListTopicsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListTopicsCommandInput, ListTopicsCommandOutput>