Amazon Simple Notification Service
API Reference (API Version 2010-03-31)


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.


Token returned by the previous ListTopics request.

Type: String

Required: No

Response Elements

The following elements are returned by the service.


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

Type: String


A list of topic ARNs.

Type: Array of Topic objects


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


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

HTTP Status Code: 403


Indicates an internal service error.

HTTP Status Code: 500


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

HTTP Status Code: 400



Sample Request ?Action=ListTopics &SignatureVersion=2 &SignatureMethod=HmacSHA256 &Timestamp=2010-03-31T12%3A00%3A00.000Z &AWSAccessKeyId=(AWS Access Key ID) &Signature=tPg1qKNTNVPydnL3Yx5Fqm2O9GxCr9vh3EF5r9%2F5%2BJs%3D

Sample Response

<ListTopicsResponse xmlns=""> <ListTopicsResult> <Topics> <member> <TopicArn>arn:aws:sns:us-east-1:123456789012:My-Topic</TopicArn> </member> </Topics> </ListTopicsResult> <ResponseMetadata> <RequestId>3f1478c7-33a9-11df-9540-99d0768312d3</RequestId> </ResponseMetadata> </ListTopicsResponse>

See Also

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