Learn R Programming

aws.sns (version 0.1.7)

get_topic_attrs: Get/set topic attributes

Description

Get or set topic attributes

Usage

get_topic_attrs(topic, ...)

set_topic_attrs(topic, attribute, ...)

Arguments

topic

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

...

Additional arguments passed to snsHTTP.

attribute

A named, single-element list containing a topic attribute. Name must be either “Policy”, “DeliveryPolicy”, or “DisplayName”.

Value

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.

Details

get_topic_attrs retrieves topic attributes, while set_topic_attrs can be used to set those attributes.

References

GetTopicAttributes SetTopicAttributes