class Amazonite::Sns::ConfirmSubscriptionInput

Overview

Input for ConfirmSubscription action.

Defined in:

sns/confirm_subscription_input.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(topic_arn : String, token : String, authenticate_on_unsubscribe : 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 authenticate_on_unsubscribe : String | Nil #

Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.


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

Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.


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

See Object#hash(hasher)


def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def token : String #

Short-lived token sent to an endpoint during the Subscribe action.


[View source]
def token=(token : String) #

Short-lived token sent to an endpoint during the Subscribe action.


[View source]
def topic_arn : String #

The ARN of the topic for which you wish to confirm a subscription.


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

The ARN of the topic for which you wish to confirm a subscription.


[View source]
def validate! : Nil #

[View source]