Sha256: 64bb03f52b93a6c9537f23a5da6f557cdfe36571d7e468b46d279658817711e7

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

module Fog
  module AWS
    class CloudFormation
      class Real

        require 'fog/aws/parsers/cloud_formation/list_stacks'

        # List stacks.
        #
        # @param options [Hash]
        #
        # @return [Excon::Response]
        #   * body [Hash]:
        #     * StackSummaries [Array] - Matching stacks
        #       * stack [Hash]:
        #         * StackId [String] -
        #         * StackName [String] -
        #         * TemplateDescription [String] -
        #         * CreationTime [Time] -
        #         * DeletionTime [Time] -
        #         * StackStatus [String] -
        #         * DeletionTime [String] -
        #
        #
        # @see http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStacks.html

        def list_stacks(options = {})
          request({
            'Action'    => 'ListStacks',
            :parser     => Fog::Parsers::AWS::CloudFormation::ListStacks.new
          }.merge!(options))
        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/list_stacks.rb
fog-1.21.0 lib/fog/aws/requests/cloud_formation/list_stacks.rb