@@ -78,27 +78,27 @@ defmodule ExAws.SNS do
7878 |> Map . new
7979 |> camelize_keys
8080
81- request ( :list_topics , opts )
81+ request ( "ListTopics" , opts )
8282 end
8383
8484 @ doc "Create topic"
8585 @ spec create_topic ( topic_name :: topic_name ) :: ExAws.Operation.Query . t
8686 def create_topic ( topic_name ) do
87- request ( :create_topic , % { "Name" => topic_name } )
87+ request ( "CreateTopic" , % { "Name" => topic_name } )
8888 end
8989
9090 @ doc "Get topic attributes"
9191 @ spec get_topic_attributes ( topic_arn :: topic_arn ) :: ExAws.Operation.Query . t
9292 def get_topic_attributes ( topic_arn ) do
93- request ( :get_topic_attributes , % { "TopicArn" => topic_arn } )
93+ request ( "GetTopicAttributes" , % { "TopicArn" => topic_arn } )
9494 end
9595
9696 @ doc "Set topic attributes"
9797 @ spec set_topic_attributes ( attribute_name :: topic_attribute_name ,
9898 attribute_value :: binary ,
9999 topic_arn :: topic_arn ) :: ExAws.Operation.Query . t
100100 def set_topic_attributes ( attribute_name , attribute_value , topic_arn ) do
101- request ( :set_topic_attributes , % {
101+ request ( "SetTopicAttributes" , % {
102102 "AttributeName" => attribute_name |> camelize_key ,
103103 "AttributeValue" => attribute_value ,
104104 "TopicArn" => topic_arn
@@ -108,7 +108,7 @@ defmodule ExAws.SNS do
108108 @ doc "Delete topic"
109109 @ spec delete_topic ( topic_arn :: topic_arn ) :: ExAws.Operation.Query . t
110110 def delete_topic ( topic_arn ) do
111- request ( :delete_topic , % { "TopicArn" => topic_arn } )
111+ request ( "DeleteTopic" , % { "TopicArn" => topic_arn } )
112112 end
113113
114114 @ type message_attribute :: % {
@@ -146,7 +146,7 @@ defmodule ExAws.SNS do
146146 |> Map . put ( "Message" , message )
147147 |> Map . merge ( message_attrs )
148148
149- request ( :publish , params )
149+ request ( "Publish" , params )
150150 end
151151
152152 defp build_message_attributes ( attrs ) do
0 commit comments