Sha256: 0904fdac15dd3f3d50af3826244c0c39179b515b393f1362cbaa6aeb8a8f9b36

Contents?: true

Size: 778 Bytes

Versions: 1

Compression:

Stored size: 778 Bytes

Contents

module Fog
  module AWS
    class ElasticBeanstalk
      class Real

        require 'rackspace-fog/aws/parsers/beanstalk/empty'

        # Swaps the CNAMEs of two environments.
        #
        # ==== Options
        # * EnvironmentId
        # * EnvironmentName
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/elasticbeanstalk/latest/api/API_SwapEnvironmentCNAMEs.html
        #
        def swap_environment_cnames(options={})
          request({
                      'Operation'    => 'SwapEnvironmentCNAMEs',
                      :parser     => Fog::Parsers::AWS::ElasticBeanstalk::Empty.new
                  }.merge(options))
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace-fog-1.4.2 lib/rackspace-fog/aws/requests/beanstalk/swap_environment_cnames.rb