class AWS::SNS::Client

Defined in:

sns.cr

Constant Summary

SERVICE_NAME = "sns"

Instance Method Summary

Instance methods inherited from class AWS::Client

delete(path : String, headers = HTTP::Headers.new) delete, get(path : String, headers = HTTP::Headers.new)
get(path : String, headers = HTTP::Headers.new, &block : HTTP::Client::Response -> )
get
, head(path : String, headers : HTTP::Headers) head, post(path : String, body : String, headers = HTTP::Headers.new) post, put(path : String, body : IO, headers = HTTP::Headers.new) put

Constructor methods inherited from class AWS::Client

new(access_key_id : String = AWS.access_key_id, secret_access_key : String = AWS.secret_access_key, region : String = AWS.region, endpoint : URI = URI.parse("https://#{service_name}.#{region}.amazonaws.com")) new

Instance Method Detail

def create_topic(name : String) #

[View source]
def publish(topic_arn : String, message : String, subject : String = "") #

[View source]
def subscribe(topic : Topic, queue : SQS::Queue, sqs = SQS::Client.new(access_key_id: access_key_id, secret_access_key: secret_access_key, region: region, endpoint: endpoint)) #

[View source]
def subscribe(topic_arn : String, protocol : String, endpoint : String) #

[View source]