class Amazonite::Sns::Subscription

Overview

A wrapper type for the attributes of an Amazon SNS subscription.

Defined in:

sns/subscription.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(subscription_arn : String | Nil = nil, owner : String | Nil = nil, protocol : String | Nil = nil, endpoint : String | Nil = nil, topic_arn : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def endpoint : String | Nil #

The subscription's endpoint (format depends on the protocol).


[View source]
def endpoint=(endpoint : String | Nil) #

The subscription's endpoint (format depends on the protocol).


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def owner : String | Nil #

The subscription's owner.


[View source]
def owner=(owner : String | Nil) #

The subscription's owner.


[View source]
def protocol : String | Nil #

The subscription's protocol.


[View source]
def protocol=(protocol : String | Nil) #

The subscription's protocol.


[View source]
def subscription_arn : String | Nil #

The subscription's ARN.


[View source]
def subscription_arn=(subscription_arn : String | Nil) #

The subscription's ARN.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def topic_arn : String | Nil #

The ARN of the subscription's topic.


[View source]
def topic_arn=(topic_arn : String | Nil) #

The ARN of the subscription's topic.


[View source]
def validate! : Nil #

[View source]