Sha256: 3b8ded8cdef01a0e09ce1fb67408a0e5df0a6431cd5d3c8f0addfd6a253a51ec
Contents?: true
Size: 961 Bytes
Versions: 16
Compression:
Stored size: 961 Bytes
Contents
module Fog module AWS class SNS class Real require 'fog/aws/parsers/sns/set_topic_attributes' # Set attributes of a topic # # ==== Parameters # * arn<~Hash> - The Arn of the topic to get attributes for # * attribute_name<~String> - Name of attribute to set, in ['DisplayName', 'Policy'] # * attribute_value<~String> - Value to set attribute to # # ==== See Also # http://docs.amazonwebservices.com/sns/latest/api/API_SetTopicAttributes.html # def set_topic_attributes(arn, attribute_name, attribute_value) request({ 'Action' => 'SetTopicAttributes', 'AttributeName' => attribute_name, 'AttributeValue' => attribute_value, 'TopicArn' => arn.strip, :parser => Fog::Parsers::AWS::SNS::SetTopicAttributes.new }) end end end end end
Version data entries
16 entries across 16 versions & 4 rubygems