Learn R Programming

aws.sns (version 0.1.7)

get_subscription_attrs: Get/set subscription attributes

Description

Get or set subscription attributes

Usage

get_subscription_attrs(subscription, ...)

set_subscription_attrs(subscription, attribute, ...)

Arguments

subscription

A character string containing an SNS Subscription Amazon Resource Name (ARN).

...

Additional arguments passed to snsHTTP.

attribute

A named, single-element list containing a subscription attribute. Name must be either “DeliveryPolicy” or “RawMessageDelivery”.

Value

If successful, for get_subscription_attrs: a named list containing some details of the request, for set_subscription_attrs: a logical TRUE value. Otherwise, a data structure of class “aws_error” containing any error message(s) from AWS and information about the request attempt.

Details

get_subscription_attrs retrieves subscription attributes, while set_subscription_attrs can be used to set those attributes.

References

GetSubscriptionAttributes SetSubscriptionAttributes

See Also

link{subscribe} link{list_subscriptions}