Get or set topic attributes
get_topic_attrs(topic, ...)set_topic_attrs(topic, attribute, ...)
A character string containing an SNS Topic Amazon Resource Name (ARN).
Additional arguments passed to snsHTTP
.
A named, single-element list containing a topic attribute. Name must be either “Policy”, “DeliveryPolicy”, or “DisplayName”.
If successful, for get_topic_attrs
: a named list containing some details of the request, for set_topic_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.
get_topic_attrs
retrieves topic attributes, while set_topic_attrs
can be used to set those attributes.