    # File lib/fog/aws/models/compute/security_group.rb, line 199
            def revoke_port_range(range, options = {})
              requires_one :name, :group_id

              ip_permission = {
                'FromPort'   => range.min,
                'ToPort'     => range.max,
                'IpProtocol' => options[:ip_protocol] || 'tcp'
              }

              if options[:group].nil?
                ip_permission['IpRanges'] = [
                  { 'CidrIp' => options[:cidr_ip] || '0.0.0.0/0' }
                ]
              else
                ip_permission['Groups'] = [
                  group_info(options[:group])
                ]
              end

              service.revoke_security_group_ingress(
                name,
                'GroupId'       => group_id,
                'IpPermissions' => [ ip_permission ]
              )
            end