Gets a simple list of Topic ARNs.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Optional |
A Perl-Compatible Regular Expression (PCRE) to filter the names against. |
Returns
Type |
Description |
---|---|
A list of Topic ARNs. |
Examples
Get a simple array of Topic ARNs.
$sns = new AmazonSNS(); // List all topics $response = $sns->get_topic_list(); // Success? (Array, not a CFResponse object) var_dump($response);
Get a simple array of Topic ARNs, filtered by a regular expression.
$sns = new AmazonSNS(); // List all topics $response = $sns->get_topic_list('/example-topic/i'); // Success? (Array, not a CFResponse object) var_dump($response);
See Also
Source
Method defined in services/sns.class.php | Toggle source view (17 lines) | View on GitHub