class AWS::SNS::Client
- AWS::SNS::Client
- AWS::Client
- Reference
- Object
Defined in:
sns.crConstant Summary
-
SERVICE_NAME =
"sns"
Instance Method Summary
- #create_topic(name : String)
- #publish(topic_arn : String, message : String, subject : String = "")
- #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))
- #subscribe(topic_arn : String, protocol : String, endpoint : String)
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 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))
#