Sha256: 1bdb9d2a71ab3a778e20f89cf920ede747afbbc4a236d619b9a75588fd6959b4

Contents?: true

Size: 1.39 KB

Versions: 98

Compression:

Stored size: 1.39 KB

Contents

module Fog
  module AWS
    class ElasticBeanstalk
      class Real
        require 'fog/aws/parsers/beanstalk/update_configuration_template'

        # 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 update_configuration_template(options={})
          if option_settings = options.delete('OptionSettings')
            options.merge!(AWS.indexed_param('OptionSettings.member.%d', [*option_settings]))
          end
          if options_to_remove = options.delete('OptionsToRemove')
            options.merge!(AWS.indexed_param('OptionsToRemove.member.%d', [*options_to_remove]))
          end
          request({
                      'Operation'    => 'UpdateConfigurationTemplate',
                      :parser     => Fog::Parsers::AWS::ElasticBeanstalk::UpdateConfigurationTemplate.new
                  }.merge(options))
        end
      end
    end
  end
end

Version data entries

98 entries across 96 versions & 6 rubygems

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