Sha256: ed1f1b3bae6ea83f3ecdbabc960e5f39093d8a045ae18028149fe5b48da14f4c

Contents?: true

Size: 781 Bytes

Versions: 97

Compression:

Stored size: 781 Bytes

Contents

module Fog
  module AWS
    class CloudFormation
      class Real
        require 'fog/aws/parsers/cloud_formation/get_template'

        # Describe stacks.
        #
        # @param stack_name [String] stack name to get template from
        #
        # @return [Excon::Response]
        #   * body [Hash]:
        #     * TemplateBody [String] - structure containing the template body (json)
        #
        # @see http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_GetTemplate.html

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

Version data entries

97 entries across 95 versions & 6 rubygems

Version Path
fog-aws-3.29.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.28.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.27.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.26.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.25.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.24.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.23.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.22.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.21.1 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.21.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.20.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.19.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.18.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.17.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.16.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.15.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.14.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.13.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.12.0 lib/fog/aws/requests/cloud_formation/get_template.rb
fog-aws-3.11.0 lib/fog/aws/requests/cloud_formation/get_template.rb