Sha256: 3feb752b897aaf49e623871c1e9b72bc2636cc375f1022f283ee572e9a006682

Contents?: true

Size: 948 Bytes

Versions: 5

Compression:

Stored size: 948 Bytes

Contents

module Fog
  module AWS
    class CloudFormation
      class Real

        require 'fog/aws/parsers/cloud_formation/validate_template'

        # Describe stacks.
        #
        # @para options [Hash]
        # @option options TemplateBody [String] template structure
        # @option options TemplateURL [String] template url
        #
        # @return [Excon::Response]
        #   * body [Hash]:
        #     * Description [String] - description found within the template
        #     * Parameters [String] - list of template parameter structures
        #
        # http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_ValidateTemplate.html
        
        def validate_template(options = {})
          request({
            'Action'    => 'ValidateTemplate',
            :parser     => Fog::Parsers::AWS::CloudFormation::ValidateTemplate.new
          }.merge!(options))
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
hpfog-0.0.20 lib/fog/aws/requests/cloud_formation/validate_template.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/cloud_formation/validate_template.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/cloud_formation/validate_template.rb
fog-1.10.1 lib/fog/aws/requests/cloud_formation/validate_template.rb
fog-test-me-1.10.0 lib/fog/aws/requests/cloud_formation/validate_template.rb