Sha256: fa08212ed82ca82f99602ee0d395baa186533cee6446cc84047db50776b48c33

Contents?: true

Size: 652 Bytes

Versions: 2

Compression:

Stored size: 652 Bytes

Contents

module Fog
  module AWS
    class CloudFormation
      class Real

        require 'fog/aws/parsers/cloud_formation/basic'

        # Delete a stack.
        #
        # @param stack_name String] Name of the stack to create.
        #
        # @return [Excon::Response]
        #
        # @see http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_DeleteStack.html

        def delete_stack(stack_name)
          request(
            'Action'    => 'DeleteStack',
            'StackName' => stack_name,
            :parser     => Fog::Parsers::AWS::CloudFormation::Basic.new
          )
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-1.22.0 lib/fog/aws/requests/cloud_formation/delete_stack.rb
fog-1.21.0 lib/fog/aws/requests/cloud_formation/delete_stack.rb