Sha256: 9d7e592d33c2ea3dd989e428b11bd1d5621607ea82b9485fd2481575a87b99e5
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
module Fog module AWS class ElasticBeanstalk class Real require 'rackspace-fog/aws/parsers/beanstalk/describe_environments' # Returns descriptions for existing environments. # # ==== 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_DescribeEnvironments.html # def describe_environments(options={}) if environment_ids = options.delete('EnvironmentIds') options.merge!(AWS.indexed_param('EnvironmentIds.member.%d', [*environment_ids])) end if environment_names = options.delete('EnvironmentNames') options.merge!(AWS.indexed_param('EnvironmentNames.member.%d', [*environment_names])) end request({ 'Operation' => 'DescribeEnvironments', :parser => Fog::Parsers::AWS::ElasticBeanstalk::DescribeEnvironments.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/describe_environments.rb |