Sha256: 9ce3208b7070ebfc617ce6cbef24422bee93dbdcf6f2cc797c5302753aeb4287

Contents?: true

Size: 1.63 KB

Versions: 31

Compression:

Stored size: 1.63 KB

Contents

module Fog
  module AWS
    class ELBV2
      class Real
        require 'fog/aws/parsers/elbv2/describe_listeners'

        # Describe all or specified load balancers
        #
        # ==== Parameters
        # * 'LoadBalancerArn'<~String> - The Amazon Resource Name (ARN) of the load balancer
        # * options<~Hash>
        #   * 'Marker'<String> - Indicates where to begin in your list of load balancers
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'ResponseMetadata'<~Hash>:
        #       * 'RequestId'<~String> - Id of request
        #     * 'DescribeListenersResult'<~Hash>:
        #       * 'Listeners'<~Array>
        #         * 'LoadBalancerArn'<~String> - The Amazon Resource Name (ARN) of the load balancer
        #         * 'Protocol'<~String> - The protocol for connections from clients to the load balancer
        #         * 'Port'<~String> - The port on which the load balancer is listening
        #         * 'DefaultActions'<~Array> - The default actions for the listener
        #           * 'Type'<~String> - The type of action
        #           * 'TargetGroupArn'<~String> - The Amazon Resource Name (ARN) of the target group. Specify only when Type is forward
        #       * 'NextMarker'<~String> - Marker to specify for next page
        def describe_listeners(load_balancer_arn, options = {})
          request({
            'Action'  => 'DescribeListeners',
            'LoadBalancerArn' => load_balancer_arn,
            :parser   => Fog::Parsers::AWS::ELBV2::DescribeListeners.new
          }.merge!(options))
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

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