Sha256: d97de0adbe93c4b031ddf305f38e9c58c8df550e2874f2eb75a6982d3ff29270

Contents?: true

Size: 1.29 KB

Versions: 83

Compression:

Stored size: 1.29 KB

Contents

module Fog
  module AWS
    class ElasticBeanstalk
      class Real

        require 'fog/aws/parsers/beanstalk/describe_application_versions'

        # Returns descriptions for existing application versions.
        #
        # ==== Options
        # * ApplicationName<~String>: If specified, AWS Elastic Beanstalk restricts the returned descriptions to
        #     only include ones that are associated with the specified application.
        # * VersionLabels<~Array>: If specified, restricts the returned descriptions to only include ones that have
        #     the specified version labels.
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/elasticbeanstalk/latest/api/API_DescribeApplicationVersions.html
        #
        def describe_application_versions(options={})
          if version_labels = options.delete('VersionLabels')
            options.merge!(AWS.indexed_param('VersionLabels.member.%d', [*version_labels]))
          end
          request({
                      'Operation'    => 'DescribeApplicationVersions',
                      :parser     => Fog::Parsers::AWS::ElasticBeanstalk::DescribeApplicationVersions.new
                  }.merge(options))
        end
      end
    end
  end
end

Version data entries

83 entries across 83 versions & 13 rubygems

Version Path
fog-1.10.1 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-parser-fix-1.6.1 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-test-again-1.6.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-test-me-1.10.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-parser-fix-1.6.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.10.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.9.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-sgonyea-1.8.1 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.8.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.7.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.6.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.5.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.4.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
michiels-fog-1.3.1 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/requests/beanstalk/describe_application_versions.rb