Sha256: e4bf88dca1d0d4768aaf324db4a992006bf479da7596c93b2321fd6ee1c67308

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

module Fog
  module AWS
    class CloudFormation
      class Real

        require 'rackspace-fog/aws/parsers/cloud_formation/describe_stacks'

        # Describe stacks
        #
        # ==== Parameters
        # * options<~Hash>:
        #   * 'StackName'<~String>: name of the stack to describe
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'Stacks'<~Array> - Matching stacks
        #       * stack<~Hash>:
        #         * 'StackName'<~String> -
        #         * 'StackId'<~String> -
        #         * 'CreationTime'<~String> -
        #         * 'StackStatus'<~String> -
        #         * 'DisableRollback'<~String> -
        #         * 'Outputs'<~Array> -
        #           * output<~Hash>:
        #             * 'OutputKey'<~String> -
        #             * 'OutputValue'<~String> -
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_DescribeStacks.html
        #
        def describe_stacks(options = {})
          request({
            'Action'    => 'DescribeStacks',
            :parser     => Fog::Parsers::AWS::CloudFormation::DescribeStacks.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/cloud_formation/describe_stacks.rb