get_topic_attrs: Get/set topic attributes

Description Usage Arguments Details Value Author(s) References

View source: R/topic.R

Description

Get or set topic attributes

Usage

1
2
3
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”.

Details

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

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.

Author(s)

Thomas J. Leeper

References

GetTopicAttributes SetTopicAttributes


aws.sns documentation built on May 2, 2019, 9:31 a.m.