Sha256: eb8b8157ae67eabeff4192eab830dd64b5b242580ed4c8323555d4397b16226f

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

module Fog
  module AWS
    class ElasticBeanstalk
      class Real

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

        # Terminates the specified environment.
        #
        # ==== Options
        # * EnvironmentId<~String>: The ID of the environment to terminate.
        # * EnvironmentName<~String>: The name of the environment to terminate.
        # * TerminateResources<~Boolean>: Indicates whether the associated AWS resources should shut down when the
        #     environment is terminated
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/elasticbeanstalk/latest/api/API_TerminateEnvironment.html
        #
        def terminate_environment(options={})
          request({
                      'Operation'    => 'TerminateEnvironment',
                      :parser     => Fog::Parsers::AWS::ElasticBeanstalk::TerminateEnvironment.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/terminate_environment.rb