Sha256: 00f51f67a3f14ffc36bfe534637a4c9dd4651e9a6efb03af48208ae93744c2ee
Contents?: true
Size: 1.58 KB
Versions: 97
Compression:
Stored size: 1.58 KB
Contents
module Fog module AWS class ElasticBeanstalk class Real require 'fog/aws/parsers/beanstalk/update_environment' # Updates the environment description, deploys a new application version, updates the configuration settings # to an entirely new configuration template, or updates select configuration option values in # the running environment. # # ==== Options # * ApplicationName<~String>: If specified, AWS Elastic Beanstalk restricts the returned descriptions # to include only those that are associated with this application. # * EnvironmentIds # * EnvironmentNames # * IncludeDeleted # * IncludedDeletedBackTo # * VersionLabel<~String>: # # ==== Returns # * response<~Excon::Response>: # # ==== See Also # http://docs.amazonwebservices.com/elasticbeanstalk/latest/api/API_CreateEnvironment.html # def update_environment(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' => 'UpdateEnvironment', :parser => Fog::Parsers::AWS::ElasticBeanstalk::UpdateEnvironment.new }.merge(options)) end end end end end
Version data entries
97 entries across 95 versions & 6 rubygems