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.22.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.21.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.20.0.20140305101839 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.20.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-1.19.0 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/aws/requests/beanstalk/describe_application_versions.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/aws/requests/beanstalk/describe_application_versions.rb