get_subscription_attrs: Get/set subscription attributes

View source: R/subscriptions.r

get_subscription_attrsR Documentation

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”.

Details

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

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.

Author(s)

Thomas J. Leeper

References

GetSubscriptionAttributes SetSubscriptionAttributes

See Also

subscribe list_subscriptions


cloudyr/aws.sns documentation built on June 26, 2022, 4:04 a.m.