2014-12-30 17:25:09 -05:00
|
|
|
module Fog
|
|
|
|
module AWS
|
|
|
|
class CloudFormation
|
|
|
|
class Real
|
|
|
|
require 'fog/aws/parsers/cloud_formation/describe_stacks'
|
|
|
|
|
|
|
|
# Describe stacks.
|
|
|
|
#
|
|
|
|
# @param options [Hash]
|
|
|
|
# @option options StackName [String] Name of the stack to describe.
|
|
|
|
#
|
|
|
|
# @return [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] -
|
|
|
|
#
|
2015-01-02 12:34:40 -05:00
|
|
|
# @see http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_DescribeStacks.html
|
2014-12-30 17:25:09 -05:00
|
|
|
|
|
|
|
def describe_stacks(options = {})
|
|
|
|
request({
|
|
|
|
'Action' => 'DescribeStacks',
|
|
|
|
:parser => Fog::Parsers::AWS::CloudFormation::DescribeStacks.new
|
|
|
|
}.merge!(options))
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|