Method: Fog::AWS::SNS::Real#create_topic
- Defined in:
- lib/fog/aws/requests/sns/create_topic.rb
#create_topic(name) ⇒ Object
Create a topic
Parameters
-
name<~String> - Name of topic to create
See Also
docs.amazonwebservices.com/sns/latest/api/API_CreateTopic.html
17 18 19 20 21 22 23 |
# File 'lib/fog/aws/requests/sns/create_topic.rb', line 17 def create_topic(name) request({ 'Action' => 'CreateTopic', 'Name' => name, :parser => Fog::Parsers::AWS::SNS::CreateTopic.new }) end |