get_topic_attrs: Get/set topic attributes

View source: R/topic.r

get_topic_attrsR Documentation

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

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


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