ListTopics - Amazon Simple Notification Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ListTopics

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).

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

NextToken

Token returned by the previous ListTopics request.

Type: String

Required: No

Response Elements

The following elements are returned by the service.

NextToken

Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.

Type: String

Topics.member.N

A list of topic ARNs.

Type: Array of Topic objects

Errors

For information about the errors that are common to all actions, see Common Errors.

AuthorizationError

Indicates that the user has been denied access to the requested resource.

HTTP Status Code: 403

InternalError

Indicates an internal service error.

HTTP Status Code: 500

InvalidParameter

Indicates that a request parameter does not comply with the associated constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: