Sha256: e27cd024152439cf90044d059e2a3d8a916ec276f98a7c70d99f4e595ad3d26a

Contents?: true

Size: 588 Bytes

Versions: 107

Compression:

Stored size: 588 Bytes

Contents

module Fog
  module AWS
    class SNS
      class Real

        require 'fog/aws/parsers/sns/create_topic'

        # Create a topic
        #
        # ==== Parameters
        # * name<~String> - Name of topic to create
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/sns/latest/api/API_CreateTopic.html
        #

        def create_topic(name)
          request({
            'Action'  => 'CreateTopic',
            'Name'    => name,
            :parser   => Fog::Parsers::AWS::SNS::CreateTopic.new
          })
        end

      end

    end
  end
end

Version data entries

107 entries across 107 versions & 17 rubygems

Version Path
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/create_topic.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/create_topic.rb
fog-1.0.0 lib/fog/aws/requests/sns/create_topic.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/create_topic.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sns/create_topic.rb
fog-0.11.0 lib/fog/aws/requests/sns/create_topic.rb
fog-0.10.0 lib/fog/aws/requests/sns/create_topic.rb