class
Amazonite::Sns::Subscription
- Amazonite::Sns::Subscription
- Reference
- Object
Overview
A wrapper type for the attributes of an Amazon SNS subscription.
Defined in:
sns/subscription.crConstructors
- .from_xml(node : XML::Node) : self
- .new(subscription_arn : String | Nil = nil, owner : String | Nil = nil, protocol : String | Nil = nil, endpoint : String | Nil = nil, topic_arn : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#endpoint : String | Nil
The subscription's endpoint (format depends on the protocol).
-
#endpoint=(endpoint : String | Nil)
The subscription's endpoint (format depends on the protocol).
-
#hash(hasher)
See
Object#hash(hasher) -
#owner : String | Nil
The subscription's owner.
-
#owner=(owner : String | Nil)
The subscription's owner.
-
#protocol : String | Nil
The subscription's protocol.
-
#protocol=(protocol : String | Nil)
The subscription's protocol.
-
#subscription_arn : String | Nil
The subscription's ARN.
-
#subscription_arn=(subscription_arn : String | Nil)
The subscription's ARN.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#topic_arn : String | Nil
The ARN of the subscription's topic.
-
#topic_arn=(topic_arn : String | Nil)
The ARN of the subscription's topic.
- #validate! : Nil
Constructor Detail
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)
#
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=(endpoint : String | Nil)
#
The subscription's endpoint (format depends on the protocol).