Sha256: cd8cd4e59f794d1d617ef29917039d1c56c6430a2b8a0fa0c2172c77cb26f294

Contents?: true

Size: 886 Bytes

Versions: 83

Compression:

Stored size: 886 Bytes

Contents

module Fog
  module AWS
    class ElasticBeanstalk
      class Real

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

        # Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.)
        # for a specified environment and forces a restart.
        #
        # ==== Options
        # * EnvironmentId
        # * EnvironmentName
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/elasticbeanstalk/latest/api/API_RebuildEnvironment.html
        #
        def rebuild_environment(options={})
          request({
                      'Operation'    => 'RebuildEnvironment',
                      :parser     => Fog::Parsers::AWS::ElasticBeanstalk::Empty.new
                  }.merge(options))
        end
      end
    end
  end
end

Version data entries

83 entries across 83 versions & 13 rubygems

Version Path
fog-1.3.1 lib/fog/aws/requests/beanstalk/rebuild_environment.rb
fog-1.3.0 lib/fog/aws/requests/beanstalk/rebuild_environment.rb
fog-1.2.0 lib/fog/aws/requests/beanstalk/rebuild_environment.rb