Sha256: 19a057607efd15d3b6549c23b830e3e02b5255dcf7283a3744340abf06369ee1

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

module Fog
  module AWS
    class ElasticBeanstalk
      class Real

        require 'rackspace-fog/aws/parsers/beanstalk/validate_configuration_settings'

        # Updates the specified configuration template to have the specified properties or configuration option values.
        #
        # ==== Options
        # * ApplicationName<~String>: If specified, AWS Elastic Beanstalk restricts the returned descriptions
        #   to include only those that are associated with this application.
        # * VersionLabel<~String>:
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/elasticbeanstalk/latest/api/API_CreateConfigurationTemplate.html
        #
        def validate_configuration_settings(options={})
          if option_settings = options.delete('OptionSettings')
            options.merge!(AWS.indexed_param('OptionSettings.member.%d', [*option_settings]))
          end
          request({
                      'Operation'    => 'ValidateConfigurationSettings',
                      :parser     => Fog::Parsers::AWS::ElasticBeanstalk::ValidateConfigurationSettings.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/beanstalk/validate_configuration_settings.rb