Sha256: 96c0b0d9b789908dfc87787180d49fd565117d9c42a40cbaa186531e3a5229b0

Contents?: true

Size: 865 Bytes

Versions: 6

Compression:

Stored size: 865 Bytes

Contents

module Fog
  module AWS
    class ELB
      class Real

        require 'fog/aws/parsers/elb/empty'

        # Delete a Load Balancer Stickiness Policy
        #
        # ==== Parameters
        # * lb_name<~String> - Name of the ELB
        # * policy_name<~String> - The name of the policy to delete
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'ResponseMetadata'<~Hash>:
        #       * 'RequestId'<~String> - Id of request
        def delete_load_balancer_policy(lb_name, policy_name)
          params = {'PolicyName' => policy_name}

          request({
            'Action'           => 'DeleteLoadBalancerPolicy',
            'LoadBalancerName' => lb_name,
            :parser            => Fog::Parsers::AWS::ELB::Empty.new
          }.merge!(params))
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
fog4encbs-0.9.0.1 lib/fog/aws/requests/elb/delete_load_balancer_policy.rb
fog4encbs-0.9.0 lib/fog/aws/requests/elb/delete_load_balancer_policy.rb
fog-0.9.0 lib/fog/aws/requests/elb/delete_load_balancer_policy.rb
fog-0.8.2 lib/fog/aws/requests/elb/delete_load_balancer_policy.rb
fog-0.8.1 lib/fog/aws/requests/elb/delete_load_balancer_policy.rb
fog-0.8.0 lib/fog/aws/requests/elb/delete_load_balancer_policy.rb