Sha256: fc62bfd0e7c70d93af5b38851081bc011a88bb1fb48fc8771cba04f906d7279e

Contents?: true

Size: 908 Bytes

Versions: 1

Compression:

Stored size: 908 Bytes

Contents

module Fog
  module AWS
    class ElasticBeanstalk
      class Real

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

        # Deletes the specified application along with all associated versions and configurations.
        #
        # ==== Options
        # * application_name<~String>: The name of the application to delete.
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/elasticbeanstalk/latest/api/API_DeleteApplication.html
        #
        def delete_application(application_name)
          options = { 'ApplicationName' => application_name }
          request({
                      'Operation'    => 'DeleteApplication',
                      :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/delete_application.rb